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.
- Since:
- 1.6
Interface | Description |
---|---|
CanonicalizationMethod | A representation of the XML |
DigestMethod | A representation of the XML |
Manifest | A representation of the XML |
Reference | A representation of the |
SignatureMethod | A representation of the XML |
SignatureProperties | A representation of the XML |
SignatureProperty | A representation of the XML |
SignedInfo | An representation of the XML |
Transform | A representation of the XML |
XMLObject | A representation of the XML |
XMLSignature | A representation of the XML |
XMLSignature.SignatureValue | A representation of the XML |
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 |
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. |
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.xml.crypto/javax/xml/crypto/dsig/package-summary.html