jsdsi.util
Class Algorithms

java.lang.Object
  extended byjsdsi.util.Algorithms

public class Algorithms
extends java.lang.Object

Experimental class and as such may be removed without warning.

Utility class for Algorythm constants and names for both the JDK and SPKI.

Version:
$Revision: 1.7 $ $Date: 2004/11/08 12:08:08 $
Author:
Sean Radford

Field Summary
static java.lang.String JDK_CERTIFICATE_TYPE_SPKI
          The JDK type name for a SPKI Certificate
static java.lang.String JDK_CERTIFICATEFACTORY_SPKI_SEXP
          The JDK name for a CertificateFactory for generating SPKI Certificates from SExpressions
static java.lang.String JDK_CERTPATHBUILDER_SPKI
          The JDK name for the standard SPKI CertPathBuilder
static java.lang.String JDK_CERTPATHVALIDATOR_SPKI
          The JDK name for the standard SPKI CertPathValidatorr
static java.lang.String JDK_CERTSTORE_SPKI
          The JDK name for the standard SPKI CertStore
static java.lang.String JDK_CERTSTORE_SPKI_LDAP
          The JDK name for the LDAP SPKI CertStore
static java.lang.String JDK_KEYFACTORY_SEXP
          The JDK name for a KeyFactory for generating Keys from SExpressions
 
Method Summary
static java.lang.String jdkSignatureName(DigestAlgoEnum digest, KeyEnum key)
          Generates a Signature algorythm in JDK format
static java.lang.String spkiSignatureName(DigestAlgoEnum digest, KeyEnum key)
          Generates a Signature algorythm in SPKI format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDK_CERTIFICATE_TYPE_SPKI

public static final java.lang.String JDK_CERTIFICATE_TYPE_SPKI
The JDK type name for a SPKI Certificate

See Also:
Constant Field Values

JDK_CERTIFICATEFACTORY_SPKI_SEXP

public static final java.lang.String JDK_CERTIFICATEFACTORY_SPKI_SEXP
The JDK name for a CertificateFactory for generating SPKI Certificates from SExpressions

See Also:
Constant Field Values

JDK_KEYFACTORY_SEXP

public static final java.lang.String JDK_KEYFACTORY_SEXP
The JDK name for a KeyFactory for generating Keys from SExpressions

See Also:
Constant Field Values

JDK_CERTPATHBUILDER_SPKI

public static final java.lang.String JDK_CERTPATHBUILDER_SPKI
The JDK name for the standard SPKI CertPathBuilder

See Also:
Constant Field Values

JDK_CERTPATHVALIDATOR_SPKI

public static final java.lang.String JDK_CERTPATHVALIDATOR_SPKI
The JDK name for the standard SPKI CertPathValidatorr

See Also:
Constant Field Values

JDK_CERTSTORE_SPKI

public static final java.lang.String JDK_CERTSTORE_SPKI
The JDK name for the standard SPKI CertStore

See Also:
Constant Field Values

JDK_CERTSTORE_SPKI_LDAP

public static final java.lang.String JDK_CERTSTORE_SPKI_LDAP
The JDK name for the LDAP SPKI CertStore

See Also:
Constant Field Values
Method Detail

jdkSignatureName

public static java.lang.String jdkSignatureName(DigestAlgoEnum digest,
                                                KeyEnum key)
Generates a Signature algorythm in JDK format

Parameters:
digest - a DigestAlgoEnum
key - a KeyEnum
Returns:

spkiSignatureName

public static java.lang.String spkiSignatureName(DigestAlgoEnum digest,
                                                 KeyEnum key)
Generates a Signature algorythm in SPKI format

Parameters:
digest - a DigestAlgoEnum
key - a KeyEnum
Returns:


Copyright © 2002-2006 JSDSI. All Rights Reserved.