IBM WebSphere Application ServerTM
Release 7

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

java.lang.Object
  extended by com.ibm.wsspi.wssecurity.auth.callback.X509BSCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class X509BSCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback

A callback for X509 binary security tokens.

See Also:
Callback

Constructor Summary
X509BSCallback()
           
 
Method Summary
 java.lang.String getAlias()
          Returns the alias of a X509Certificate object in the KeyStore.
 byte[] getBinary()
          Returns a binary (byte array) representation of the X509Certificate.
 java.security.cert.X509Certificate getCert()
          Returns a reference to the X509Certificate object
 java.lang.String getKeyStorePath()
          Returns the path of a keystore.
 void setAlias(java.lang.String alias)
          Sets the alias of a X509Certificate object in the KeyStore.
 void setBinary(byte[] binary)
           
 void setCert(java.security.cert.X509Certificate cert)
          Sets a reference to the X509Certificate object
 void setKeyStorePath(java.lang.String keyStorePath)
          Sets the path of a keystore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509BSCallback

public X509BSCallback()
Method Detail

setCert

public void setCert(java.security.cert.X509Certificate cert)
Sets a reference to the X509Certificate object

Parameters:
cert - The X509Certificate

getCert

public java.security.cert.X509Certificate getCert()
Returns a reference to the X509Certificate object

Returns:
java.security.cert.X509Certificate object

setBinary

public void setBinary(byte[] binary)

getBinary

public byte[] getBinary()
Returns a binary (byte array) representation of the X509Certificate.

Returns:
byte[] representation of the X509Certificate

setKeyStorePath

public void setKeyStorePath(java.lang.String keyStorePath)
Sets the path of a keystore.

Parameters:
keyStorePath - The path of a keystore

getKeyStorePath

public java.lang.String getKeyStorePath()
Returns the path of a keystore.

Returns:
The path of a keystore

setAlias

public void setAlias(java.lang.String alias)
Sets the alias of a X509Certificate object in the KeyStore.

Parameters:
keyStorePath - The alias of a X509Certificate object

getAlias

public java.lang.String getAlias()
Returns the alias of a X509Certificate object in the KeyStore.

Returns:
The alias of a X509Certificate object

IBM WebSphere Application ServerTM
Release 7