public class CredentialContext extends Object
HSMProfileBO
Constructor and Description |
---|
CredentialContext(com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO hsmProfileBO) |
CredentialContext(String credentialAlias,
org.apache.sling.api.resource.ResourceResolver resourceResolver) |
CredentialContext(String credentialAlias,
org.apache.sling.api.resource.ResourceResolver resourceResolver,
boolean isHSMCredential) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias() |
com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO |
getHSMProfileBO() |
Object |
getProperty(String property) |
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver() |
Boolean |
isHSMCredential() |
void |
setProperty(String property,
Object value) |
public CredentialContext(String credentialAlias, org.apache.sling.api.resource.ResourceResolver resourceResolver, boolean isHSMCredential)
credentialAlias
- alias of the PKI Credential stored in CQ Key Store or
the alias of the HSM Credential configured using HSM Credentials Configuration Service.resourceResolver
- corresponding to the user with the access to the key store and trust store.isHSMCredential
- if the alias is corresponding to HSM Credential.public CredentialContext(com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO hsmProfileBO)
hsmProfileBO
- corresponding to the HSM Credential.
If you are creating HSMProfileBO
, then you are not required
to create credential configuration using HSM Credentials Configuration Service.public CredentialContext(String credentialAlias, org.apache.sling.api.resource.ResourceResolver resourceResolver)
credentialAlias
- alias of the Credential stored in CQ Key StoreresourceResolver
- corresponding to the user with the access to the above CredentialCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.