javax.security.auth.message.callback
Class PrivateKeyCallback
java.lang.Object
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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivateKeyCallback
public PrivateKeyCallback(PrivateKeyCallback.Request request)
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.