Module java.xml.crypto
Package 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:
XMLSignature
,
SignedInfo
,
CanonicalizationMethod
,
SignatureMethod
,
Reference
,
DigestMethod
,
XMLObject
,
Manifest
,
SignatureProperties
, and
SignatureProperty
.
KeyInfo
types
are defined in the javax.xml.crypto.dsig.keyinfo
subpackage.
XMLSignatureFactory
is an abstract factory that creates
XMLSignature
objects from scratch
or from a pre-existing XML representation, such as a DOM node.
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
XMLSignature
class,
which allows you to sign and validate an XML digital signature.
Package Specification
- Since:
- 1.6
-
Interface Summary Interface Description CanonicalizationMethod A representation of the XMLCanonicalizationMethod
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.DigestMethod A representation of the XMLDigestMethod
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.Manifest A representation of the XMLManifest
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.Reference A representation of theReference
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.SignatureMethod A representation of the XMLSignatureMethod
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.SignatureProperties A representation of the XMLSignatureProperties
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.SignatureProperty A representation of the XMLSignatureProperty
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.SignedInfo An representation of the XMLSignedInfo
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.Transform A representation of the XMLTransform
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.XMLObject A representation of the XMLObject
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.XMLSignature A representation of the XMLSignature
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.XMLSignature.SignatureValue A representation of the XMLSignatureValue
element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.XMLSignContext Contains context information for generating XML Signatures.XMLValidateContext Contains context information for validating XML Signatures. -
Class Summary Class Description TransformService A Service Provider Interface for transform and canonicalization algorithms.XMLSignatureFactory A factory for creatingXMLSignature
objects from scratch or for unmarshalling anXMLSignature
object from a corresponding XML representation. -
Exception Summary Exception Description TransformException Indicates an exceptional condition that occurred while executing a transform algorithm.XMLSignatureException Indicates an exceptional condition that occurred during the XML signature generation or validation process.