KeySelectorResult (Java Platform SE 6) (original) (raw)
javax.xml.crypto
Interface KeySelectorResult
public interface KeySelectorResult
The result returned by the [KeySelector.select](../../../javax/xml/crypto/KeySelector.html#select%28javax.xml.crypto.dsig.keyinfo.KeyInfo, javax.xml.crypto.KeySelector.Purpose, javax.xml.crypto.AlgorithmMethod, javax.xml.crypto.XMLCryptoContext%29) method.
At a minimum, a KeySelectorResult
contains the Key
selected by the KeySelector
. Implementations of this interface may add methods to return implementation or algorithm specific information, such as a chain of certificates or debugging information.
Since:
1.6
See Also:
Method Summary | |
---|---|
Key | getKey() Returns the selected key. |
Method Detail |
---|
getKey
Key getKey()
Returns the selected key.
Returns:
the selected key, or null
if none can be found
Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer 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. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.