For the latest news and information visit
The GNU Crypto project

gnu.crypto.sig
Class SignatureFactory

java.lang.Object
  |
  +--gnu.crypto.sig.SignatureFactory
All Implemented Interfaces:
Registry

public class SignatureFactory
extends java.lang.Object
implements Registry

A Factory to instantiate signature-with-appendix handlers.

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from interface gnu.crypto.Registry
AES_CIPHER, ANUBIS_CIPHER, ARCFOUR_PRNG, BLOWFISH_CIPHER, CBC_MODE, CFB_MODE, CTR_MODE, DES_CIPHER, DESEDE_CIPHER, DSA_KPG, DSA_SIG, DSS_KPG, DSS_SIG, ECB_MODE, GNU_CRYPTO, HMAC_NAME_PREFIX, ICM_MODE, ICM_PRNG, KHAZAD_CIPHER, MAGIC_RAW_DSS_PRIVATE_KEY, MAGIC_RAW_DSS_PUBLIC_KEY, MAGIC_RAW_DSS_SIGNATURE, MAGIC_RAW_RSA_PRIVATE_KEY, MAGIC_RAW_RSA_PSS_SIGNATURE, MAGIC_RAW_RSA_PUBLIC_KEY, MD_PRNG, MD2_HASH, MD4_HASH, MD5_HASH, NULL_CIPHER, OFB_MODE, PKCS7_PAD, RAW_ENCODING_ID, RC4_PRNG, RIJNDAEL_CIPHER, RIPEMD_128_HASH, RIPEMD_160_HASH, RIPEMD128_HASH, RIPEMD160_HASH, RSA_KPG, RSA_PSS_SIG, SERPENT_CIPHER, SHA_1_HASH, SHA_HASH, SHA1_HASH, SHA160_HASH, SQUARE_CIPHER, TBC_PAD, TMMH16, TRIPLEDES_CIPHER, TWOFISH_CIPHER, UHASH32, UMAC_PRNG, UMAC32, WHIRLPOOL_HASH
 
Method Summary
static ISignature getInstance(java.lang.String scheme)
          Returns an instance of a signature-with-appendix scheme given its name.
static java.util.Set getNames()
          Returns a Set of signature-with-appendix scheme names supported by this Factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ISignature getInstance(java.lang.String scheme)
Returns an instance of a signature-with-appendix scheme given its name.

Parameters:
scheme - the case-insensitive signature-with-appendix scheme name.
Returns:
an instance of the signature-with-appendix scheme, or null if none found.

getNames

public static final java.util.Set getNames()
Returns a Set of signature-with-appendix scheme names supported by this Factory.

Returns:
a Set of signature-with-appendix scheme names (Strings).

For the latest news and information visit
The GNU Crypto project

Copyright ©2001, 2002 Free Software Foundation, Inc.. All Rights Reserved.