- 
- All Superinterfaces:
- AlgorithmMethod,- XMLStructure
 
 public interface SignatureMethod extends XMLStructure, AlgorithmMethod A representation of the XMLSignatureMethodelement as defined in the W3C Recommendation for XML-Signature Syntax and Processing. The XML Schema Definition is defined as:<element name="SignatureMethod" type="ds:SignatureMethodType"/> <complexType name="SignatureMethodType" mixed="true"> <sequence> <element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/> <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/> <!-- (0,unbounded) elements from (1,1) namespace --> </sequence> <attribute name="Algorithm" type="anyURI" use="required"/> </complexType>ASignatureMethodinstance may be created by invoking thenewSignatureMethodmethod of theXMLSignatureFactoryclass.The signature method algorithm URIs defined in this class are specified in the W3C Recommendation for XML-Signature Syntax and Processing and RFC 9231: Additional XML Security Uniform Resource Identifiers (URIs) - Since:
- 1.6
- See Also:
- XMLSignatureFactory.newSignatureMethod(String, SignatureMethodParameterSpec)
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDSA_SHA1The DSA-SHA1 (DSS) signature method algorithm URI.static StringDSA_SHA256The DSA-SHA256 (DSS) signature method algorithm URI.static StringECDSA_SHA1The ECDSA-SHA1 (FIPS 180-4) signature method algorithm URI.static StringECDSA_SHA224The ECDSA-SHA224 (FIPS 180-4) signature method algorithm URI.static StringECDSA_SHA256The ECDSA-SHA256 (FIPS 180-4) signature method algorithm URI.static StringECDSA_SHA384The ECDSA-SHA384 (FIPS 180-4) signature method algorithm URI.static StringECDSA_SHA512The ECDSA-SHA512 (FIPS 180-4) signature method algorithm URI.static StringHMAC_SHA1The HMAC-SHA1 MAC signature method algorithm URIstatic StringHMAC_SHA224The HMAC-SHA224 MAC signature method algorithm URI.static StringHMAC_SHA256The HMAC-SHA256 MAC signature method algorithm URI.static StringHMAC_SHA384The HMAC-SHA384 MAC signature method algorithm URI.static StringHMAC_SHA512The HMAC-SHA512 MAC signature method algorithm URI.static StringRSA_SHA1The RSA-SHA1 (PKCS #1) signature method algorithm URI.static StringRSA_SHA224The RSA-SHA224 (PKCS #1) signature method algorithm URI.static StringRSA_SHA256The RSA-SHA256 (PKCS #1) signature method algorithm URI.static StringRSA_SHA384The RSA-SHA384 (PKCS #1) signature method algorithm URI.static StringRSA_SHA512The RSA-SHA512 (PKCS #1) signature method algorithm URI.static StringSHA1_RSA_MGF1The SHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI.static StringSHA224_RSA_MGF1The SHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI.static StringSHA256_RSA_MGF1The SHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI.static StringSHA384_RSA_MGF1The SHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI.static StringSHA512_RSA_MGF1The SHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AlgorithmParameterSpecgetParameterSpec()Returns the algorithm-specific input parameters of thisSignatureMethod.- 
Methods declared in interface javax.xml.crypto.AlgorithmMethodgetAlgorithm
 - 
Methods declared in interface javax.xml.crypto.XMLStructureisFeatureSupported
 
- 
 
- 
- 
- 
Field Detail- 
DSA_SHA1static final String DSA_SHA1 The DSA-SHA1 (DSS) signature method algorithm URI.- See Also:
- Constant Field Values
 
 - 
DSA_SHA256static final String DSA_SHA256 The DSA-SHA256 (DSS) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
RSA_SHA1static final String RSA_SHA1 The RSA-SHA1 (PKCS #1) signature method algorithm URI.- See Also:
- Constant Field Values
 
 - 
RSA_SHA224static final String RSA_SHA224 The RSA-SHA224 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
RSA_SHA256static final String RSA_SHA256 The RSA-SHA256 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
RSA_SHA384static final String RSA_SHA384 The RSA-SHA384 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
RSA_SHA512static final String RSA_SHA512 The RSA-SHA512 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
SHA1_RSA_MGF1static final String SHA1_RSA_MGF1 The SHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
SHA224_RSA_MGF1static final String SHA224_RSA_MGF1 The SHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
SHA256_RSA_MGF1static final String SHA256_RSA_MGF1 The SHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
SHA384_RSA_MGF1static final String SHA384_RSA_MGF1 The SHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
SHA512_RSA_MGF1static final String SHA512_RSA_MGF1 The SHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
ECDSA_SHA1static final String ECDSA_SHA1 The ECDSA-SHA1 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
ECDSA_SHA224static final String ECDSA_SHA224 The ECDSA-SHA224 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
ECDSA_SHA256static final String ECDSA_SHA256 The ECDSA-SHA256 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
ECDSA_SHA384static final String ECDSA_SHA384 The ECDSA-SHA384 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
ECDSA_SHA512static final String ECDSA_SHA512 The ECDSA-SHA512 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
HMAC_SHA1static final String HMAC_SHA1 The HMAC-SHA1 MAC signature method algorithm URI- See Also:
- Constant Field Values
 
 - 
HMAC_SHA224static final String HMAC_SHA224 The HMAC-SHA224 MAC signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
HMAC_SHA256static final String HMAC_SHA256 The HMAC-SHA256 MAC signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
HMAC_SHA384static final String HMAC_SHA384 The HMAC-SHA384 MAC signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 - 
HMAC_SHA512static final String HMAC_SHA512 The HMAC-SHA512 MAC signature method algorithm URI.- Since:
- 11
- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getParameterSpecAlgorithmParameterSpec getParameterSpec() Returns the algorithm-specific input parameters of thisSignatureMethod.The returned parameters can be typecast to a SignatureMethodParameterSpecobject.- Specified by:
- getParameterSpecin interface- AlgorithmMethod
- Returns:
- the algorithm-specific input parameters of this
    SignatureMethod(may benullif not specified)
 
 
- 
 
-