com.ibm.websphere.wssecurity.callbackhandler

Class X509GenerateCallback

  1. java.lang.Object
  2. extended bycom.ibm.websphere.wssecurity.callbackhandler.X509GenerateCallback
All implemented interfaces:
javax.security.auth.callback.Callback

  1. public class X509GenerateCallback
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.Callback
This is a callback class for the X509 token in generator side.
See Also:
X509Token, X509PKCS7Token, X509PKIPathToken, X509GenerateCallbackHandler

Constructor Summary

Constructor and Description
X509GenerateCallback()

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getAlias()
Returns the alias name.
  1. java.util.List<java.security.cert.CertStore>
getCertStores()
Returns the list of certificate stores.
  1. java.lang.String
getKeyName()
Returns the name of the key.
  1. char[]
getKeyPassword()
Returns the password for recovering the key.
  1. char[]
getKeyStorePassword()
Returns the type of the keystore.
  1. java.lang.String
getKeyStorePath()
Returns the file path from which the keystore is loaded.
  1. java.lang.String
getKeyStoreReference()
Returns the reference name of the keystore
  1. java.lang.String
getKeyStoreType()
Returns the type of the keystore.
  1. boolean
isUsedIdentityAssertion()
Returns the flag that indicates whether the identity assertion is used or not.
  1. boolean
isUsedRequestorCertificate()
Returns whether the certificate of requestor is used or not.
  1. void
setAlias(java.lang.String alias)
Sets the type of the keystore.
  1. void
setCertStores(java.util.List<java.security.cert.CertStore> certStores)
Sets the list of certificate stores.
  1. void
setKeyName(java.lang.String keyName)
Sets the name of the key.
  1. void
setKeyPassword(char[] keyPassword)
Sets the password for recovering the key.
  1. void
setKeyStorePassword(char[] storePassword)
Sets the type of the keystore.
  1. void
setKeyStorePath(java.lang.String storePath)
Sets the file path from which the keystore is loaded.
  1. void
setKeyStoreReference(java.lang.String storeRef)
Sets the reference name of the keystore.
  1. void
setKeyStoreType(java.lang.String storeType)
Sets the type of the keystore.
  1. void
setUsedIdentityAssertion(boolean identityAssertion)
Sets the flag that indicates whether the identity assertion is used or not.
  1. void
setUsedRequestorCertificate(boolean requestorCertificate)
Sets whether the certificate of requestor is used or not.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

X509GenerateCallback

  1. public X509GenerateCallback()

Method Detail

getKeyStoreReference

  1. public java.lang.String getKeyStoreReference( )
Returns the reference name of the keystore
Returns:
reference name of the keystore

setKeyStoreReference

  1. public void setKeyStoreReference( java.lang.String storeRef)
Sets the reference name of the keystore.
Parameters:
storeRef - reference name of the keystore

getKeyStorePath

  1. public java.lang.String getKeyStorePath( )
Returns the file path from which the keystore is loaded.
Returns:
path of the keystore

setKeyStorePath

  1. public void setKeyStorePath(java.lang.String storePath)
Sets the file path from which the keystore is loaded.
Parameters:
storePath - path of the keystore

getKeyStoreType

  1. public java.lang.String getKeyStoreType( )
Returns the type of the keystore.
Returns:
type of the keystore

setKeyStoreType

  1. public void setKeyStoreType(java.lang.String storeType)
Sets the type of the keystore.
Parameters:
storeType - The type of the keystore

getKeyStorePassword

  1. public char[] getKeyStorePassword( )
Returns the type of the keystore.
Returns:
password used to check the integrity of the keystore or the password used to unlock the keystore

setKeyStorePassword

  1. public void setKeyStorePassword( char[] storePassword)
Sets the type of the keystore.
Parameters:
storePassword - password used to check the integrity of the keystore or the password used to unlock the keystore

getAlias

  1. public java.lang.String getAlias( )
Returns the alias name.
Returns:
alias name

setAlias

  1. public void setAlias(java.lang.String alias)
Sets the type of the keystore.
Parameters:
alias - alias name

getKeyPassword

  1. public char[] getKeyPassword()
Returns the password for recovering the key.
Returns:
password for recovering the key

setKeyPassword

  1. public void setKeyPassword(char[] keyPassword)
Sets the password for recovering the key.
Parameters:
keyPassword - password for recovering the key

getKeyName

  1. public java.lang.String getKeyName( )
Returns the name of the key.
Returns:
name of the key

setKeyName

  1. public void setKeyName(java.lang.String keyName)
Sets the name of the key.

getCertStores

  1. public java.util.List<java.security.cert.CertStore> getCertStores( )
Returns the list of certificate stores.
Returns:
list of certificate stores

setCertStores

  1. public void setCertStores(java.util.List<java.security.cert.CertStore> certStores)
Sets the list of certificate stores.
Parameters:
certStores - list of certificate stores

isUsedRequestorCertificate

  1. public boolean isUsedRequestorCertificate( )
Returns whether the certificate of requestor is used or not.
Returns:
true if the certificate of requestor is used

setUsedRequestorCertificate

  1. public void setUsedRequestorCertificate( boolean requestorCertificate)
Sets whether the certificate of requestor is used or not.

isUsedIdentityAssertion

  1. public boolean isUsedIdentityAssertion( )
Returns the flag that indicates whether the identity assertion is used or not.
Returns:
true if identity assertion is required

setUsedIdentityAssertion

  1. public void setUsedIdentityAssertion( boolean identityAssertion)
Sets the flag that indicates whether the identity assertion is used or not.
Parameters:
identityAssertion - true if identity assertion is required