Interface CertificateInfoGenerator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CertificateInfo generate​(java.util.List<java.lang.String> hostnames, java.security.cert.X509Certificate originalCertificate)
      Generate a certificate for the specified hostnames, optionally using parameters from the originalCertificate.
    • Method Detail

      • generate

        CertificateInfo generate​(java.util.List<java.lang.String> hostnames,
                                 java.security.cert.X509Certificate originalCertificate)
        Generate a certificate for the specified hostnames, optionally using parameters from the originalCertificate.
        Parameters:
        hostnames - the hostnames to generate the certificate for, which may include wildcards
        originalCertificate - original X.509 certificate sent by the upstream server, which may be null
        Returns:
        CertificateInfo to be used to create an X509Certificate for the specified hostnames