javax.xml.crypto.dsig.keyinfo (Java Platform SE 8 )
Keywords: javax.xml.crypto.dsig.keyinfo package
Date: 2026-03-16

compact3

# Package javax.xml.crypto.dsig.keyinfo

Classes for parsing and processing `KeyInfo` elements and structures.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  KeyInfo | A representation of the XML `KeyInfo` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  KeyName | A representation of the XML `KeyName` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  KeyValue | A representation of the XML `KeyValue` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  PGPData | A representation of the XML `PGPData` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  RetrievalMethod | A representation of the XML `RetrievalMethod` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  X509Data | A representation of the XML `X509Data` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  X509IssuerSerial | A representation of the XML `X509IssuerSerial` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.

- Class Summary
  Class | Description
  --- | ---
  KeyInfoFactory | A factory for creating `KeyInfo` objects from scratch or for unmarshalling a `KeyInfo` object from a corresponding XML representation.

## Package javax.xml.crypto.dsig.keyinfo Description

Classes for parsing and processing `KeyInfo` elements and structures. `KeyInfo` is an optional element that enables the recipient(s) to obtain the key needed to validate an `XMLSignature`. `KeyInfo` may contain keys, names, certificates and other public key management information, such as in-band key distribution or key agreement data. This package contains classes representing types defined in the W3C specification for XML Signatures, such as `KeyName`, `KeyValue`, `RetrievalMethod`, `X509Data`, `X509IssuerSerial`, and `PGPData`. `KeyInfoFactory` is an abstract factory that creates `KeyInfo` objects from scratch.

## Package Specification

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

Since:
  1.6

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.