Interface SignatureMethod
- All Superinterfaces:
- AlgorithmMethod,- XMLStructure
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)
- Since:
- 1.6
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe DSA-SHA1 (DSS) signature method algorithm URI.static final StringThe DSA-SHA256 (DSS) signature method algorithm URI.static final StringThe ECDSA-SHA1 (FIPS 180-4) signature method algorithm URI.static final StringThe ECDSA-SHA224 (FIPS 180-4) signature method algorithm URI.static final StringThe ECDSA-SHA256 (FIPS 180-4) signature method algorithm URI.static final StringThe ECDSA-SHA384 (FIPS 180-4) signature method algorithm URI.static final StringThe ECDSA-SHA512 (FIPS 180-4) signature method algorithm URI.static final StringThe ED25519 signature method algorithm URI.static final StringThe ED448 signature method algorithm URI.static final StringThe HMAC-SHA1 MAC signature method algorithm URIstatic final StringThe HMAC-SHA224 MAC signature method algorithm URI.static final StringThe HMAC-SHA256 MAC signature method algorithm URI.static final StringThe HMAC-SHA384 MAC signature method algorithm URI.static final StringThe HMAC-SHA512 MAC signature method algorithm URI.static final StringThe RSASSA-PSS signature method algorithm URI.static final StringThe RSA-SHA1 (PKCS #1) signature method algorithm URI.static final StringThe RSA-SHA224 (PKCS #1) signature method algorithm URI.static final StringThe RSA-SHA256 (PKCS #1) signature method algorithm URI.static final StringThe RSA-SHA384 (PKCS #1) signature method algorithm URI.static final StringThe RSA-SHA512 (PKCS #1) signature method algorithm URI.static final StringThe SHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA3-224-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA3-256-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA3-384-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA3-512-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI.static final StringThe SHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the algorithm-specific input parameters of thisSignatureMethod.Methods declared in interface javax.xml.crypto.AlgorithmMethodgetAlgorithmMethods declared in interface javax.xml.crypto.XMLStructureisFeatureSupported
- 
Field Details- 
DSA_SHA1
- 
DSA_SHA256The DSA-SHA256 (DSS) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
RSA_SHA1
- 
RSA_SHA224The RSA-SHA224 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
RSA_SHA256The RSA-SHA256 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
RSA_SHA384The RSA-SHA384 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
RSA_SHA512The RSA-SHA512 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
SHA1_RSA_MGF1The SHA1-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
SHA224_RSA_MGF1The SHA224-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
SHA256_RSA_MGF1The SHA256-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
SHA384_RSA_MGF1The SHA384-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
SHA512_RSA_MGF1The SHA512-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
ECDSA_SHA1The ECDSA-SHA1 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
ECDSA_SHA224The ECDSA-SHA224 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
ECDSA_SHA256The ECDSA-SHA256 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
ECDSA_SHA384The ECDSA-SHA384 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
ECDSA_SHA512The ECDSA-SHA512 (FIPS 180-4) signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
HMAC_SHA1
- 
HMAC_SHA224The HMAC-SHA224 MAC signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
HMAC_SHA256The HMAC-SHA256 MAC signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
HMAC_SHA384The HMAC-SHA384 MAC signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
HMAC_SHA512The HMAC-SHA512 MAC signature method algorithm URI.- Since:
- 11
- See Also:
 
- 
RSA_PSSThe RSASSA-PSS signature method algorithm URI.Calling XMLSignatureFactory.newSignatureMethod(RSA_PSS, null)returns aSignatureMethodobject that uses the default parameter as defined in RFC 6931 Section 2.3.9, which uses SHA-256 as theDigestMethod, MGF1 with SHA-256 as theMaskGenerationFunction, 32 asSaltLength, and 1 asTrailerField. This default parameter is represented as anRSAPSSParameterSpectype and returned by thegetParameterSpec()method of theSignatureMethodobject.- Since:
- 17
- See Also:
 
- 
ED25519
- 
ED448
- 
SHA3_224_RSA_MGF1The SHA3-224-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 22
- See Also:
 
- 
SHA3_256_RSA_MGF1The SHA3-256-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 22
- See Also:
 
- 
SHA3_384_RSA_MGF1The SHA3-384-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 22
- See Also:
 
- 
SHA3_512_RSA_MGF1The SHA3-512-RSA-MGF1 (PKCS #1) signature method algorithm URI.- Since:
- 22
- See Also:
 
 
- 
- 
Method Details- 
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)
 
 
-