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

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

public static class PrivateKeyCallback.SubjectKeyIDRequest
extends Object

Request type for private keys that are identified via a SubjectKeyID


Constructor Summary
PrivateKeyCallback.SubjectKeyIDRequest(byte[] keyID)
          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[] keyID)

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:
keyID - identifier for the private key, or null.
Method Detail

getSubjectKeyID

public byte[] getSubjectKeyID()
Get the subjectKeyID.

Returns:
the subjectKeyID, or null.


Copyright © 2008 JBoss Inc.. All Rights Reserved.