Class X509CertificateName


  • public final class X509CertificateName
    extends Object
    Properties of server X509Names.
    • Constructor Detail

      • X509CertificateName

        public X509CertificateName()
    • Method Detail

      • name

        public String name()
        Get the name property: Common Name of the Certificate.
        Returns:
        the name value.
      • withName

        public X509CertificateName withName​(String name)
        Set the name property: Common Name of the Certificate.
        Parameters:
        name - the name value to set.
        Returns:
        the X509CertificateName object itself.
      • issuerCertificateThumbprint

        public String issuerCertificateThumbprint()
        Get the issuerCertificateThumbprint property: Thumbprint for the Issuer of the Certificate.
        Returns:
        the issuerCertificateThumbprint value.
      • withIssuerCertificateThumbprint

        public X509CertificateName withIssuerCertificateThumbprint​(String issuerCertificateThumbprint)
        Set the issuerCertificateThumbprint property: Thumbprint for the Issuer of the Certificate.
        Parameters:
        issuerCertificateThumbprint - the issuerCertificateThumbprint value to set.
        Returns:
        the X509CertificateName object itself.
      • validate

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