public static enum TorSignature.DigestAlgorithm extends Enum<TorSignature.DigestAlgorithm>
| Enum Constant and Description |
|---|
DIGEST_SHA1 |
DIGEST_SHA256 |
| Modifier and Type | Method and Description |
|---|---|
static TorSignature.DigestAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TorSignature.DigestAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TorSignature.DigestAlgorithm DIGEST_SHA1
public static final TorSignature.DigestAlgorithm DIGEST_SHA256
public static TorSignature.DigestAlgorithm[] values()
for (TorSignature.DigestAlgorithm c : TorSignature.DigestAlgorithm.values()) System.out.println(c);
public static TorSignature.DigestAlgorithm 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 nullCopyright © 2015. All rights reserved.