public enum DKIMSignAlgorithm extends Enum<DKIMSignAlgorithm>
| Enum Constant and Description |
|---|
RSA_SHA1 |
RSA_SHA256 |
| Modifier and Type | Method and Description |
|---|---|
String |
dkimAlgoName()
Gets the algorithm name specified by the DKIM specification.
|
String |
hashAlgoId()
Gets the Hash Algorithm ID that can be identified by the
HashingStrategy. |
String |
hashAlgorithm()
Gets the hash algorithm to produce the hash of the message.
|
String |
signatureAlgorithm()
Gets the Signature Algorithm, like: SHA256withRSA, SHA1withRSA.
|
static DKIMSignAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DKIMSignAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DKIMSignAlgorithm RSA_SHA1
public static final DKIMSignAlgorithm RSA_SHA256
public static DKIMSignAlgorithm[] values()
for (DKIMSignAlgorithm c : DKIMSignAlgorithm.values()) System.out.println(c);
public static DKIMSignAlgorithm 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 dkimAlgoName()
public String hashAlgorithm()
public String hashAlgoId()
HashingStrategy.public String signatureAlgorithm()
Copyright © 2021 Eclipse. All rights reserved.