public enum SigningAlgorithm extends Enum<SigningAlgorithm>
| Enum Constant and Description |
|---|
SHA1_WITH_RSA
The rsa-sha1 signing algorithm.
|
SHA256_WITH_RSA
The rsa-sha256 signing algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHashNotation()
Returns the hashing algorithm notation as used by
MessageDigest. |
String |
getJavaNotation()
Returns the signing algorithm notation as used by the JCE.
|
String |
getRfc4871Notation()
Returns the signing algorithm notation as used in RFC 4871.
|
static SigningAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SigningAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SigningAlgorithm SHA256_WITH_RSA
public static final SigningAlgorithm SHA1_WITH_RSA
public static SigningAlgorithm[] values()
for (SigningAlgorithm c : SigningAlgorithm.values()) System.out.println(c);
public static SigningAlgorithm 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 getRfc4871Notation()
public String getJavaNotation()
public String getHashNotation()
MessageDigest.MessageDigest.Copyright © 2015–2018 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.