public class KeyFactorySpi extends BaseKeyFactorySpi
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyFactorySpi.PSS
KeyFactory for the "RSASSA-PSS" algorithm.
|
| Modifier | Constructor and Description |
|---|---|
|
KeyFactorySpi() |
protected |
KeyFactorySpi(AlgorithmIdentifier algorithmIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
protected java.security.PrivateKey |
engineGeneratePrivate(java.security.spec.KeySpec keySpec) |
protected java.security.PublicKey |
engineGeneratePublic(java.security.spec.KeySpec keySpec) |
protected java.security.spec.KeySpec |
engineGetKeySpec(java.security.Key key,
java.lang.Class spec) |
protected java.security.Key |
engineTranslateKey(java.security.Key key) |
java.security.PrivateKey |
generatePrivate(PrivateKeyInfo keyInfo) |
java.security.PublicKey |
generatePublic(SubjectPublicKeyInfo keyInfo) |
public KeyFactorySpi()
protected KeyFactorySpi(AlgorithmIdentifier algorithmIdentifier)
algorithmIdentifier - the AlgorithmIdentifier to stamp on keys built from raw
RSAPublicKeySpec / RSAPrivateKeySpec /
RSAPrivateCrtKeySpec parameters, or null for the
default rsaEncryption identifier.protected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class spec)
throws java.security.spec.InvalidKeySpecException
engineGetKeySpec in class BaseKeyFactorySpijava.security.spec.InvalidKeySpecExceptionprotected java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
engineTranslateKey in class java.security.KeyFactorySpijava.security.InvalidKeyExceptionprotected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
engineGeneratePrivate in class BaseKeyFactorySpijava.security.spec.InvalidKeySpecExceptionprotected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
engineGeneratePublic in class BaseKeyFactorySpijava.security.spec.InvalidKeySpecExceptionpublic java.security.PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOException