javax.security.auth.message.callback
Class PrivateKeyCallback

java.lang.Object
  extended by javax.security.auth.message.callback.PrivateKeyCallback
All Implemented Interfaces:
Callback

public class PrivateKeyCallback
extends Object
implements Callback

Callback that enables an authentication module to request a certificate chain and private key from the runtime. The information specifying the chain and key may be an alias, a digest, a subject key, or an issuer ID. Other request types may be supported.

Version:
$Rev: 768352 $ $Date: 2009-04-24 09:26:01 -0700 (Fri, 24 Apr 2009) $

Nested Class Summary
static class PrivateKeyCallback.AliasRequest
           
static class PrivateKeyCallback.DigestRequest
           
static class PrivateKeyCallback.IssuerSerialNumRequest
           
static interface PrivateKeyCallback.Request
           
static class PrivateKeyCallback.SubjectKeyIDRequest
           
 
Constructor Summary
PrivateKeyCallback(PrivateKeyCallback.Request request)
           
 
Method Summary
 Certificate[] getChain()
           
 PrivateKey getKey()
           
 PrivateKeyCallback.Request getRequest()
           
 void setKey(PrivateKey key, Certificate[] chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateKeyCallback

public PrivateKeyCallback(PrivateKeyCallback.Request request)
Method Detail

getRequest

public PrivateKeyCallback.Request getRequest()

getChain

public Certificate[] getChain()

getKey

public PrivateKey getKey()

setKey

public void setKey(PrivateKey key,
                   Certificate[] chain)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.