public class KeyFactory extends KeyFactorySpi
Constructor and Description |
---|
KeyFactory() |
Modifier and Type | Method and Description |
---|---|
protected PrivateKey |
engineGeneratePrivate(KeySpec keySpec) |
protected PublicKey |
engineGeneratePublic(KeySpec keySpec) |
protected KeySpec |
engineGetKeySpec(Key key,
Class keySpec) |
protected Key |
engineTranslateKey(Key key) |
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePrivate
in class KeyFactorySpi
InvalidKeySpecException
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException
engineGeneratePublic
in class KeyFactorySpi
InvalidKeySpecException
protected KeySpec engineGetKeySpec(Key key, Class keySpec) throws InvalidKeySpecException
engineGetKeySpec
in class KeyFactorySpi
InvalidKeySpecException
protected Key engineTranslateKey(Key key) throws InvalidKeyException
engineTranslateKey
in class KeyFactorySpi
InvalidKeyException
Copyright © 2016 BouncyCastle.org. All rights reserved.