gnu.crypto.pki.provider
Class EncodedKeyFactory
KeyFactorySpi
gnu.crypto.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
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.