Uses of Class
jsdsi.util.DigestAlgoEnum

Packages that use DigestAlgoEnum
jsdsi   
jsdsi.util   
 

Uses of DigestAlgoEnum in jsdsi
 

Methods in jsdsi that return DigestAlgoEnum
 DigestAlgoEnum Hash.getDigest()
           
 

Methods in jsdsi with parameters of type DigestAlgoEnum
static Hash Hash.create(DigestAlgoEnum a, byte[] d, java.net.URI[] u)
          Creates a new Hash using a given algorithm name, a value to hash, and an array of URIs.
static Hash Hash.create(DigestAlgoEnum a, java.io.InputStream is, java.net.URI[] u)
          Creates a new Hash of the data from the given InputStream, using the given algorithm
 PublicKeyHash PublicKey.publicKeyHash(DigestAlgoEnum da)
          Generate the corresponding PublicKeyHash for this PublicKey.
static Signature Signature.create(java.security.KeyPair kp, Obj o, DigestAlgoEnum a)
          Signs the given JSDSI Obj using the 'default' java.security.Provider.
static Signature Signature.create(java.security.KeyPair kp, byte[] bytes, DigestAlgoEnum a)
          Signs the given byte array using the 'default' java.security.Provider.
static Signature Signature.create(java.security.KeyPair kp, java.io.InputStream is, DigestAlgoEnum a)
          Signs the given byte array using the 'default' java.security.Provider.
static Signature Signature.create(java.security.KeyPair kp, Obj o, DigestAlgoEnum a, java.lang.String provider)
          Signs the given JSDSI Obj using the specified java.security.Provider.
static Signature Signature.create(java.security.KeyPair kp, byte[] bytes, DigestAlgoEnum a, java.lang.String provider)
          Signs the given byte array using the specified java.security.Provider.
static Signature Signature.create(java.security.KeyPair kp, java.io.InputStream is, DigestAlgoEnum digestEnum, java.lang.String provider)
          Signs the given byte array using the specified java.security.Provider.
 

Constructors in jsdsi with parameters of type DigestAlgoEnum
Hash(DigestAlgoEnum a, byte[] d, java.net.URI[] u)
          Creates a new Hash.
Hash(DigestAlgoEnum a, Obj o, java.net.URI[] u)
          Creates a new Hash.
 

Uses of DigestAlgoEnum in jsdsi.util
 

Fields in jsdsi.util declared as DigestAlgoEnum
static DigestAlgoEnum DigestAlgoEnum.MD2
          The MD2 message digest algorithm as defined in RFC 1319.
static DigestAlgoEnum DigestAlgoEnum.MD5
          The MD5 message digest algorithm as defined in RFC 1321.
static DigestAlgoEnum DigestAlgoEnum.SHA1
          The Secure Hash Algorithm, as defined in Secure Hash Standard, NIST FIPS 180-1.
static DigestAlgoEnum DigestAlgoEnum.SHA256
          256-bit hash function intended to provide 128 bits of security against collision attacks.
static DigestAlgoEnum DigestAlgoEnum.SHA384
          384 byte SHA
static DigestAlgoEnum DigestAlgoEnum.SHA512
          512-bit hash function intended to provide 256 bits of security.
 

Methods in jsdsi.util that return DigestAlgoEnum
static DigestAlgoEnum DigestAlgoEnum.fromJdk(java.lang.String jdkName)
          Given a JDK name for a MessageDigest algorythm, return its DigestAlgoEnum
static DigestAlgoEnum DigestAlgoEnum.fromJdkSignature(java.lang.String jdkName)
          Given a name for a MessageDigest algorythm from a JDK Signature, return its DigestAlgoEnum
static DigestAlgoEnum DigestAlgoEnum.fromSpki(java.lang.String spkiName)
          Given a SPKI name for a MessageDigest algorythm, return its DigestAlgoEnum
 DigestAlgoEnum SignatureAlgoEnum.getDigestEnum()
          Return the DigestAlgoEnum for this SignatureAlgoEnum
 

Methods in jsdsi.util with parameters of type DigestAlgoEnum
static java.lang.String Algorithms.jdkSignatureName(DigestAlgoEnum digest, KeyEnum key)
          Generates a Signature algorythm in JDK format
static java.lang.String Algorithms.spkiSignatureName(DigestAlgoEnum digest, KeyEnum key)
          Generates a Signature algorythm in SPKI format
static java.security.MessageDigest DigestUtils.getDigest(DigestAlgoEnum digest)
          Return a java.security.MessageDigest
static java.security.MessageDigest DigestUtils.getDigest(DigestAlgoEnum digest, java.lang.String provider)
          Return a java.security.MessageDigest
static SignatureAlgoEnum SignatureAlgoEnum.create(DigestAlgoEnum digest, KeyEnum key)
          Create a SignatureAlgoEnum
 

Constructors in jsdsi.util with parameters of type DigestAlgoEnum
SignatureAlgoEnum(DigestAlgoEnum digest, KeyEnum key)
           
 



Copyright © 2002-2006 JSDSI. All Rights Reserved.