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 DigestMethod

All Superinterfaces:
AlgorithmMethod

public interface DigestMethod
extends AlgorithmMethod

A representation of the XML DigestMethod element as defined in the W3C Recommendation for XML-Signature Syntax and Processing. The XML Schema Definition is defined as:

   <element name="DigestMethod" type="ds:DigestMethodType"/>
     <complexType name="DigestMethodType" mixed="true">
       <sequence>
         <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
           <!-- (0,unbounded) elements from (1,1) namespace -->
       </sequence>
       <attribute name="Algorithm" type="anyURI" use="required"/>
     </complexType>
 
A DigestMethod instance may be created by invoking the {@link XMLSignatureFactory#newDigestMethod newDigestMethod} method of the {@link XMLSignatureFactory} class.


Field Summary
static String RIPEMD160
          The RIPEMD-160 digest method algorithm URI.
static String SHA1
          The SHA1 digest method algorithm URI.
static String SHA256
          The SHA256 digest method algorithm URI.
static String SHA512
          The SHA512 digest method algorithm URI.
 
Method Summary
 AlgorithmParameterSpec

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

Field Detail

RIPEMD160

public static final String RIPEMD160
The RIPEMD-160 digest method algorithm URI.

SHA1

public static final String SHA1
The SHA1 digest method algorithm URI.

SHA256

public static final String SHA256
The SHA256 digest method algorithm URI.

SHA512

public static final String SHA512
The SHA512 digest method algorithm URI.
Method Detail

getParameterSpec

public AlgorithmParameterSpec getParameterSpec()
Returns the algorithm-specific input parameters associated with this DigestMethod.

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

Returns:
the algorithm-specific parameters (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/.