IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.wssecurity.auth.callback
Class PKCS7CallbackHandler

java.lang.Object
  extended by com.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
      extended by com.ibm.wsspi.wssecurity.auth.callback.PKCS7CallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public class PKCS7CallbackHandler
extends BSTokenCallbackHandler

This CallbackHandler handles certificate file and generates PKCS7 certificate data, with or without CRLs.

See Also:
BSTokenCallbackHandler

Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
BSTokenCallbackHandler.TokenInformation
 
Constructor Summary
PKCS7CallbackHandler(java.util.Map properties)
          Constructs a PKCS7CallbackHandler using a properties parameter.
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
          Gets the X509Certificate, encodes it as a PKCS7 certificate and sets it into the the BinaryTokenCallback.
 
Methods inherited from class com.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
_handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKCS7CallbackHandler

public PKCS7CallbackHandler(java.util.Map properties)
Constructs a PKCS7CallbackHandler using a properties parameter. The properties parameter should include only stateless information.

Parameters:
properties - A set of name-value pairs used for the initialization of a PKCS7CallbackHandler
Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws java.io.IOException,
                   javax.security.auth.callback.UnsupportedCallbackException
Gets the X509Certificate, encodes it as a PKCS7 certificate and sets it into the the BinaryTokenCallback.

Parameters:
callbacks - An array of Callback objects provided by the underlying security service which contains the information requested to be retrieved or displayed.
Throws:
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.
See Also:
#handle(javax.security.auth.callback.Callback[])

IBM WebSphere Application ServerTM
Release 8