This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.crypto.dsig
interface SignatureMethod

All Superinterfaces:
AlgorithmMethod

public interface SignatureMethod
extends AlgorithmMethod

A representation of the XML 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 {@link XMLSignatureFactory#newSignatureMethod newSignatureMethod} method of the {@link XMLSignatureFactory} class.


Field Summary
static String DSA_SHA1
          The DSAwithSHA1 (DSS) signature method algorithm URI.
static String HMAC_SHA1
          The HMAC-SHA1 MAC signature method algorithm URI
static String RSA_SHA1
          The RSAwithSHA1 (PKCS #1) signature method algorithm URI.
 
Method Summary
 AlgorithmParameterSpec

          Returns the algorithm-specific input parameters of this SignatureMethod.
 
Methods inherited from class javax.xml.crypto.AlgorithmMethod
getAlgorithm, getParameterSpec
 

Field Detail

DSA_SHA1

public static final String DSA_SHA1
The DSAwithSHA1 (DSS) signature method algorithm URI.

HMAC_SHA1

public static final String HMAC_SHA1
The HMAC-SHA1 MAC signature method algorithm URI

RSA_SHA1

public static final String RSA_SHA1
The RSAwithSHA1 (PKCS #1) signature method algorithm URI.
Method Detail

getParameterSpec

public AlgorithmParameterSpec getParameterSpec()
Returns the algorithm-specific input parameters of this SignatureMethod.

The returned parameters can be typecast to a {@link SignatureMethodParameterSpec} object.

Returns:
the algorithm-specific input parameters of this SignatureMethod (may be null if not specified)


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.