|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.pki.KeyBundleFactory
A class for generating a KeyBundle
Constructor Summary | |
protected |
KeyBundleFactory(KeyBundleFactorySpi builderSpi,
java.security.Provider provider,
java.lang.String format)
Create a new KeyBundleFactory object containing the given SPI object. |
Method Summary | |
KeyBundle |
generateEmptyKeyBundle()
Generates a new empty KeyBundle. |
KeyBundle |
generateKeyBundle(java.io.InputStream in)
Generates a KeyBundle from an input stream. |
java.util.Collection |
generateKeyBundles(java.io.InputStream in)
Generates a (possible empty) collection of keybundles from an input stream. |
java.lang.String |
getFormat()
Returns the name of the format of this object. |
static KeyBundleFactory |
getInstance(java.lang.String format)
Returns a KeyBundleFactory that implements the given format. |
static KeyBundleFactory |
getInstance(java.lang.String format,
java.security.Provider provider)
Returns a KeyBundleFactory from the given provider that implements the given format. |
static KeyBundleFactory |
getInstance(java.lang.String format,
java.lang.String provider)
Returns a KeyBundleFactory 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 KeyBundleFactory(KeyBundleFactorySpi builderSpi, java.security.Provider provider, java.lang.String format)
Method Detail |
public static KeyBundleFactory getInstance(java.lang.String format) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public static KeyBundleFactory getInstance(java.lang.String format, java.lang.String provider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
public static KeyBundleFactory getInstance(java.lang.String format, java.security.Provider provider) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
public final java.security.Provider getProvider()
public final java.lang.String getFormat()
public final java.util.Collection generateKeyBundles(java.io.InputStream in) throws KeyBundleException, java.io.IOException
Note: the entire inputstream will be read when the inputstream does not support the mark() and reset() methods.
KeyBundleException
- on a variety of format specific problems.
java.io.IOException
public final KeyBundle generateKeyBundle(java.io.InputStream in) throws KeyBundleException, java.io.IOException
Note: the entire inputstream will be read when the inputstream does not support the mark() and reset() methods.
KeyBundleException
- on a variety of format specific problems.
java.io.IOException
public final KeyBundle generateEmptyKeyBundle() throws KeyBundleException
KeyBundleException
- on a variety of format specific problems.
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |