public abstract class CapiCSPConfigESP extends CapiCSPConfig
When a subclass of this CapiCSPConfig object is used, it will only call the getAnySCCSPSection() CallBack API at most 1 time when it encounters the "Any SmartCard" CSP policy. Therefore, all Certificate Definition Policies which have "Any SmartCard" defined in policy will use the same CSP.
Similar to Entrust Security Provider, the callBack API will only be called when a user is created or recovered, it will not be asked when an update operation is being performed.
| Constructor and Description |
|---|
CapiCSPConfigESP(java.lang.String defaultCSP)
Create a CapiCSPConfigESP that will use the
default CSP
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAnySCCSPName(java.lang.String CertDefnName,
java.lang.String[] cspList)
This method will only ever call
getAnySCCSPSelection(String, String[])
once. |
abstract java.lang.String |
getAnySCCSPSelection(java.lang.String CertDefnName,
java.lang.String[] cspList)
This method will be called when there is more than 1 smart card
CSP installed on the System and the "Any SmartCard" policy has
been selected in the PKI.
|
getDefaultCSP, getFailOnGetPreviousCSPFailure, getRequestAnySCCSPOnUpdatepublic CapiCSPConfigESP(java.lang.String defaultCSP)
defaultCSP - The default CSP to usepublic java.lang.String getAnySCCSPName(java.lang.String CertDefnName,
java.lang.String[] cspList)
throws CapiException
getAnySCCSPSelection(String, String[])
once. All Keys using the Any SmartCard policy will be mapped to the
selected CSP.getAnySCCSPName in class CapiCSPConfigCertDefnName - The Certificate Definition Name of the policy which
requires a Smart Card CSP to be selectedcspList - The list of Smart Card CSP's that are availableCapiException - if a problem occurs when trying to get the CSPpublic abstract java.lang.String getAnySCCSPSelection(java.lang.String CertDefnName,
java.lang.String[] cspList)
throws CapiException
CertDefnName - The Certificate definition policy settingcspList - The list of SmartCard CSP's which the Smart Card
CSP needs to select.CapiException