@Component public class DefaultTrustBundleService extends Object implements TrustBundleService
| Constructor and Description |
|---|
DefaultTrustBundleService(TrustBundleClient bundleClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTrustBundle(org.nhindirect.config.model.TrustBundle bundle) |
void |
associateTrustBundleToDomain(String bundleName,
String domainName,
boolean incoming,
boolean outgoing) |
void |
deleteTrustBundle(String bundleName) |
void |
disassociateTrustBundleFromDomain(String bundleName,
String domainName) |
void |
disassociateTrustBundleFromDomains(String bundleName) |
void |
disassociateTrustBundlesFromDomain(String domainName) |
Collection<org.nhindirect.config.model.TrustBundleDomainReltn> |
getAllTrustBundleDomainReltns(boolean fetchAnchors) |
org.nhindirect.config.model.TrustBundle |
getTrustBundle(String bundleName) |
Collection<org.nhindirect.config.model.TrustBundle> |
getTrustBundles(boolean fetchAnchors) |
Collection<org.nhindirect.config.model.TrustBundleDomainReltn> |
getTrustBundlesByDomain(String domainName,
boolean fetchAnchors) |
void |
refreshTrustBundle(String bundleName) |
void |
setTrustBundleClient(TrustBundleClient bundleClient) |
void |
updateSigningCert(String bundleName,
X509Certificate cert) |
void |
updateTrustBundleAttributes(String bundleName,
org.nhindirect.config.model.TrustBundle bundleData) |
public DefaultTrustBundleService(TrustBundleClient bundleClient)
@Autowired public void setTrustBundleClient(TrustBundleClient bundleClient)
public Collection<org.nhindirect.config.model.TrustBundle> getTrustBundles(boolean fetchAnchors) throws org.nhindirect.common.rest.exceptions.ServiceException
getTrustBundles in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic Collection<org.nhindirect.config.model.TrustBundleDomainReltn> getTrustBundlesByDomain(String domainName, boolean fetchAnchors) throws org.nhindirect.common.rest.exceptions.ServiceException
getTrustBundlesByDomain in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic Collection<org.nhindirect.config.model.TrustBundleDomainReltn> getAllTrustBundleDomainReltns(boolean fetchAnchors) throws org.nhindirect.common.rest.exceptions.ServiceException
getAllTrustBundleDomainReltns in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic org.nhindirect.config.model.TrustBundle getTrustBundle(String bundleName) throws org.nhindirect.common.rest.exceptions.ServiceException
getTrustBundle in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addTrustBundle(org.nhindirect.config.model.TrustBundle bundle)
throws org.nhindirect.common.rest.exceptions.ServiceException
addTrustBundle in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void refreshTrustBundle(String bundleName) throws org.nhindirect.common.rest.exceptions.ServiceException
refreshTrustBundle in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteTrustBundle(String bundleName) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteTrustBundle in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void updateSigningCert(String bundleName, X509Certificate cert) throws org.nhindirect.common.rest.exceptions.ServiceException
updateSigningCert in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void updateTrustBundleAttributes(String bundleName, org.nhindirect.config.model.TrustBundle bundleData) throws org.nhindirect.common.rest.exceptions.ServiceException
updateTrustBundleAttributes in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void associateTrustBundleToDomain(String bundleName, String domainName, boolean incoming, boolean outgoing) throws org.nhindirect.common.rest.exceptions.ServiceException
associateTrustBundleToDomain in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void disassociateTrustBundleFromDomain(String bundleName, String domainName) throws org.nhindirect.common.rest.exceptions.ServiceException
disassociateTrustBundleFromDomain in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void disassociateTrustBundlesFromDomain(String domainName) throws org.nhindirect.common.rest.exceptions.ServiceException
disassociateTrustBundlesFromDomain in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void disassociateTrustBundleFromDomains(String bundleName) throws org.nhindirect.common.rest.exceptions.ServiceException
disassociateTrustBundleFromDomains in interface TrustBundleServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.