Interface KeySelectorResult


public interface KeySelectorResult

The result returned by the KeySelector.select 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:
KeySelector

Methods

Modifier and Type Method and Description
Key getKey()

Returns the selected key.

Methods

getKey

Key getKey()

Returns the selected key.

Returns:
the selected key, or null if none can be found

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/xml/crypto/KeySelectorResult.html