com.healthmarketscience.jackcess.impl.office
Enum XmlEncryptionDescriptor.HashAlgorithm

java.lang.Object
  extended by java.lang.Enum<XmlEncryptionDescriptor.HashAlgorithm>
      extended by com.healthmarketscience.jackcess.impl.office.XmlEncryptionDescriptor.HashAlgorithm
All Implemented Interfaces:
Serializable, Comparable<XmlEncryptionDescriptor.HashAlgorithm>
Enclosing class:
XmlEncryptionDescriptor

public static enum XmlEncryptionDescriptor.HashAlgorithm
extends Enum<XmlEncryptionDescriptor.HashAlgorithm>


Enum Constant Summary
MD2
           
MD4
           
MD5
           
RIPEMD128
           
RIPEMD160
           
SHA1
           
SHA256
           
SHA384
           
SHA512
           
WHIRLPOOL
           
 
Method Summary
 Digest initDigest()
           
static XmlEncryptionDescriptor.HashAlgorithm valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlEncryptionDescriptor.HashAlgorithm[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SHA1

public static final XmlEncryptionDescriptor.HashAlgorithm SHA1

SHA256

public static final XmlEncryptionDescriptor.HashAlgorithm SHA256

SHA384

public static final XmlEncryptionDescriptor.HashAlgorithm SHA384

SHA512

public static final XmlEncryptionDescriptor.HashAlgorithm SHA512

MD5

public static final XmlEncryptionDescriptor.HashAlgorithm MD5

MD4

public static final XmlEncryptionDescriptor.HashAlgorithm MD4

MD2

public static final XmlEncryptionDescriptor.HashAlgorithm MD2

RIPEMD128

public static final XmlEncryptionDescriptor.HashAlgorithm RIPEMD128

RIPEMD160

public static final XmlEncryptionDescriptor.HashAlgorithm RIPEMD160

WHIRLPOOL

public static final XmlEncryptionDescriptor.HashAlgorithm WHIRLPOOL
Method Detail

values

public static XmlEncryptionDescriptor.HashAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XmlEncryptionDescriptor.HashAlgorithm c : XmlEncryptionDescriptor.HashAlgorithm.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XmlEncryptionDescriptor.HashAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

initDigest

public Digest initDigest()


Copyright © 2010-2015 Health Market Science. All Rights Reserved.