AsymmetricKeyInfoConverterpublic class KeyFactorySpi extends BaseKeyFactorySpi
| Constructor | Description |
|---|---|
KeyFactorySpi() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.security.PrivateKey |
engineGeneratePrivate(java.security.spec.KeySpec keySpec) |
|
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) |
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.InvalidKeySpecExceptionpublic 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