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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConsumedCertificateCredentialModel
renewCertificate(ConsumedCertificateCredentialModel certificationCredential)
Renew an existing certificate before it expires, at the moment we don't have real implementation of this method.ConsumedCertificateCredentialModel
retrieveCertificate(java.net.URI certificateUrl, ConsumedCertificateCredentialModel certificationCredential)
method that retrieves Consumed Certificate Credential and updates connected Consumed * Destinations.
-
-
-
Method Detail
-
retrieveCertificate
ConsumedCertificateCredentialModel retrieveCertificate(java.net.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
-
-