Interface CertificateService
- All Known Implementing Classes:
DefaultCertificateService
public interface CertificateService
One-click integration interface that responsible for setup of Consumed Destinations and connected Credential.
-
Method Summary
Modifier and TypeMethodDescriptionrenewCertificate(ConsumedCertificateCredentialModel certificationCredential) Renew an existing certificate before it expires, at the moment we don't have real implementation of this method.retrieveCertificate(URI certificateUrl, ConsumedCertificateCredentialModel certificationCredential) method that retrieves Consumed Certificate Credential and updates connected Consumed * Destinations.
-
Method Details
-
retrieveCertificate
ConsumedCertificateCredentialModel retrieveCertificate(URI certificateUrl, ConsumedCertificateCredentialModel certificationCredential) throws CredentialException method that retrieves Consumed Certificate Credential and updates connected Consumed * Destinations.- Parameters:
certificateUrl- Url to retrieve client certificate.certificationCredential- Credential to be updated.- Returns:
- updated certificate
- Throws:
CredentialException- if the generation of PrivateKey, CSR, Certificate fails
-
renewCertificate
ConsumedCertificateCredentialModel renewCertificate(ConsumedCertificateCredentialModel certificationCredential) throws CredentialException Renew an existing certificate before it expires, at the moment we don't have real implementation of this method.- Parameters:
certificationCredential- ConsumedCertificateCredentialModel which contains the old certificate- Returns:
- updated Certificate updated ConsumedCertificateCredentialModel which contains the new certificate
- Throws:
CredentialException- if the renewal of the certificate fails
-