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 PrivateKey |
engineGeneratePrivate(KeySpec keySpec) |
protected PublicKey |
engineGeneratePublic(KeySpec keySpec) |
protected KeySpec |
engineGetKeySpec(Key key,
Class spec) |
protected Key |
engineTranslateKey(Key key) |
createPrivateKeyFromDERStream, createPublicKeyFromDERStreamprotected Key engineTranslateKey(Key key) throws InvalidKeyException
engineTranslateKey in class JDKKeyFactoryInvalidKeyExceptionprotected KeySpec engineGetKeySpec(Key key, Class spec) throws InvalidKeySpecException
engineGetKeySpec in class JDKKeyFactoryInvalidKeySpecExceptionprotected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePrivate in class JDKKeyFactoryInvalidKeySpecExceptionprotected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePublic in class JDKKeyFactoryInvalidKeySpecExceptionCopyright © 2015. All rights reserved.