public static enum CtLog.HashAlgorithm extends Enum<CtLog.HashAlgorithm>
| Enum Constant and Description |
|---|
md5 |
none |
sha1 |
sha224 |
sha256 |
sha384 |
sha512 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getCode() |
static CtLog.HashAlgorithm |
ofCode(byte code) |
static CtLog.HashAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CtLog.HashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CtLog.HashAlgorithm none
public static final CtLog.HashAlgorithm md5
public static final CtLog.HashAlgorithm sha1
public static final CtLog.HashAlgorithm sha224
public static final CtLog.HashAlgorithm sha256
public static final CtLog.HashAlgorithm sha384
public static final CtLog.HashAlgorithm sha512
public static CtLog.HashAlgorithm[] values()
for (CtLog.HashAlgorithm c : CtLog.HashAlgorithm.values()) System.out.println(c);
public static CtLog.HashAlgorithm 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 getCode()
public static CtLog.HashAlgorithm ofCode(byte code)
Copyright © 2020. All rights reserved.