public static enum SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm extends Enum<SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm>
Modifier and Type | Method and Description |
---|---|
static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm |
fromDigestAlgorithm(String digestAlgorithm) |
static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm |
fromXmlDigestAlgorithm(String xmlDigestAlgorithm) |
String |
getDigestAlgorithm() |
int |
getSaltLength() |
String |
getXmlDigestAlgorithm() |
static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm SHA256
public static final SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm SHA384
public static final SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm SHA512
public static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm[] values()
for (SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm c : SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm.values()) System.out.println(c);
public static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm 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 getXmlDigestAlgorithm()
public String getDigestAlgorithm()
public int getSaltLength()
public static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm fromXmlDigestAlgorithm(String xmlDigestAlgorithm) throws XMLSignatureException
XMLSignatureException
public static SignatureBaseRSA.SignatureRSASSAPSS.DigestAlgorithm fromDigestAlgorithm(String digestAlgorithm) throws XMLSignatureException
XMLSignatureException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.