Package org.conscrypt
Class OpenSSLRSAKeyFactory
java.lang.Object
java.security.KeyFactorySpi
org.conscrypt.OpenSSLRSAKeyFactory
An implementation of
KeyFactory which uses BoringSSL to perform all the
operations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PrivateKeyengineGeneratePrivate(KeySpec keySpec) protected PublicKeyengineGeneratePublic(KeySpec keySpec) protected <T extends KeySpec>
TengineGetKeySpec(Key key, Class<T> keySpec) protected KeyengineTranslateKey(Key key)
-
Constructor Details
-
OpenSSLRSAKeyFactory
public OpenSSLRSAKeyFactory()
-
-
Method Details
-
engineGeneratePublic
- Specified by:
engineGeneratePublicin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGeneratePrivate
- Specified by:
engineGeneratePrivatein classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineGetKeySpec
protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException - Specified by:
engineGetKeySpecin classKeyFactorySpi- Throws:
InvalidKeySpecException
-
engineTranslateKey
- Specified by:
engineTranslateKeyin classKeyFactorySpi- Throws:
InvalidKeyException
-