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 BaseKeyFactorySpi
InvalidKeySpecException
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePublic
in class BaseKeyFactorySpi
InvalidKeySpecException
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 info) throws IOException
IOException
public PublicKey generatePublic(SubjectPublicKeyInfo info) throws IOException
IOException
Copyright © 2016 BouncyCastle.org. All rights reserved.