# Package javax.xml.crypto

package javax.xml.crypto
Common classes for XML cryptography. This package includes common classes that are used to perform XML cryptographic operations, such as generating an XML signature or encrypting XML data.

## Package Specification

- XML-Signature Syntax and Processing: W3C Recommendation
- RFC 3275: XML-Signature Syntax and Processing

Since:
  1.6

- Related Packages
  Module
  Package
  Description
  java.xml
  javax.xml
  Defines constants for XML processing.
  java.xml.crypto
  javax.xml.crypto.dom
  DOM-specific classes for the `javax.xml.crypto` package.
  java.xml.crypto
  javax.xml.crypto.dsig
  Classes for generating and validating XML digital signatures.
- Class
  Description
  AlgorithmMethod
  An abstract representation of an algorithm defined in the XML Security specifications.
  Data
  An abstract representation of the result of dereferencing a `URIReference` or the input/output of subsequent `Transform`s.
  KeySelector
  A selector that finds and returns a key using the data contained in a `KeyInfo` object.
  KeySelector.Purpose
  The purpose of the key that is to be selected.
  KeySelectorException
  Indicates an exceptional condition thrown by a `KeySelector`.
  KeySelectorResult
  The result returned by the `KeySelector.select` method.
  MarshalException
  Indicates an exceptional condition that occurred during the XML marshalling or unmarshalling process.
  NodeSetData<T>
  An abstract representation of a `Data` type containing a node-set.
  NoSuchMechanismException
  This exception is thrown when a particular XML mechanism is requested but is not available in the environment.
  OctetStreamData
  A representation of a `Data` type containing an octet stream.
  URIDereferencer
  A dereferencer of `URIReference`s.
  URIReference
  Identifies a data object via a URI-Reference, as specified by RFC 2396.
  URIReferenceException
  Indicates an exceptional condition thrown while dereferencing a `URIReference`.
  XMLCryptoContext
  Contains common context information for XML cryptographic operations.
  XMLStructure
  A representation of an XML structure from any namespace.