Overview Summary |
See: Description
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.
Interface | Description |
---|---|
CanonicalizationMethod |
A representation of the XML
CanonicalizationMethod element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
DigestMethod |
A representation of the XML
DigestMethod element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
Manifest |
A representation of the XML
Manifest element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
Reference |
A representation of the
Reference element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
SignatureMethod |
A representation of the XML
SignatureMethod element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
SignatureProperties |
A representation of the XML
SignatureProperties element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
SignatureProperty |
A representation of the XML
SignatureProperty element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
SignedInfo |
An representation of the XML
SignedInfo element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
Transform |
A representation of the XML
Transform element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
XMLObject |
A representation of the XML
Object element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
XMLSignature |
A representation of the XML
Signature element as defined in the W3C Recommendation for XML-Signature Syntax and Processing . |
XMLSignature.SignatureValue |
A representation of the XML
SignatureValue 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 | Description |
---|---|
TransformService |
A Service Provider Interface for transform and canonicalization algorithms.
|
XMLSignatureFactory |
A factory for creating
XMLSignature objects from scratch or for unmarshalling an XMLSignature object from a corresponding XML representation. |
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.
|
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.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation . That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 20142017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-ea+159
© 2017 Oracle Corporation and/or its affiliates