public enum ChecksumType extends Enum<ChecksumType> implements Comparable<ChecksumType>
Enum Constant and Description |
---|
CRC32
The CRC32 checksum type.
|
DES_MAC
The des-mac checksum type.
|
DES_MAC_K
The des-mac-k checksum type.
|
HMAC_MD5
The hmac-md5 checksum type.
|
HMAC_SHA1_96_AES128
The hmac-sha1-96-aes128 checksum type.
|
HMAC_SHA1_96_AES256
The hmac-sha1-96-aes256 checksum type.
|
HMAC_SHA1_DES3
The hmac-sha1-des3 checksum type.
|
HMAC_SHA1_DES3_KD
The hmac-sha1-des3-kd checksum type.
|
NULL
The "null" checksum type.
|
RSA_MD4
The rsa-md4 checksum type.
|
RSA_MD4_DES
The rsa-md4-des checksum type.
|
RSA_MD4_DES_K
The rsa-md4-des-k checksum type.
|
RSA_MD5
The rsa-md5 checksum type.
|
RSA_MD5_DES
The rsa-md5-des checksum type.
|
RSA_MD5_DES3
The rsa-md5-des3 checksum type.
|
SHA1
The sha1 (unkeyed) checksum type.
|
SHA1_2
The sha1 (unkeyed) checksum type.
|
UNKNOWN
The "unknown" checksum type.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrdinal()
Returns the number associated with this checksum type.
|
static ChecksumType |
getTypeByOrdinal(int type)
Returns the checksum type when specified by its ordinal.
|
static ChecksumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static final ChecksumType UNKNOWN
public static final ChecksumType NULL
public static final ChecksumType CRC32
public static final ChecksumType RSA_MD4
public static final ChecksumType RSA_MD4_DES
public static final ChecksumType DES_MAC
public static final ChecksumType DES_MAC_K
public static final ChecksumType RSA_MD4_DES_K
public static final ChecksumType RSA_MD5
public static final ChecksumType RSA_MD5_DES
public static final ChecksumType RSA_MD5_DES3
public static final ChecksumType SHA1
public static final ChecksumType HMAC_SHA1_DES3_KD
public static final ChecksumType HMAC_SHA1_DES3
public static final ChecksumType SHA1_2
public static final ChecksumType HMAC_SHA1_96_AES128
public static final ChecksumType HMAC_SHA1_96_AES256
public static final ChecksumType HMAC_MD5
public static ChecksumType[] values()
for (ChecksumType c : ChecksumType.values()) System.out.println(c);
public static ChecksumType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static ChecksumType getTypeByOrdinal(int type)
type
- public int getOrdinal()
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.