public static enum Hotp.HashAlgorithm extends Enum<Hotp.HashAlgorithm>
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAlgorithmName()  | 
static Hotp.HashAlgorithm | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Hotp.HashAlgorithm[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Hotp.HashAlgorithm SHA1
public static final Hotp.HashAlgorithm SHA256
public static final Hotp.HashAlgorithm SHA512
public static Hotp.HashAlgorithm[] values()
for (Hotp.HashAlgorithm c : Hotp.HashAlgorithm.values()) System.out.println(c);
public static Hotp.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 String getAlgorithmName()
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.