| 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  
KeyInfo elements 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  
XMLSignature and initializes it with the contents
 of the specified SignedInfo and KeyInfo
 objects. | 
abstract XMLSignature | 
XMLSignatureFactory.newXMLSignature(SignedInfo si,
               KeyInfo ki,
               List objects,
               String id,
               String signatureValueId)
Creates an  
XMLSignature and initializes it with the
 specified parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
abstract KeyInfo | 
KeyInfoFactory.newKeyInfo(List content)
Creates a  
KeyInfo containing the specified list of
 key information types. | 
abstract KeyInfo | 
KeyInfoFactory.newKeyInfo(List content,
          String id)
Creates a  
KeyInfo containing the specified list of key
 information types and optional id. | 
abstract KeyInfo | 
KeyInfoFactory.unmarshalKeyInfo(XMLStructure xmlStructure)
Unmarshals a new  
KeyInfo instance from a
 mechanism-specific XMLStructure (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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.