Class CertificateEvent

java.lang.Object
io.micronaut.acme.events.CertificateEvent

public class CertificateEvent extends Object
Event used to alert when a new ACME certificate is ready for use.
  • Constructor Details

    • CertificateEvent

      public CertificateEvent(KeyPair domainKeyPair, boolean validationCert, X509Certificate... fullCertificateChain)
      Creates a new CertificateEvent containing the full certificate chain.
      Parameters:
      domainKeyPair - key pair used to encrypt the certificate
      validationCert - if this certificate is to be used for tls-apln-01 account validation
      fullCertificateChain - X509 certificate file
  • Method Details

    • getCert

      public X509Certificate getCert()
      Returns:
      Certificate created by ACME server
    • getDomainKeyPair

      public KeyPair getDomainKeyPair()
      Returns:
      KeyPair used to encrypt the certificate.
    • isValidationCert

      public boolean isValidationCert()
      Returns:
      if this is a validation certificate to be used for tls-apln-01 account validation
    • getFullCertificateChain

      @NonNull public @NonNull X509Certificate[] getFullCertificateChain()
      Return the full certificate chain.
      Returns:
      array of certificates in the chain.