public class KeyStoreCertificateRetriever extends Object implements CertificateRetriever
CertificateRetriever
Constructor and Description |
---|
KeyStoreCertificateRetriever() |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
getCertificate(String certificateId,
org.wso2.carbon.user.api.Tenant tenant)
Finds and returns the certificate for the given certificateId and tenant
|
public X509Certificate getCertificate(String certificateId, org.wso2.carbon.user.api.Tenant tenant) throws CertificateRetrievingException
CertificateRetriever
getCertificate
in interface CertificateRetriever
certificateId
- Alias of the certificate to be retrieved.tenant
- The tenant where the key store file should be loaded from.
If the tenant is the super tenant, the primary key store will be used.CertificateRetrievingException
Copyright © 2019 WSO2. All rights reserved.