JSR 105, v1.0 (Final Draft)

javax.xml.crypto
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.

See Also:
KeySelector

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

JSR 105, v1.0 (Final Draft)

Copyright © 2003-2005, Sun Microsystems, Inc. and IBM Corporation. All rights reserved.
Please send comments to: jsr-105-comments@sun.com