JSR 105, v0.13 (Proposed Final Draft)

javax.xml.crypto.dsig
Interface Transform

All Superinterfaces:
AlgorithmMethod, XMLStructure
All Known Subinterfaces:
CanonicalizationMethod

public interface Transform
extends XMLStructure, AlgorithmMethod

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

 <element name="Transform" type="ds:TransformType"/>
   <complexType name="TransformType" mixed="true">
     <choice minOccurs="0" maxOccurs="unbounded">
       <any namespace="##other" processContents="lax"/>
       <!-- (1,1) elements from (0,unbounded) namespaces -->
       <element name="XPath" type="string"/>
     </choice>
     <attribute name="Algorithm" type="anyURI" use="required"/>
   </complexType>
 
A Transform instance may be created by invoking the newTransform method of the XMLSignatureFactory class.

See Also:
XMLSignatureFactory.newTransform(String, TransformParameterSpec)

Field Summary
static String BASE64
          The Base64 transform algorithm URI.
static String ENVELOPED
          The Enveloped Signature transform algorithm URI.
static String XPATH
          The XPath transform algorithm URI.
static String XPATH2
          The XPath Filter 2 transform algorithm URI.
static String XSLT
          The XSLT transform algorithm URI.
 
Method Summary
 AlgorithmParameterSpec getParameterSpec()
          Returns the algorithm-specific input parameters associated with this Transform.
 
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
 
Methods inherited from interface javax.xml.crypto.AlgorithmMethod
getAlgorithm
 

Field Detail

BASE64

public static final String BASE64
The Base64 transform algorithm URI.

See Also:
Constant Field Values

ENVELOPED

public static final String ENVELOPED
The Enveloped Signature transform algorithm URI.

See Also:
Constant Field Values

XPATH

public static final String XPATH
The XPath transform algorithm URI.

See Also:
Constant Field Values

XPATH2

public static final String XPATH2
The XPath Filter 2 transform algorithm URI.

See Also:
Constant Field Values

XSLT

public static final String XSLT
The XSLT transform algorithm URI.

See Also:
Constant Field Values
Method Detail

getParameterSpec

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

The returned parameters can be typecast to a TransformParameterSpec object.

Specified by:
getParameterSpec in interface AlgorithmMethod
Returns:
the algorithm-specific input parameters (may be null if not specified)

JSR 105, v0.13 (Proposed Final Draft)

Copyright © 2003-2004, Sun Microsystems, Inc. and IBM Corporation. All rights reserved.
Please send comments to: jsr-105-comments@sun.com