jsdsi.util
Class SignatureEnum

java.lang.Object
  extended byjsdsi.util.AlgorithmEnum
      extended byjsdsi.util.SignatureEnum

public class SignatureEnum
extends AlgorithmEnum

Experimental class and as such may be removed without warning.

Enum class for Signature algorythms.

Version:
$Revision: 1.5 $ $Date: 2004/06/09 16:34:41 $
Author:
Sean Radford

Constructor Summary
protected SignatureEnum(DigestEnum digest, KeyEnum key)
           
 
Method Summary
static SignatureEnum create(DigestEnum digest, KeyEnum key)
          Create a SignatureEnum
static SignatureEnum fromJdk(java.lang.String jdkName)
          Given a JDK name for a Signature algorythm, return its SignatureEnum
static SignatureEnum fromSpki(java.lang.String spkiName)
          Given a SPKI name for a Signature algorythm, return its SignatureEnum
 DigestEnum getDigestEnum()
          Return the DigestEnum for this SignatureEnum
 KeyEnum getKeyEnum()
          Return the KeyEnum for this SignatureEnum
 
Methods inherited from class jsdsi.util.AlgorithmEnum
jdkName, spkiName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureEnum

protected SignatureEnum(DigestEnum digest,
                        KeyEnum key)
Method Detail

getDigestEnum

public DigestEnum getDigestEnum()
Return the DigestEnum for this SignatureEnum

Returns:
the DigestEnum

getKeyEnum

public KeyEnum getKeyEnum()
Return the KeyEnum for this SignatureEnum

Returns:
the KeyEnum

create

public static SignatureEnum create(DigestEnum digest,
                                   KeyEnum key)
Create a SignatureEnum

Parameters:
digest - the DigestEnum
key - the KeyEnum
Returns:
the SignatureEnum

fromJdk

public static SignatureEnum fromJdk(java.lang.String jdkName)
Given a JDK name for a Signature algorythm, return its SignatureEnum

Parameters:
jdkName - JDK name
Returns:
the SignatureEnum

fromSpki

public static SignatureEnum fromSpki(java.lang.String spkiName)
Given a SPKI name for a Signature algorythm, return its SignatureEnum

Parameters:
spkiName - SPKI name
Returns:
the SignatureEnum


Copyright © 2002-2004 M.I.T. All Rights Reserved.