Class ECKeyFactory
- java.lang.Object
-
- java.security.KeyFactorySpi
-
- com.fortanix.sdkms.jce.provider.keys.asym.elliptic.ECKeyFactory
-
public class ECKeyFactory extends KeyFactorySpi
-
-
Constructor Summary
Constructors Constructor Description ECKeyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrivateKey
engineGeneratePrivate(KeySpec keySpec)
protected PublicKey
engineGeneratePublic(KeySpec keySpec)
protected <T extends KeySpec>
TengineGetKeySpec(Key key, Class<T> keySpec)
protected Key
engineTranslateKey(Key key)
-
-
-
Method Detail
-
engineGeneratePublic
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
- Specified by:
engineGeneratePublic
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGeneratePrivate
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException
- Specified by:
engineGeneratePrivate
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineGetKeySpec
protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException
- Specified by:
engineGetKeySpec
in classKeyFactorySpi
- Throws:
InvalidKeySpecException
-
engineTranslateKey
protected Key engineTranslateKey(Key key) throws InvalidKeyException
- Specified by:
engineTranslateKey
in classKeyFactorySpi
- Throws:
InvalidKeyException
-
-