Class CertificateBodyDescription


  • public final class CertificateBodyDescription
    extends Object
    The JSON-serialized X509 Certificate.
    • Constructor Detail

      • CertificateBodyDescription

        public CertificateBodyDescription()
    • Method Detail

      • certificate

        public String certificate()
        Get the certificate property: Base-64 representation of the X509 leaf certificate .cer file or just .pem file content.
        Returns:
        the certificate value.
      • withCertificate

        public CertificateBodyDescription withCertificate​(String certificate)
        Set the certificate property: Base-64 representation of the X509 leaf certificate .cer file or just .pem file content.
        Parameters:
        certificate - the certificate value to set.
        Returns:
        the CertificateBodyDescription object itself.
      • isVerified

        public Boolean isVerified()
        Get the isVerified property: True indicates that the certificate will be created in verified state and proof of possession will not be required.
        Returns:
        the isVerified value.
      • withIsVerified

        public CertificateBodyDescription withIsVerified​(Boolean isVerified)
        Set the isVerified property: True indicates that the certificate will be created in verified state and proof of possession will not be required.
        Parameters:
        isVerified - the isVerified value to set.
        Returns:
        the CertificateBodyDescription object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.