public enum IntegerityCheckType extends Enum<IntegerityCheckType>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
check(byte[] b) |
byte[] |
check(File file) |
String |
getDigestName() |
static IntegerityCheckType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntegerityCheckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntegerityCheckType SHA_1
public static final IntegerityCheckType SHA_256
public static IntegerityCheckType[] values()
for (IntegerityCheckType c : IntegerityCheckType.values()) System.out.println(c);
public static IntegerityCheckType 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 byte[] check(File file)
public String getDigestName()
public byte[] check(byte[] b)
Copyright © 2021. All rights reserved.