|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.iplanet.trustbase.initiator.config.PropertyConfigAdapter
|
+--com.iplanet.trustbase.initiator.config.ErrorConfigAdapter
Implementation of ConfigAdapter using PropertyConfigAdapter - it is for DSMS testing and should not be instantiated in a correctly configured system.
ConfigAdapter,
com.iplanet.trustbase.initiator.PropertyConfigAdapter,
ConfigAdapterException,
ExceptionCodes| Field Summary | |
static java.lang.String |
ERROR_PROPERTY
|
| Constructor Summary | |
ErrorConfigAdapter()
Create a blank ErrorConfigAdapter |
|
ErrorConfigAdapter(java.util.Properties properties,
java.util.Map objectProperties,
java.security.PrivateKey signingKey,
java.security.cert.X509Certificate[] signerPath,
java.security.cert.X509Certificate[][] verificationPaths)
Create a ErrorConfigAdapter. |
|
ErrorConfigAdapter(java.util.Properties properties,
java.util.Map objectProperties,
java.lang.String signingName,
java.lang.String[] verificationNames,
TokenKeyStore store)
Create a ErrorConfigAdapter. |
|
ErrorConfigAdapter(java.util.Properties properties,
java.security.PrivateKey signingKey,
java.security.cert.X509Certificate[] signerPath,
java.security.cert.X509Certificate[][] verificationPaths)
Create a ErrorConfigAdapter. |
|
ErrorConfigAdapter(java.util.Properties properties,
java.lang.String signingName,
java.lang.String[] verificationNames,
TokenKeyStore store)
Create a ErrorConfigAdapter. |
|
ErrorConfigAdapter(java.util.Properties properties,
java.lang.String signingName,
java.lang.String sslsigningName,
java.lang.String[] verificationNames,
TokenKeyStore store)
Create a ErrorConfigAdapter. |
|
| Method Summary | |
java.lang.Object |
getObjectProperty(java.lang.String property)
Returns an object with the given property name from the system. |
java.lang.String |
getProperty(java.lang.String property)
Get a property from the system. |
java.security.PrivateKey |
getSignerKey()
Get the private key used to sign the request message. |
java.security.cert.X509Certificate[] |
getSignerPath()
Get the certificate path that will be included in the request as the signer's certificate path. |
java.security.PrivateKey |
getSSLSignerKey()
Get the private key used in SSL Transactions. |
java.security.cert.X509Certificate[] |
getSSLSignerPath()
Get the SSL certificate path to be used in SSL Transactions. |
java.security.cert.X509Certificate[][] |
getVerificationPaths()
Get the set of certificate paths that will be used to verify the response message. |
| Methods inherited from class com.iplanet.trustbase.initiator.config.PropertyConfigAdapter |
completeChain, completeChain, validateChain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String ERROR_PROPERTY
| Constructor Detail |
public ErrorConfigAdapter(java.util.Properties properties,
java.util.Map objectProperties,
java.security.PrivateKey signingKey,
java.security.cert.X509Certificate[] signerPath,
java.security.cert.X509Certificate[][] verificationPaths)
properties - the properties object to useobjectProperties - the object properties to use.signingKey - the private key used to sign the requestsignerPath - the certificate path to be included in a requestverificationPaths - the set of certificate paths used to verify the response
public ErrorConfigAdapter(java.util.Properties properties,
java.security.PrivateKey signingKey,
java.security.cert.X509Certificate[] signerPath,
java.security.cert.X509Certificate[][] verificationPaths)
properties - the properties object to usesigningKey - the private key used to sign the requestsignerPath - the certificate path to be included in a requestverificationPaths - the set of certificate paths used to verify the response
public ErrorConfigAdapter(java.util.Properties properties,
java.util.Map objectProperties,
java.lang.String signingName,
java.lang.String[] verificationNames,
TokenKeyStore store)
throws ConfigAdapterException
properties - the properties object to use.signingName - the name of the certificate and key pair to use for signing.verificationName - the names of the certificate chains to use for verification.store - the token key store to retrieve the keys and certificates from.ConfigAdapterException - if it cannot access a certificate or key it needs.
public ErrorConfigAdapter(java.util.Properties properties,
java.lang.String signingName,
java.lang.String[] verificationNames,
TokenKeyStore store)
throws ConfigAdapterException
properties - the properties object to use.signingName - the name of the certificate and key pair to use for signing.verificationName - the names of the certificate chains to use for verification.store - the token key store to retrieve the keys and certificates from.ConfigAdapterException - if it cannot access a certificate or key it needs.
public ErrorConfigAdapter(java.util.Properties properties,
java.lang.String signingName,
java.lang.String sslsigningName,
java.lang.String[] verificationNames,
TokenKeyStore store)
throws ConfigAdapterException
properties - the properties object to use.signingName - the name of the certificate and key pair to use for signing.sslsigningname - the name of the certificate and key pair to use for ssl client transactions.verificationName - the names of the certificate chains to use for verification.store - the token key store to retrieve the keys and certificates from.ConfigAdapterException - if it cannot access a certificate or key it needs.public ErrorConfigAdapter()
| Method Detail |
public java.lang.String getProperty(java.lang.String property)
throws ConfigAdapterException
getProperty in class PropertyConfigAdapterproperty - the name of the property required
public java.lang.Object getObjectProperty(java.lang.String property)
throws ConfigAdapterException
getObjectProperty in class PropertyConfigAdaptercom.iplanet.trustbase.initiator.ConfigAdapterproperty - the name of the property required.ConfigAdapterException - if the property could not be found
and processing should not continue.
public java.security.cert.X509Certificate[] getSignerPath()
throws ConfigAdapterException
getSignerPath in class PropertyConfigAdapter
public java.security.PrivateKey getSignerKey()
throws ConfigAdapterException
getSignerKey in class PropertyConfigAdapter
public java.security.cert.X509Certificate[] getSSLSignerPath()
throws ConfigAdapterException
getSSLSignerPath in class PropertyConfigAdapter
public java.security.PrivateKey getSSLSignerKey()
throws ConfigAdapterException
getSSLSignerKey in class PropertyConfigAdapter
public java.security.cert.X509Certificate[][] getVerificationPaths()
throws ConfigAdapterException
getVerificationPaths in class PropertyConfigAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||