public class DatabaseCertificateRetriever extends Object implements CertificateRetriever
CertificateRetriever
Constructor and Description |
---|
DatabaseCertificateRetriever() |
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
- Database identifier of the certificate.tenant
- Tenant where the certificate belongs to. But in this implementation the passed tenant is
not considered since the database id is already there.CertificateRetrievingException
Copyright © 2019 WSO2. All rights reserved.