Class CertificateProperties


  • public final class CertificateProperties
    extends Object
    Certificate resource specific properties.
    • Constructor Detail

      • CertificateProperties

        public CertificateProperties()
    • Method Detail

      • provisioningState

        public CertificateProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state of the certificate.
        Returns:
        the provisioningState value.
      • password

        public String password()
        Get the password property: Certificate password.
        Returns:
        the password value.
      • withPassword

        public CertificateProperties withPassword​(String password)
        Set the password property: Certificate password.
        Parameters:
        password - the password value to set.
        Returns:
        the CertificateProperties object itself.
      • subjectName

        public String subjectName()
        Get the subjectName property: Subject name of the certificate.
        Returns:
        the subjectName value.
      • value

        public byte[] value()
        Get the value property: PFX or PEM blob.
        Returns:
        the value value.
      • withValue

        public CertificateProperties withValue​(byte[] value)
        Set the value property: PFX or PEM blob.
        Parameters:
        value - the value value to set.
        Returns:
        the CertificateProperties object itself.
      • issuer

        public String issuer()
        Get the issuer property: Certificate issuer.
        Returns:
        the issuer value.
      • issueDate

        public OffsetDateTime issueDate()
        Get the issueDate property: Certificate issue Date.
        Returns:
        the issueDate value.
      • expirationDate

        public OffsetDateTime expirationDate()
        Get the expirationDate property: Certificate expiration date.
        Returns:
        the expirationDate value.
      • thumbprint

        public String thumbprint()
        Get the thumbprint property: Certificate thumbprint.
        Returns:
        the thumbprint value.
      • valid

        public Boolean valid()
        Get the valid property: Is the certificate valid?.
        Returns:
        the valid value.
      • publicKeyHash

        public String publicKeyHash()
        Get the publicKeyHash property: Public key hash.
        Returns:
        the publicKeyHash value.
      • validate

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