public static enum SHA1.Sha1Implementation extends Enum<SHA1.Sha1Implementation>
| Enum Constant and Description |
|---|
JAVA
SHA1Java implemented in Java, supports collision detection. |
JDKNATIVE
Native implementation based on JDK's
MessageDigest. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SHA1.Sha1Implementation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SHA1.Sha1Implementation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SHA1.Sha1Implementation JAVA
SHA1Java implemented in Java, supports collision detection.public static final SHA1.Sha1Implementation JDKNATIVE
MessageDigest.public static SHA1.Sha1Implementation[] values()
for (SHA1.Sha1Implementation c : SHA1.Sha1Implementation.values()) System.out.println(c);
public static SHA1.Sha1Implementation 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 String toString()
toString in class Enum<SHA1.Sha1Implementation>Copyright © 2023 Eclipse JGit Project. All rights reserved.