public class KeyFactory extends JDKKeyFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyFactory.EC |
static class |
KeyFactory.ECDH |
static class |
KeyFactory.ECDHC |
static class |
KeyFactory.ECDSA |
static class |
KeyFactory.ECGOST3410 |
static class |
KeyFactory.ECMQV |
JDKKeyFactory.DH, JDKKeyFactory.DSA, JDKKeyFactory.ElGamal, JDKKeyFactory.GOST3410, JDKKeyFactory.RSA, JDKKeyFactory.X509elGamalFactory| 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) |
createPrivateKeyFromDERStream, createPublicKeyFromDERStreamprotected java.security.Key engineTranslateKey(java.security.Key key)
throws java.security.InvalidKeyException
engineTranslateKey in class JDKKeyFactoryjava.security.InvalidKeyExceptionprotected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key,
java.lang.Class spec)
throws java.security.spec.InvalidKeySpecException
engineGetKeySpec in class JDKKeyFactoryjava.security.spec.InvalidKeySpecExceptionprotected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
engineGeneratePrivate in class JDKKeyFactoryjava.security.spec.InvalidKeySpecExceptionprotected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
engineGeneratePublic in class JDKKeyFactoryjava.security.spec.InvalidKeySpecException