| Package | Description | 
|---|---|
| javax.xml.crypto | Common classes for XML cryptography. | 
| javax.xml.crypto.dsig | Classes for generating and validating XML digital
signatures. | 
| javax.xml.crypto.dsig.keyinfo | Classes for parsing and processing  KeyInfoelements and structures. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract KeySelectorResult | KeySelector. select(KeyInfo keyInfo,
      KeySelector.Purpose purpose,
      AlgorithmMethod method,
      XMLCryptoContext context)Attempts to find a key that satisfies the specified constraints. | 
| Modifier and Type | Method and Description | 
|---|---|
| KeyInfo | XMLSignature. getKeyInfo()Returns the key info of this  XMLSignature. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract XMLSignature | XMLSignatureFactory. newXMLSignature(SignedInfo si,
               KeyInfo ki)Creates an  XMLSignatureand initializes it with the contents
 of the specifiedSignedInfoandKeyInfoobjects. | 
| abstract XMLSignature | XMLSignatureFactory. newXMLSignature(SignedInfo si,
               KeyInfo ki,
               List objects,
               String id,
               String signatureValueId)Creates an  XMLSignatureand initializes it with the
 specified parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract KeyInfo | KeyInfoFactory. newKeyInfo(List content)Creates a  KeyInfocontaining the specified list of
 key information types. | 
| abstract KeyInfo | KeyInfoFactory. newKeyInfo(List content,
          String id)Creates a  KeyInfocontaining the specified list of key
 information types and optional id. | 
| abstract KeyInfo | KeyInfoFactory. unmarshalKeyInfo(XMLStructure xmlStructure)Unmarshals a new  KeyInfoinstance from a
 mechanism-specificXMLStructure(ex:DOMStructure)
 instance. | 
 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, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.