Interface CertificateExchange
- All Known Implementing Classes:
CertificateExchangeImpl
public interface CertificateExchange
-
Method Summary
Modifier and TypeMethodDescriptionvoidpollCertificate(String nodeId, Consumer<CertificateChain> chainConsumer) If the consumer fails to consume existing certificate, the certificate won't be removed and the attempt will be repeated during the next poll call.voidvoidsignPendingCertificateRequests(Function<CertificateSigningRequest, CertificateChain> signingFunction) Take every pending CSR and transform it to a valid certificate chain by using the signing function
-
Method Details
-
requestCertificate
- Throws:
IOException
-
signPendingCertificateRequests
void signPendingCertificateRequests(Function<CertificateSigningRequest, CertificateChain> signingFunction) throws IOExceptionTake every pending CSR and transform it to a valid certificate chain by using the signing function- Throws:
IOException
-
pollCertificate
If the consumer fails to consume existing certificate, the certificate won't be removed and the attempt will be repeated during the next poll call.
-