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