com.ibm.wsspi.wssecurity.auth.callback

Class X509BSCallback

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.callback.X509BSCallback
All implemented interfaces:
javax.security.auth.callback.Callback

  1. public class X509BSCallback
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.Callback
A callback for X509 binary security tokens.
See Also:
Callback

Constructor Summary

Constructor and Description
X509BSCallback()

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getAlias()
Returns the alias of a X509Certificate object in the KeyStore.
  1. byte[]
getBinary()
Returns a binary (byte array) representation of the X509Certificate.
  1. java.security.cert.X509Certificate
getCert()
Returns a reference to the X509Certificate object
  1. java.lang.String
getKeyStorePath()
Returns the path of a keystore.
  1. void
setAlias(java.lang.String alias)
Sets the alias of a X509Certificate object in the KeyStore.
  1. void
setBinary(byte[] binary)
  1. void
setCert(java.security.cert.X509Certificate cert)
Sets a reference to the X509Certificate object
  1. 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

  1. public X509BSCallback()

Method Detail

setCert

  1. public void setCert(java.security.cert.X509Certificate cert)
Sets a reference to the X509Certificate object
Parameters:
cert - The X509Certificate

getCert

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

setBinary

  1. public void setBinary(byte[] binary)

getBinary

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

setKeyStorePath

  1. public void setKeyStorePath(java.lang.String keyStorePath)
Sets the path of a keystore.
Parameters:
keyStorePath - The path of a keystore

getKeyStorePath

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

setAlias

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

getAlias

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