public class KeyFactorySpi extends BaseKeyFactorySpi
| Constructor and Description |
|---|
KeyFactorySpi() |
| 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) |
PrivateKey |
generatePrivate(PrivateKeyInfo keyInfo) |
PublicKey |
generatePublic(SubjectPublicKeyInfo keyInfo) |
protected KeySpec engineGetKeySpec(Key key, Class spec) throws InvalidKeySpecException
engineGetKeySpec in class BaseKeyFactorySpiInvalidKeySpecExceptionprotected Key engineTranslateKey(Key key) throws InvalidKeyException
engineTranslateKey in class KeyFactorySpiInvalidKeyExceptionprotected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePrivate in class BaseKeyFactorySpiInvalidKeySpecExceptionprotected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePublic in class BaseKeyFactorySpiInvalidKeySpecExceptionpublic PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException
IOExceptionpublic PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException
IOExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.