AsymmetricKeyInfoConverterKeyFactorySpi.EC, KeyFactorySpi.ECDH, KeyFactorySpi.ECDHC, KeyFactorySpi.ECDSA, KeyFactorySpi.ECGOST3410, KeyFactorySpi.ECGOST3410_2012, KeyFactorySpi.ECMQVpublic class KeyFactorySpi extends BaseKeyFactorySpi implements AsymmetricKeyInfoConverter
| Modifier and Type | Class | Description |
|---|---|---|
static class |
KeyFactorySpi.EC |
|
static class |
KeyFactorySpi.ECDH |
|
static class |
KeyFactorySpi.ECDHC |
|
static class |
KeyFactorySpi.ECDSA |
|
static class |
KeyFactorySpi.ECGOST3410 |
|
static class |
KeyFactorySpi.ECGOST3410_2012 |
|
static class |
KeyFactorySpi.ECMQV |
| Modifier and Type | Method | 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) |
protected java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
engineTranslateKey in class java.security.KeyFactorySpijava.security.InvalidKeyExceptionprotected 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.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
generatePrivate in interface AsymmetricKeyInfoConverterjava.io.IOExceptionpublic java.security.PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
generatePublic in interface AsymmetricKeyInfoConverterjava.io.IOException