org.metastatic.jessie.pki.provider
Class EncodedKeyFactory
KeyFactorySpi
org.metastatic.jessie.pki.provider.EncodedKeyFactory
public class EncodedKeyFactory
extends KeyFactorySpi
A factory for keys encoded in either the X.509 format (for public
keys) or the PKCS#8 format (for private keys).
- Casey Marshall (rsdio@metastatic.org)
engineGeneratePrivate
public PrivateKey engineGeneratePrivate(KeySpec spec)
throws InvalidKeySpecException
engineGeneratePublic
public PublicKey engineGeneratePublic(KeySpec spec)
throws InvalidKeySpecException
engineGetKeySpec
public KeySpec engineGetKeySpec(Key key,
Class speClass)
throws InvalidKeySpecException
engineTranslateKey
public Key engineTranslateKey(Key key)
throws InvalidKeyException