public enum HMACType extends Enum<HMACType>
| Enum Constant and Description |
|---|
HMACSHA1 |
HMACSHA256 |
HMACSHA384 |
HMACSHA512 |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
String |
getName() |
String |
toString() |
static HMACType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HMACType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HMACType HMACSHA1
public static final HMACType HMACSHA256
public static final HMACType HMACSHA384
public static final HMACType HMACSHA512
public static HMACType[] values()
for (HMACType c : HMACType.values()) System.out.println(c);
public static HMACType 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 getName()
public int getLength()
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.