javax.security.auth.message.callback
Class PrivateKeyCallback.SubjectKeyIDRequest

java.lang.Object
  extended by javax.security.auth.message.callback.PrivateKeyCallback.SubjectKeyIDRequest
All Implemented Interfaces:
PrivateKeyCallback.Request
Enclosing class:
PrivateKeyCallback

public static class PrivateKeyCallback.SubjectKeyIDRequest
extends java.lang.Object
implements PrivateKeyCallback.Request

Request type for private keys that are identified using a SubjectKeyID


Constructor Summary
PrivateKeyCallback.SubjectKeyIDRequest(byte[] subjectKeyID)
          Construct a SubjectKeyIDRequest with an subjectKeyID.
 
Method Summary
 byte[] getSubjectKeyID()
          Get the subjectKeyID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateKeyCallback.SubjectKeyIDRequest

public PrivateKeyCallback.SubjectKeyIDRequest(byte[] subjectKeyID)
Construct a SubjectKeyIDRequest with an subjectKeyID.

The subjectKeyID is used to directly identify the private key to be returned. The corresponding certificate chain for the private key is also returned.

If the subjectKeyID is null, the handler of the callback relies on its own default.

Parameters:
subjectKeyID - Identifier for the private key, or null.
Method Detail

getSubjectKeyID

public byte[] getSubjectKeyID()
Get the subjectKeyID.

Returns:
The subjectKeyID, or null.


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34