|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.pki.KeyIDFactory
A class for generating a KeyID
Constructor Summary | |
protected |
KeyIDFactory(KeyIDFactorySpi builderSpi,
java.security.Provider provider,
java.lang.String format)
Create a new KeyIDFactory object containing the given SPI object. |
Method Summary | |
KeyID |
generateKeyID(java.security.Key key)
Generates a KeyID from a key. |
java.lang.String |
getFormat()
Returns the name of the format of this object. |
static KeyIDFactory |
getInstance(java.lang.String format)
Returns a KeyIDFactory that implements the given format. |
static KeyIDFactory |
getInstance(java.lang.String format,
java.security.Provider provider)
Returns a KeyIDFactory from the given provider that implements the given format. |
static KeyIDFactory |
getInstance(java.lang.String format,
java.lang.String provider)
Returns a KeyIDFactory from the given provider that implements the given format. |
java.security.Provider |
getProvider()
Returns the provider of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected KeyIDFactory(KeyIDFactorySpi builderSpi, java.security.Provider provider, java.lang.String format)
Method Detail |
public static KeyIDFactory getInstance(java.lang.String format) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public static KeyIDFactory getInstance(java.lang.String format, java.lang.String provider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public static KeyIDFactory getInstance(java.lang.String format, java.security.Provider provider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public final java.security.Provider getProvider()
public final java.lang.String getFormat()
public final KeyID generateKeyID(java.security.Key key) throws java.security.InvalidKeyException
java.security.InvalidKeyException
- if the given key is not of the right type
to produce a KeyID.
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |