public abstract class CapiCSPConfig
extends java.lang.Object
| Constructor and Description |
|---|
CapiCSPConfig(java.lang.String defaultCSP,
boolean requestAnySCCSPOnUpdate)
Create A CapiCSPConfig object
|
CapiCSPConfig(java.lang.String defaultCSP,
boolean requestAnySCCSPOnUpdate,
boolean failOnGetPreviousCSPFailure)
Create A CapiCSPConfig object
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getAnySCCSPName(java.lang.String CertDefnName,
java.lang.String[] cspList)
This method is used when generating the keys in CAPI.
|
java.lang.String |
getDefaultCSP()
Return the default CSP used when generating the keys in CAPI.
|
boolean |
getFailOnGetPreviousCSPFailure() |
boolean |
getRequestAnySCCSPOnUpdate() |
public CapiCSPConfig(java.lang.String defaultCSP,
boolean requestAnySCCSPOnUpdate)
defaultCSP - the defaltCSP to use when no CSP is suppliedrequestAnySCCSPOnUpdate - If the Any SmartCard CSP policy
is required by the PKI, this parameters is used to determine whether the
application will call this Objects
getAnySCCSPName(String, String[]) when a key update is
required. If set to false the previously used CSP will
be used.public CapiCSPConfig(java.lang.String defaultCSP,
boolean requestAnySCCSPOnUpdate,
boolean failOnGetPreviousCSPFailure)
defaultCSP - the defaltCSP to use when no CSP is suppliedrequestAnySCCSPOnUpdate - If the Any SmartCard CSP policy
is required by the PKI, this parameters is used to determine whether the
application will call this Objects
getAnySCCSPName(String, String[]) when a key update is
required. If set to false the previously used CSP will
be used.failOnGetPreviousCSPFailure - Flag to indicate if the key management will
fail if the users previous CSP cannot be determined. An Exception will be thrown to
denote the failure.public abstract java.lang.String getAnySCCSPName(java.lang.String CertDefnName,
java.lang.String[] cspList)
throws CapiException
CertDefnName - The Certificate Definition Policy Name for the
key that will be generatedcspList - The List of Smart Card CSP's that can be used for the specified
CertDefnNameCapiException - if a problem occurs when trying to get the CSPpublic java.lang.String getDefaultCSP()
throws CapiException
CapiException - is a problem occurs when trying to get the CSPpublic boolean getRequestAnySCCSPOnUpdate()
public boolean getFailOnGetPreviousCSPFailure()