public static enum NetStorageUtils.KeyedHashAlgorithm extends Enum<NetStorageUtils.KeyedHashAlgorithm>
NetStorageUtils.computeKeyedHash(byte[], String, nl.nn.adapterframework.extensions.akamai.NetStorageUtils.KeyedHashAlgorithm)
Currently supported hashes include HMAC-MD5; HMAC-SHA1; HMAC-SHA256
The string representation matches the java Mac.getInstance(String)
} cononical names.Enum Constant and Description |
---|
HMACMD5 |
HMACSHA1 |
HMACSHA256 |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
static NetStorageUtils.KeyedHashAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetStorageUtils.KeyedHashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetStorageUtils.KeyedHashAlgorithm HMACMD5
public static final NetStorageUtils.KeyedHashAlgorithm HMACSHA1
public static final NetStorageUtils.KeyedHashAlgorithm HMACSHA256
public static NetStorageUtils.KeyedHashAlgorithm[] values()
for (NetStorageUtils.KeyedHashAlgorithm c : NetStorageUtils.KeyedHashAlgorithm.values()) System.out.println(c);
public static NetStorageUtils.KeyedHashAlgorithm 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 getAlgorithm()
Copyright © 2023 Frank!Framework. All rights reserved.