# Uses of Interface
javax.xml.crypto.XMLStructure

Packages that use XMLStructure
Package
Description
javax.xml.crypto.dom
DOM-specific classes for the `javax.xml.crypto` package.
javax.xml.crypto.dsig
Classes for generating and validating XML digital signatures.
javax.xml.crypto.dsig.keyinfo
Classes for parsing and processing `KeyInfo` elements and structures.
javax.xml.crypto.dsig.spec
Parameter classes for XML digital signatures.

- ## Uses of XMLStructure in javax.xml.crypto.dom

  Classes in javax.xml.crypto.dom that implement XMLStructure
  Modifier and Type
  Class
  Description
  `class`
  `DOMStructure`
  A DOM-specific `XMLStructure`.

- ## Uses of XMLStructure in javax.xml.crypto.dsig

  Subinterfaces of XMLStructure in javax.xml.crypto.dsig
  Modifier and Type
  Interface
  Description
  `interface`
  `CanonicalizationMethod`
  A representation of the XML `CanonicalizationMethod` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `DigestMethod`
  A representation of the XML `DigestMethod` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `Manifest`
  A representation of the XML `Manifest` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `Reference`
  A representation of the `Reference` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `SignatureMethod`
  A representation of the XML `SignatureMethod` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `SignatureProperties`
  A representation of the XML `SignatureProperties` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `SignatureProperty`
  A representation of the XML `SignatureProperty` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `SignedInfo`
  An representation of the XML `SignedInfo` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `Transform`
  A representation of the XML `Transform` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `XMLObject`
  A representation of the XML `Object` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `XMLSignature`
  A representation of the XML `Signature` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `static interface`
  `XMLSignature.SignatureValue`
  A representation of the XML `SignatureValue` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  Classes in javax.xml.crypto.dsig that implement XMLStructure
  Modifier and Type
  Class
  Description
  `class`
  `TransformService`
  A Service Provider Interface for transform and canonicalization algorithms.
  Methods in javax.xml.crypto.dsig that return types with arguments of type XMLStructure
  Modifier and Type
  Method
  Description
  `List<XMLStructure>`
  SignatureProperty.`getContent()`
  Returns an `unmodifiable list` of one or more `XMLStructure`s that are contained in this `SignatureProperty`.
  `List<XMLStructure>`
  XMLObject.`getContent()`
  Returns an `unmodifiable list` of `XMLStructure`s contained in this `XMLObject`, which represent elements from any namespace.
  Methods in javax.xml.crypto.dsig with parameters of type XMLStructure
  Modifier and Type
  Method
  Description
  `abstract void`
  TransformService.`init(XMLStructure parent, XMLCryptoContext context)`
  Initializes this `TransformService` with the specified parameters and document context.
  `abstract void`
  TransformService.`marshalParams(XMLStructure parent, XMLCryptoContext context)`
  Marshals the algorithm-specific parameters.
  `abstract CanonicalizationMethod`
  XMLSignatureFactory.`newCanonicalizationMethod(String algorithm, XMLStructure params)`
  Creates a `CanonicalizationMethod` for the specified algorithm URI and parameters.
  `abstract Transform`
  XMLSignatureFactory.`newTransform(String algorithm, XMLStructure params)`
  Creates a `Transform` for the specified algorithm URI and parameters.
  `abstract XMLSignature`
  XMLSignatureFactory.`unmarshalXMLSignature(XMLStructure xmlStructure)`
  Unmarshals a new `XMLSignature` instance from a mechanism-specific `XMLStructure` instance.
  Method parameters in javax.xml.crypto.dsig with type arguments of type XMLStructure
  Modifier and Type
  Method
  Description
  `abstract SignatureProperty`
  XMLSignatureFactory.`newSignatureProperty(List<? extends XMLStructure> content, String target, String id)`
  Creates a `SignatureProperty` containing the specified list of `XMLStructure`s, target URI and optional id.
  `abstract XMLObject`
  XMLSignatureFactory.`newXMLObject(List<? extends XMLStructure> content, String id, String mimeType, String encoding)`
  Creates an `XMLObject` from the specified parameters.

- ## Uses of XMLStructure in javax.xml.crypto.dsig.keyinfo

  Subinterfaces of XMLStructure in javax.xml.crypto.dsig.keyinfo
  Modifier and Type
  Interface
  Description
  `interface`
  `KeyInfo`
  A representation of the XML `KeyInfo` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `KeyName`
  A representation of the XML `KeyName` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `KeyValue`
  A representation of the XML `KeyValue` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `PGPData`
  A representation of the XML `PGPData` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `RetrievalMethod`
  A representation of the XML `RetrievalMethod` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `X509Data`
  A representation of the XML `X509Data` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  `interface`
  `X509IssuerSerial`
  A representation of the XML `X509IssuerSerial` element as defined in the W3C Recommendation for XML-Signature Syntax and Processing.
  Methods in javax.xml.crypto.dsig.keyinfo that return types with arguments of type XMLStructure
  Modifier and Type
  Method
  Description
  `List<XMLStructure>`
  KeyInfo.`getContent()`
  Returns an `unmodifiable list` containing the key information.
  `List<XMLStructure>`
  PGPData.`getExternalElements()`
  Returns an `unmodifiable list` of `XMLStructure`s representing elements from an external namespace.
  Methods in javax.xml.crypto.dsig.keyinfo with parameters of type XMLStructure
  Modifier and Type
  Method
  Description
  `void`
  KeyInfo.`marshal(XMLStructure parent, XMLCryptoContext context)`
  Marshals the key info to XML.
  `abstract KeyInfo`
  KeyInfoFactory.`unmarshalKeyInfo(XMLStructure xmlStructure)`
  Unmarshals a new `KeyInfo` instance from a mechanism-specific `XMLStructure` (ex: `DOMStructure`) instance.
  Method parameters in javax.xml.crypto.dsig.keyinfo with type arguments of type XMLStructure
  Modifier and Type
  Method
  Description
  `abstract KeyInfo`
  KeyInfoFactory.`newKeyInfo(List<? extends XMLStructure> content)`
  Creates a `KeyInfo` containing the specified list of key information types.
  `abstract KeyInfo`
  KeyInfoFactory.`newKeyInfo(List<? extends XMLStructure> content, String id)`
  Creates a `KeyInfo` containing the specified list of key information types and optional id.
  `abstract PGPData`
  KeyInfoFactory.`newPGPData(byte[] keyId, byte[] keyPacket, List<? extends XMLStructure> other)`
  Creates a `PGPData` from the specified PGP public key identifier, and optional key material packet and list of external elements.
  `abstract PGPData`
  KeyInfoFactory.`newPGPData(byte[] keyPacket, List<? extends XMLStructure> other)`
  Creates a `PGPData` from the specified PGP key material packet and optional list of external elements.

- ## Uses of XMLStructure in javax.xml.crypto.dsig.spec

  Methods in javax.xml.crypto.dsig.spec that return XMLStructure
  Modifier and Type
  Method
  Description
  `XMLStructure`
  XSLTTransformParameterSpec.`getStylesheet()`
  Returns the stylesheet.
  Constructors in javax.xml.crypto.dsig.spec with parameters of type XMLStructure
  Modifier
  Constructor
  Description
  ``
  `XSLTTransformParameterSpec(XMLStructure stylesheet)`
  Creates an `XSLTTransformParameterSpec` with the specified stylesheet.