com.ibm.websphere.wssecurity.callbackhandler
Class X509ConsumeCallback
- java.lang.Object
com.ibm.websphere.wssecurity.callbackhandler.X509ConsumeCallback
All implemented interfaces:
javax.security.auth.callback.Callback
- public class X509ConsumeCallback
- extends java.lang.Object
- implements javax.security.auth.callback.Callback
See Also:
Constructor Summary
Constructor and Description |
---|
X509ConsumeCallback()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
existKeyStore()
Returns whether the keystore used for keylocator exists or not.
|
|
getAlias()
Returns the alias name.
|
|
getCertPathParameter()
Returns the parameter used to check the path of X.509 certificates.
|
|
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 used for key locator.
|
|
getKeyStorePath()
Returns the file path from which the keystore used for key locator is loaded.
|
|
getKeyStoreReference()
Returns the reference name of the keystore used for key locator.
|
|
getKeyStoreType()
Returns the type of the keystore used for key locator.
|
|
getProvider()
Returns the security provider.
|
|
getTrustAnchorPassword()
Returns the type of the trust anchor.
|
|
getTrustAnchorPath()
Returns the file path from which the trust anchor is loaded.
|
|
getTrustAnchorType()
Returns the type of the trust anchor.
|
|
isTrustAnyCertificate()
Returns whether any certificate is trusted or not.
|
|
setAlias(java.lang.String alias)
Sets the type of the keystore.
|
|
setCertPathParameter(java.security.cert.PKIXBuilderParameters certPathParam)
Sets the parameter used to check the path of X.509 certificates.
|
|
setCertStores(java.util.List certStores)
Sets the list of certificate stores.
|
|
setExistKeyStore(boolean existKeyStore)
Sets whether the keystore used for keylocator exists or not.
|
|
setKeyName(java.lang.String keyName)
Sets the name of the key.
|
|
setKeyPassword(char[] keyPassword)
Sets the password for recovering the key.
|
|
setKeyStorePassword(char[] keyStorePassword)
Sets the type of the keystore used for key locator.
|
|
setKeyStorePath(java.lang.String keyStorePath)
Sets the file path from which the keystore used for key locator is loaded.
|
|
setKeyStoreReference(java.lang.String keyStoreRef)
Sets the reference name of the keystore used for key locator.
|
|
setKeyStoreType(java.lang.String keyStoreType)
Sets the type of the keystore used for key locator.
|
|
setProvider(java.security.Provider provider)
Sets the security provider.
|
|
setTrustAnchorPassword(char[] trustAnchorPassword)
Sets the type of the trust anchor.
|
|
setTrustAnchorPath(java.lang.String trustAnchorPath)
Sets the file path from which the trust anchor is loaded.
|
|
setTrustAnchorType(java.lang.String trustAnchorType)
Sets the type of the trust anchor.
|
|
setTrustAnyCertificate(boolean trustAnyCertificate)
Sets whether any certificate is trusted or not.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
X509ConsumeCallback
- public X509ConsumeCallback()
Method Detail
existKeyStore
- public boolean existKeyStore()
Returns whether the keystore used for keylocator exists or not.
Returns:
true if the keystore configuration exists
setExistKeyStore
- public void setExistKeyStore(boolean existKeyStore)
Sets whether the keystore used for keylocator exists or not.
Parameters:
existKeyStore
- true if the keystore configuration exists getKeyStoreReference
- public java.lang.String getKeyStoreReference( )
Returns the reference name of the keystore used for key locator.
Returns:
reference name of the keystore
setKeyStoreReference
- public void setKeyStoreReference( java.lang.String keyStoreRef)
Sets the reference name of the keystore used for key locator.
Parameters:
keyStoreRef
- reference name of the keystore getKeyStorePath
- public java.lang.String getKeyStorePath( )
Returns the file path from which the keystore used for key locator is loaded.
Returns:
path of the keystore
setKeyStorePath
- public void setKeyStorePath(java.lang.String keyStorePath)
Sets the file path from which the keystore used for key locator is loaded.
Parameters:
keyStorePath
- path of the keystore getKeyStoreType
- public java.lang.String getKeyStoreType( )
Returns the type of the keystore used for key locator.
Returns:
type of the keystore
setKeyStoreType
- public void setKeyStoreType(java.lang.String keyStoreType)
Sets the type of the keystore used for key locator.
Parameters:
keyStoreType
- type of the keystore getKeyStorePassword
- public char[] getKeyStorePassword( )
Returns the type of the keystore used for key locator.
Returns:
password used to check the integrity of the keystore used for
key locator or the password used to unlock the keystore
setKeyStorePassword
- public void setKeyStorePassword( char[] keyStorePassword)
Sets the type of the keystore used for key locator.
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
- the 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.
isTrustAnyCertificate
- public boolean isTrustAnyCertificate( )
Returns whether any certificate is trusted or not.
Returns:
true if any certificate is trusted
setTrustAnyCertificate
- public void setTrustAnyCertificate( boolean trustAnyCertificate)
Sets whether any certificate is trusted or not.
Parameters:
trustAnyCertificate
- true if any certificate is trusted getTrustAnchorPath
- public java.lang.String getTrustAnchorPath( )
Returns the file path from which the trust anchor is loaded.
Returns:
path of the trust anchor
setTrustAnchorPath
- public void setTrustAnchorPath( java.lang.String trustAnchorPath)
Sets the file path from which the trust anchor is loaded.
Parameters:
trustAnchorPath
- path of the trust anchor getTrustAnchorType
- public java.lang.String getTrustAnchorType( )
Returns the type of the trust anchor.
Returns:
type of the trust anchor
setTrustAnchorType
- public void setTrustAnchorType( java.lang.String trustAnchorType)
Sets the type of the trust anchor.
Parameters:
trustAnchorType
- type of the trust anchor getTrustAnchorPassword
- public char[] getTrustAnchorPassword( )
Returns the type of the trust anchor.
Returns:
password used to check the integrity of the trust anchor or the
password used to unlock the trust anchor
setTrustAnchorPassword
- public void setTrustAnchorPassword( char[] trustAnchorPassword)
Sets the type of the trust anchor.
getCertStores
- public java.util.List getCertStores( )
Returns the list of certificate stores.
Returns:
list of certificate stores
setCertStores
- public void setCertStores(java.util.List certStores)
Sets the list of certificate stores.
Parameters:
certStores
- the list of certificate stores getProvider
- public java.security.Provider getProvider( )
Returns the security provider.
Returns:
security provider
setProvider
- public void setProvider(java.security.Provider provider)
Sets the security provider.
Parameters:
provider
- security provider getCertPathParameter
- public java.security.cert.PKIXBuilderParameters getCertPathParameter( )
Returns the parameter used to check the path of X.509 certificates.
Returns:
parameter used to check the path of X.509 certificates
setCertPathParameter
- public void setCertPathParameter( java.security.cert.PKIXBuilderParameters certPathParam)
Sets the parameter used to check the path of X.509 certificates.
Parameters:
certPathParam
- parameter used to check the path of X.509 certificates