gnu.crypto.sig

Class SignatureFactory


public class SignatureFactory
extends java.lang.Object

A Factory to instantiate signature-with-appendix handlers.

Version:
$Revision: 1.4 $

Method Summary

static ISignature
getInstance(String ssa)
Returns an instance of a signature-with-appendix scheme given its name.
static Set
getNames()
Returns a Set of signature-with-appendix scheme names supported by this Factory.

Method Details

getInstance

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

Parameters:
ssa - the case-insensitive signature-with-appendix scheme name.

Returns:
an instance of the scheme, or null if none found.


getNames

public static final 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).


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