| Package | Description | 
|---|---|
| javax.xml.crypto | Common classes for XML cryptography. | 
| javax.xml.crypto.dom | DOM-specific classes for the  javax.xml.cryptopackage. | 
| javax.xml.crypto.dsig.dom | DOM-specific classes for the  javax.xml.crypto.dsigpackage. | 
| Modifier and Type | Method and Description | 
|---|---|
| KeySelector | XMLCryptoContext. getKeySelector()Returns the key selector for finding a key. | 
| static KeySelector | KeySelector. singletonKeySelector(Key key)Returns a  KeySelectorthat always selects the specified
 key, regardless of theKeyInfopassed to it. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | XMLCryptoContext. setKeySelector(KeySelector ks)Sets the key selector for finding a key. | 
| Modifier and Type | Method and Description | 
|---|---|
| KeySelector | DOMCryptoContext. getKeySelector() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DOMCryptoContext. setKeySelector(KeySelector ks) | 
| Constructor and Description | 
|---|
| DOMSignContext(KeySelector ks,
              Node parent)Creates a  DOMSignContextwith the specified key selector
 and parent node. | 
| DOMSignContext(KeySelector ks,
              Node parent,
              Node nextSibling)Creates a  DOMSignContextwith the specified key selector,
 parent and next sibling nodes. | 
| DOMValidateContext(KeySelector ks,
                  Node node)Creates a  DOMValidateContextcontaining the specified key
 selector and node. | 
 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, 2015, Oracle and/or its affiliates.  All rights reserved.