SignatureMethod element
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>
A SignatureMethod instance may be created by invoking the
newSignatureMethod method
of the XMLSignatureFactory class.
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)
XMLSignatureFactory#newSignatureMethod(String, SignatureMethodParameterSpec)
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | DSA_SHA256
The DSA-SHA256 (DSS) signature method algorithm URI. |
| public static final String | ECDSA_SHA1
The ECDSA-SHA1 (FIPS 180-4) signature method algorithm URI. |
| public static final String | ECDSA_SHA224
The ECDSA-SHA224 (FIPS 180-4) signature method algorithm URI. |
| public static final String | ECDSA_SHA256
The ECDSA-SHA256 (FIPS 180-4) signature method algorithm URI. |
| public static final String | ECDSA_SHA384
The ECDSA-SHA384 (FIPS 180-4) signature method algorithm URI. |
| public static final String | ECDSA_SHA3_224
The ECDSA-SHA3-224 signature method algorithm URI. |
| public static final String | ECDSA_SHA3_256
The ECDSA-SHA3-256 signature method algorithm URI. |
| public static final String | ECDSA_SHA3_384
The ECDSA-SHA3-384 signature method algorithm URI. |
| public static final String | ECDSA_SHA3_512
The ECDSA-SHA3-512 signature method algorithm URI. |
| public static final String | ECDSA_SHA512
The ECDSA-SHA512 (FIPS 180-4) signature method algorithm URI. |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | HMAC_SHA224
The HMAC-SHA224 MAC signature method algorithm URI. |
| public static final String | HMAC_SHA256
The HMAC-SHA256 MAC signature method algorithm URI. |
| public static final String | HMAC_SHA384
The HMAC-SHA384 MAC signature method algorithm URI. |
| public static final String | HMAC_SHA512
The HMAC-SHA512 MAC signature method algorithm URI. |
| public static final String | RSA_PSS
The RSASSA-PSS signature method algorithm URI. |
| public static final String | |
| public static final String | RSA_SHA224
The RSA-SHA224 (PKCS #1) signature method algorithm URI. |
| public static final String | RSA_SHA256
The RSA-SHA256 (PKCS #1) signature method algorithm URI. |
| public static final String | RSA_SHA384
The RSA-SHA384 (PKCS #1) signature method algorithm URI. |
| public static final String | RSA_SHA512
The RSA-SHA512 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA1_RSA_MGF1
The SHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA224_RSA_MGF1
The SHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA256_RSA_MGF1
The SHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA384_RSA_MGF1
The SHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA3_224_RSA_MGF1
The SHA3-224-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA3_256_RSA_MGF1
The SHA3-256-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA3_384_RSA_MGF1
The SHA3-384-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA3_512_RSA_MGF1
The SHA3-512-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| public static final String | SHA512_RSA_MGF1
The SHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI. |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmParameterSpec | Returns: the algorithm-specific input parameters of thisSignatureMethod (may be null if not
specified)Redeclares javax. Returns the algorithm-specific input parameters of this
|
| DSA_SHA1 | back to summary |
|---|---|
| public static final String DSA_SHA1 The DSA-SHA1 (DSS) signature method algorithm URI. | |
| DSA_SHA256 | back to summary |
|---|---|
| public static final String DSA_SHA256 The DSA-SHA256 (DSS) signature method algorithm URI.
| |
| ECDSA_SHA1 | back to summary |
|---|---|
| public static final String ECDSA_SHA1 The ECDSA-SHA1 (FIPS 180-4) signature method algorithm URI.
| |
| ECDSA_SHA224 | back to summary |
|---|---|
| public static final String ECDSA_SHA224 The ECDSA-SHA224 (FIPS 180-4) signature method algorithm URI.
| |
| ECDSA_SHA256 | back to summary |
|---|---|
| public static final String ECDSA_SHA256 The ECDSA-SHA256 (FIPS 180-4) signature method algorithm URI.
| |
| ECDSA_SHA384 | back to summary |
|---|---|
| public static final String ECDSA_SHA384 The ECDSA-SHA384 (FIPS 180-4) signature method algorithm URI.
| |
| ECDSA_SHA3_224 | back to summary |
|---|---|
| public static final String ECDSA_SHA3_224 The ECDSA-SHA3-224 signature method algorithm URI.
| |
| ECDSA_SHA3_256 | back to summary |
|---|---|
| public static final String ECDSA_SHA3_256 The ECDSA-SHA3-256 signature method algorithm URI.
| |
| ECDSA_SHA3_384 | back to summary |
|---|---|
| public static final String ECDSA_SHA3_384 The ECDSA-SHA3-384 signature method algorithm URI.
| |
| ECDSA_SHA3_512 | back to summary |
|---|---|
| public static final String ECDSA_SHA3_512 The ECDSA-SHA3-512 signature method algorithm URI.
| |
| ECDSA_SHA512 | back to summary |
|---|---|
| public static final String ECDSA_SHA512 The ECDSA-SHA512 (FIPS 180-4) signature method algorithm URI.
| |
| ED25519 | back to summary |
|---|---|
| public static final String ED25519 The ED25519 signature method algorithm URI.
| |
| ED448 | back to summary |
|---|---|
| public static final String ED448 The ED448 signature method algorithm URI.
| |
| HMAC_SHA1 | back to summary |
|---|---|
| public static final String HMAC_SHA1 The HMAC-SHA1 MAC signature method algorithm URI | |
| HMAC_SHA224 | back to summary |
|---|---|
| public static final String HMAC_SHA224 The HMAC-SHA224 MAC signature method algorithm URI.
| |
| HMAC_SHA256 | back to summary |
|---|---|
| public static final String HMAC_SHA256 The HMAC-SHA256 MAC signature method algorithm URI.
| |
| HMAC_SHA384 | back to summary |
|---|---|
| public static final String HMAC_SHA384 The HMAC-SHA384 MAC signature method algorithm URI.
| |
| HMAC_SHA512 | back to summary |
|---|---|
| public static final String HMAC_SHA512 The HMAC-SHA512 MAC signature method algorithm URI.
| |
| RSA_PSS | back to summary |
|---|---|
| public static final String RSA_PSS The RSASSA-PSS signature method algorithm URI.
Calling
| |
| RSA_SHA1 | back to summary |
|---|---|
| public static final String RSA_SHA1 The RSA-SHA1 (PKCS #1) signature method algorithm URI. | |
| RSA_SHA224 | back to summary |
|---|---|
| public static final String RSA_SHA224 The RSA-SHA224 (PKCS #1) signature method algorithm URI.
| |
| RSA_SHA256 | back to summary |
|---|---|
| public static final String RSA_SHA256 The RSA-SHA256 (PKCS #1) signature method algorithm URI.
| |
| RSA_SHA384 | back to summary |
|---|---|
| public static final String RSA_SHA384 The RSA-SHA384 (PKCS #1) signature method algorithm URI.
| |
| RSA_SHA512 | back to summary |
|---|---|
| public static final String RSA_SHA512 The RSA-SHA512 (PKCS #1) signature method algorithm URI.
| |
| SHA1_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA1_RSA_MGF1 The SHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA224_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA224_RSA_MGF1 The SHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA256_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA256_RSA_MGF1 The SHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA384_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA384_RSA_MGF1 The SHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA3_224_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA3_224_RSA_MGF1 The SHA3-224-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA3_256_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA3_256_RSA_MGF1 The SHA3-256-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA3_384_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA3_384_RSA_MGF1 The SHA3-384-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA3_512_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA3_512_RSA_MGF1 The SHA3-512-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| SHA512_RSA_MGF1 | back to summary |
|---|---|
| public static final String SHA512_RSA_MGF1 The SHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI.
| |
| getParameterSpec | back to summary |
|---|---|
| public AlgorithmParameterSpec getParameterSpec() Redeclares javax. Returns the algorithm-specific input parameters of this
The returned parameters can be typecast to a
| |