Class PrivateKeyCallback
- java.lang.Object
- 
- javax.security.auth.message.callback.PrivateKeyCallback
 
- 
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
 
 public class PrivateKeyCallback extends java.lang.Object implements javax.security.auth.callback.CallbackCallback 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.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPrivateKeyCallback.AliasRequeststatic classPrivateKeyCallback.DigestRequeststatic classPrivateKeyCallback.IssuerSerialNumRequeststatic interfacePrivateKeyCallback.Requeststatic classPrivateKeyCallback.SubjectKeyIDRequest
 - 
Constructor SummaryConstructors Constructor Description PrivateKeyCallback(PrivateKeyCallback.Request request)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.cert.Certificate[]getChain()java.security.PrivateKeygetKey()PrivateKeyCallback.RequestgetRequest()voidsetKey(java.security.PrivateKey key, java.security.cert.Certificate[] chain)
 
- 
- 
- 
Constructor Detail- 
PrivateKeyCallbackpublic PrivateKeyCallback(PrivateKeyCallback.Request request) 
 
- 
 - 
Method Detail- 
getRequestpublic PrivateKeyCallback.Request getRequest() 
 - 
setKeypublic void setKey(java.security.PrivateKey key, java.security.cert.Certificate[] chain)
 - 
getKeypublic java.security.PrivateKey getKey() 
 - 
getChainpublic java.security.cert.Certificate[] getChain() 
 
- 
 
-