javax.xml.crypto.dsig |
Classes for generating and validating XML digital
signatures. This package includes classes that represent the core elements
defined in the W3C XML digital signature specification:
{@link javax.xml.crypto.dsig.XMLSignature XMLSignature},
{@link javax.xml.crypto.dsig.SignedInfo SignedInfo},
{@link javax.xml.crypto.dsig.CanonicalizationMethod CanonicalizationMethod},
{@link javax.xml.crypto.dsig.SignatureMethod SignatureMethod},
{@link javax.xml.crypto.dsig.Reference Reference},
{@link javax.xml.crypto.dsig.DigestMethod DigestMethod},
{@link javax.xml.crypto.dsig.XMLObject XMLObject},
{@link javax.xml.crypto.dsig.Manifest Manifest},
{@link javax.xml.crypto.dsig.SignatureProperties SignatureProperties}, and
{@link javax.xml.crypto.dsig.SignatureProperty SignatureProperty}.
KeyInfo types
are defined in the {@link javax.xml.crypto.dsig.keyinfo} subpackage.
{@link javax.xml.crypto.dsig.XMLSignatureFactory XMLSignatureFactory}
is an abstract factory that creates
{@link javax.xml.crypto.dsig.XMLSignature XMLSignature} objects from scratch
or from a pre-existing XML representation, such as a DOM node.
{@link javax.xml.crypto.dsig.TransformService} is a service provider
interface for creating and plugging in implementations of
transform and canonicalization algorithms.
Of primary significance in this package is the
{@link javax.xml.crypto.dsig.XMLSignature XMLSignature} class,
which allows you to sign and validate an XML digital signature.
Package Specification
- Since:
- 1.6
|
Java Source File Name | Type | Comment |
CanonicalizationMethod.java | Interface | A representation of the XML CanonicalizationMethod
element as defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
DigestMethod.java | Interface | A representation of the XML DigestMethod element as
defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
Manifest.java | Interface | A representation of the XML Manifest element as defined in
the
W3C Recommendation for XML-Signature Syntax and Processing. |
Reference.java | Interface | A representation of the Reference element as defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
SignatureMethod.java | Interface | A representation of the XML SignatureMethod element
as defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
SignatureProperties.java | Interface | A representation of the XML SignatureProperties element as
defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
SignatureProperty.java | Interface | A representation of the XML SignatureProperty element as
defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
SignedInfo.java | Interface | An representation of the XML SignedInfo element as
defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
Transform.java | Interface | A representation of the XML Transform element as
defined in the
W3C Recommendation for XML-Signature Syntax and Processing. |
TransformException.java | Class | Indicates an exceptional condition that occured while executing a
transform algorithm.
A TransformException can contain a cause: another
throwable that caused this TransformException to get thrown. |
TransformService.java | Class | A Service Provider Interface for transform and canonicalization algorithms.
Each instance of TransformService supports a specific
transform or canonicalization algorithm and XML mechanism type. |
XMLObject.java | Interface | A representation of the XML Object element as defined in
the
W3C Recommendation for XML-Signature Syntax and Processing.
An XMLObject may contain any data and may include optional
MIME type, ID, and encoding attributes. |
XMLSignature.java | Interface | A representation of the XML Signature element as
defined in the
W3C Recommendation for XML-Signature Syntax and Processing.
This class contains methods for signing and validating XML signatures
with behavior as defined by the W3C specification. |
XMLSignatureException.java | Class | Indicates an exceptional condition that occured during the XML
signature generation or validation process.
An XMLSignatureException can contain a cause: another
throwable that caused this XMLSignatureException to get thrown. |
XMLSignatureFactory.java | Class | A factory for creating
XMLSignature objects from scratch or
for unmarshalling an XMLSignature object from a corresponding
XML representation.
XMLSignatureFactory Type
Each instance of XMLSignatureFactory supports a specific
XML mechanism type. |
XMLSignContext.java | Interface | Contains context information for generating XML Signatures. |
XMLValidateContext.java | Interface | Contains context information for validating XML Signatures. |