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 BaseKeyFactorySpi
InvalidKeySpecException
protected Key engineTranslateKey(Key key) throws InvalidKeyException
engineTranslateKey
in class KeyFactorySpi
InvalidKeyException
public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) throws IOException
IOException
public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) throws IOException
IOException
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePrivate
in class BaseKeyFactorySpi
InvalidKeySpecException
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePublic
in class BaseKeyFactorySpi
InvalidKeySpecException
Copyright © 2020 BouncyCastle.org. All rights reserved.