com.ibm.websphere.wssecurity.callbackhandler
Class X509GenerateCallback
- java.lang.Object
com.ibm.websphere.wssecurity.callbackhandler.X509GenerateCallback
All implemented interfaces:
javax.security.auth.callback.Callback
- public class X509GenerateCallback
- extends java.lang.Object
- implements javax.security.auth.callback.Callback
See Also:
Constructor Summary
Constructor and Description |
---|
X509GenerateCallback()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getAlias()
Returns the alias name.
|
|
getCertStores()
Returns the list of certificate stores.
|
|
getKeyName()
Returns the name of the key.
|
|
getKeyPassword()
Returns the password for recovering the key.
|
|
getKeyStorePassword()
Returns the type of the keystore.
|
|
getKeyStorePath()
Returns the file path from which the keystore is loaded.
|
|
getKeyStoreReference()
Returns the reference name of the keystore
|
|
getKeyStoreType()
Returns the type of the keystore.
|
|
isUsedIdentityAssertion()
Returns the flag that indicates whether the identity assertion is used or not.
|
|
isUsedRequestorCertificate()
Returns whether the certificate of requestor is used or not.
|
|
setAlias(java.lang.String alias)
Sets the type of the keystore.
|
|
setCertStores(java.util.List<java.security.cert.CertStore> certStores)
Sets the list of certificate stores.
|
|
setKeyName(java.lang.String keyName)
Sets the name of the key.
|
|
setKeyPassword(char[] keyPassword)
Sets the password for recovering the key.
|
|
setKeyStorePassword(char[] storePassword)
Sets the type of the keystore.
|
|
setKeyStorePath(java.lang.String storePath)
Sets the file path from which the keystore is loaded.
|
|
setKeyStoreReference(java.lang.String storeRef)
Sets the reference name of the keystore.
|
|
setKeyStoreType(java.lang.String storeType)
Sets the type of the keystore.
|
|
setUsedIdentityAssertion(boolean identityAssertion)
Sets the flag that indicates whether the identity assertion is used or not.
|
|
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
- public X509GenerateCallback()
Method Detail
getKeyStoreReference
- public java.lang.String getKeyStoreReference( )
Returns the reference name of the keystore
Returns:
reference name of the keystore
setKeyStoreReference
- public void setKeyStoreReference( java.lang.String storeRef)
Sets the reference name of the keystore.
Parameters:
storeRef
- reference name of the keystore getKeyStorePath
- public java.lang.String getKeyStorePath( )
Returns the file path from which the keystore is loaded.
Returns:
path of the keystore
setKeyStorePath
- public void setKeyStorePath(java.lang.String storePath)
Sets the file path from which the keystore is loaded.
Parameters:
storePath
- path of the keystore getKeyStoreType
- public java.lang.String getKeyStoreType( )
Returns the type of the keystore.
Returns:
type of the keystore
setKeyStoreType
- public void setKeyStoreType(java.lang.String storeType)
Sets the type of the keystore.
Parameters:
storeType
- The type of the keystore getKeyStorePassword
- 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
- 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
- public java.lang.String getAlias( )
Returns the alias name.
Returns:
alias name
setAlias
- public void setAlias(java.lang.String alias)
Sets the type of the keystore.
Parameters:
alias
- alias name getKeyPassword
- public char[] getKeyPassword()
Returns the password for recovering the key.
Returns:
password for recovering the key
setKeyPassword
- public void setKeyPassword(char[] keyPassword)
Sets the password for recovering the key.
Parameters:
keyPassword
- password for recovering the key getKeyName
- public java.lang.String getKeyName( )
Returns the name of the key.
Returns:
name of the key
setKeyName
- public void setKeyName(java.lang.String keyName)
Sets the name of the key.
getCertStores
- public java.util.List<java.security.cert.CertStore> getCertStores( )
Returns the list of certificate stores.
Returns:
list of certificate stores
setCertStores
- public void setCertStores(java.util.List<java.security.cert.CertStore> certStores)
Sets the list of certificate stores.
Parameters:
certStores
- list of certificate stores isUsedRequestorCertificate
- public boolean isUsedRequestorCertificate( )
Returns whether the certificate of requestor is used or not.
Returns:
true if the certificate of requestor is used
setUsedRequestorCertificate
- public void setUsedRequestorCertificate( boolean requestorCertificate)
Sets whether the certificate of requestor is used or not.
isUsedIdentityAssertion
- public boolean isUsedIdentityAssertion( )
Returns the flag that indicates whether the identity assertion is used or not.
Returns:
true if identity assertion is required
setUsedIdentityAssertion
- 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