public class CredentialProviderService extends Object
Modifier and Type | Method and Description |
---|---|
void |
addHSMProfile(String alias,
com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO hsmProfileBO) |
PKICredential |
getCredential(String alias,
org.apache.sling.api.resource.ResourceResolver resourceResolver)
Returns PKICredential from the KeyStore of the resourceResolver for the given alias
|
com.adobe.fd.signatures.hsm.HSMCredential |
getHSMCredential(com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO hsmProfile) |
com.adobe.fd.signatures.hsm.HSMCredential |
getHSMCredential(String alias) |
com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO |
getHSMProfile(String alias) |
static CredentialProviderService |
getInstance() |
com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO |
removeHSMProfile(String alias) |
public PKICredential getCredential(String alias, org.apache.sling.api.resource.ResourceResolver resourceResolver) throws InvalidArgumentException, CredentialNotFoundException
alias
- for which the PKICredential has to be foundCredentialNotFoundException
- if Credentials for the Given Alias is not foundInvalidArgumentException
- if the alias is null or blank, if resourceResolver is nullpublic static CredentialProviderService getInstance()
public com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO getHSMProfile(String alias)
public void addHSMProfile(String alias, com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO hsmProfileBO)
public com.adobe.fd.signatures.truststore.businessobject.HSMProfileBO removeHSMProfile(String alias)
public com.adobe.fd.signatures.hsm.HSMCredential getHSMCredential(String alias) throws Exception
Exception
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.