public class PKCS7CallbackHandler extends BSTokenCallbackHandler
CallbackHandler handles certificate file and generates PKCS7 certificate data,
with or without CRLs.BSTokenCallbackHandlerBSTokenCallbackHandler.TokenInformation| Constructor and Description |
|---|
PKCS7CallbackHandler(java.util.Map properties)
Constructs a
PKCS7CallbackHandler using a properties
parameter. |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Gets the
X509Certificate, encodes it as a PKCS7 certificate and sets it into the
the BinaryTokenCallback. |
_handlepublic PKCS7CallbackHandler(java.util.Map properties)
PKCS7CallbackHandler using a properties
parameter.
The properties parameter should include only stateless information.properties - A set of name-value pairs used for the initialization of
a PKCS7CallbackHandlerpublic void handle(javax.security.auth.callback.Callback[] callbacks)
throws java.io.IOException,
javax.security.auth.callback.UnsupportedCallbackException
X509Certificate, encodes it as a PKCS7 certificate and sets it into the
the BinaryTokenCallback.callbacks - An array of Callback objects provided by the underlying
security service which contains the information
requested to be retrieved or displayed.java.io.IOException - If an input or output error occurs.javax.security.auth.callback.UnsupportedCallbackException - If the implementation of this method does not support one or more of the
Callbacks specified in the callbacks parameter.#handle(javax.security.auth.callback.Callback[])