Class KeyFactorySpi
java.lang.Object
java.security.KeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.util.BaseKeyFactorySpi
org.bouncycastle.jcajce.provider.asymmetric.edec.KeyFactorySpi
- All Implemented Interfaces:
AsymmetricKeyInfoConverter
- Direct Known Subclasses:
KeyFactorySpi.Ed25519,KeyFactorySpi.Ed448,KeyFactorySpi.EdDSA,KeyFactorySpi.X25519,KeyFactorySpi.X448,KeyFactorySpi.XDH
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrivateKeyengineGeneratePrivate(KeySpec keySpec) protected PublicKeyengineGeneratePublic(KeySpec keySpec) protected KeySpecengineGetKeySpec(Key key, Class spec) protected KeyengineTranslateKey(Key key) generatePrivate(PrivateKeyInfo keyInfo) generatePublic(SubjectPublicKeyInfo keyInfo)
-
Constructor Details
-
KeyFactorySpi
-
-
Method Details
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-
engineGetKeySpec
- Overrides:
engineGetKeySpecin classBaseKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGeneratePrivate
- Overrides:
engineGeneratePrivatein classBaseKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGeneratePublic
- Overrides:
engineGeneratePublicin classBaseKeyFactorySpi- Throws:
InvalidKeySpecException
-
generatePrivate
- Specified by:
generatePrivatein interfaceAsymmetricKeyInfoConverter- Throws:
IOException
-
generatePublic
- Specified by:
generatePublicin interfaceAsymmetricKeyInfoConverter- Throws:
IOException
-