public static enum PKWareExtraHeader.HashAlgorithm extends java.lang.Enum<PKWareExtraHeader.HashAlgorithm>
Enum Constant and Description |
---|
CRC32 |
MD5 |
NONE |
RIPEND160 |
SHA1 |
SHA256 |
SHA384 |
SHA512 |
Modifier and Type | Method and Description |
---|---|
static PKWareExtraHeader.HashAlgorithm |
getAlgorithmByCode(int code)
Returns the HashAlgorithm for the given code or null if the method is
not known.
|
int |
getCode()
the hash algorithm ID.
|
static PKWareExtraHeader.HashAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PKWareExtraHeader.HashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKWareExtraHeader.HashAlgorithm NONE
public static final PKWareExtraHeader.HashAlgorithm CRC32
public static final PKWareExtraHeader.HashAlgorithm MD5
public static final PKWareExtraHeader.HashAlgorithm SHA1
public static final PKWareExtraHeader.HashAlgorithm RIPEND160
public static final PKWareExtraHeader.HashAlgorithm SHA256
public static final PKWareExtraHeader.HashAlgorithm SHA384
public static final PKWareExtraHeader.HashAlgorithm SHA512
public static PKWareExtraHeader.HashAlgorithm[] values()
for (PKWareExtraHeader.HashAlgorithm c : PKWareExtraHeader.HashAlgorithm.values()) System.out.println(c);
public static PKWareExtraHeader.HashAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public static PKWareExtraHeader.HashAlgorithm getAlgorithmByCode(int code)
code
- the code of the algorithmCopyright © 2010 - 2020 Adobe. All Rights Reserved