public class DefaultKeystoreManagerExtension extends Object implements KeyStoreManagerExtension
Constructor and Description |
---|
DefaultKeystoreManagerExtension() |
Modifier and Type | Method and Description |
---|---|
Certificate |
getCertificate(String tenantDomain)
Returns the Public certificate for the given tenant domain.
|
PrivateKey |
getPrivateKey(String tenantDomain)
Returns the Private Key for the given tenant domain.
|
void |
setRealmService(org.wso2.carbon.user.core.service.RealmService realmService) |
public void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
public PrivateKey getPrivateKey(String tenantDomain) throws org.wso2.carbon.identity.base.IdentityException
KeyStoreManagerExtension
getPrivateKey
in interface KeyStoreManagerExtension
tenantDomain
- the tenant domainorg.wso2.carbon.identity.base.IdentityException
- upon any error accessing the underlying key storepublic Certificate getCertificate(String tenantDomain) throws org.wso2.carbon.identity.base.IdentityException
KeyStoreManagerExtension
getCertificate
in interface KeyStoreManagerExtension
tenantDomain
- the tenant domainorg.wso2.carbon.identity.base.IdentityException
- upon any error accessing the underlying key storeCopyright © 2019 WSO2. All rights reserved.