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 Manifest

All Superinterfaces:
XMLStructure

public interface Manifest
extends XMLStructure

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


 <element name="Manifest" type="ds:ManifestType"/> 
   <complexType name="ManifestType">
     <sequence>
       <element ref="ds:Reference" maxOccurs="unbounded"/> 
     </sequence>  
     <attribute name="Id" type="ID" use="optional"/> 
   </complexType>
 
A Manifest instance may be created by invoking one of the {@link XMLSignatureFactory#newManifest newManifest} methods of the {@link XMLSignatureFactory} class; for example:
   XMLSignatureFactory factory = XMLSignatureFactory.getInstance("DOM");
   List references = Collections.singletonList(factory.newReference
       ("#reference-1", DigestMethod.SHA1));
   Manifest manifest = factory.newManifest(references, "manifest-1");
 


Field Summary
static String TYPE
          URI that identifies the Manifest element (this can be specified as the value of the type parameter of the javax.xml.crypto.dsig.Reference class to identify the referent's type).
 
Method Summary
 String

          Returns the Id of this Manifest.
 List

          Returns an java.util.Collections.unmodifiableList of one or more javax.xml.crypto.dsig.References that are contained in this Manifest.
 
Methods inherited from class javax.xml.crypto.XMLStructure
isFeatureSupported
 

Field Detail

TYPE

public static final String TYPE
URI that identifies the Manifest element (this can be specified as the value of the type parameter of the {@link Reference} class to identify the referent's type).
Method Detail

getId

public String getId()
Returns the Id of this Manifest.

Returns:
the Id of this Manifest (or null if not specified)

getReferences

public List getReferences()
Returns an {@link java.util.Collections#unmodifiableList unmodifiable list} of one or more {@link Reference}s that are contained in this Manifest.

Returns:
an unmodifiable list of one or more References


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/.