org.bouncycastle.jce.provider.asymmetric.ec
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.X509
elGamalFactory
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, createPublicKeyFromDERStream
protected java.security.Key engineTranslateKey(java.security.Key key) throws java.security.InvalidKeyException
engineTranslateKey
in class JDKKeyFactory
java.security.InvalidKeyException
protected java.security.spec.KeySpec engineGetKeySpec(java.security.Key key, java.lang.Class spec) throws java.security.spec.InvalidKeySpecException
engineGetKeySpec
in class JDKKeyFactory
java.security.spec.InvalidKeySpecException
protected java.security.PrivateKey engineGeneratePrivate(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGeneratePrivate
in class JDKKeyFactory
java.security.spec.InvalidKeySpecException
protected java.security.PublicKey engineGeneratePublic(java.security.spec.KeySpec keySpec) throws java.security.spec.InvalidKeySpecException
engineGeneratePublic
in class JDKKeyFactory
java.security.spec.InvalidKeySpecException