You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1023 B
55 lines
1023 B
/*
|
|
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
/*
|
|
* $Id: KeySelectorResult.java,v 1.3 2005/05/10 15:47:42 mullan Exp $
|
|
*/
|
|
package javax.xml.crypto;
|
|
|
|
import java.security.Key;
|
|
|
|
/**
|
|
* The result returned by the {@link KeySelector#select KeySelector.select}
|
|
* method.
|
|
* <p>
|
|
* At a minimum, a <code>KeySelectorResult</code> contains the <code>Key</code>
|
|
* selected by the <code>KeySelector</code>. Implementations of this interface
|
|
* may add methods to return implementation or algorithm specific information,
|
|
* such as a chain of certificates or debugging information.
|
|
*
|
|
* @author Sean Mullan
|
|
* @author JSR 105 Expert Group
|
|
* @since 1.6
|
|
* @see KeySelector
|
|
*/
|
|
public interface KeySelectorResult {
|
|
|
|
/**
|
|
* Returns the selected key.
|
|
*
|
|
* @return the selected key, or <code>null</code> if none can be found
|
|
*/
|
|
Key getKey();
|
|
}
|