Class CertificatePropertiesWithNonce


  • public final class CertificatePropertiesWithNonce
    extends Object
    The description of an X509 CA Certificate including the challenge nonce issued for the Proof-Of-Possession flow.
    • Constructor Detail

      • CertificatePropertiesWithNonce

        public CertificatePropertiesWithNonce()
    • Method Detail

      • subject

        public String subject()
        Get the subject property: The certificate's subject name.
        Returns:
        the subject value.
      • expiry

        public OffsetDateTime expiry()
        Get the expiry property: The certificate's expiration date and time.
        Returns:
        the expiry value.
      • thumbprint

        public String thumbprint()
        Get the thumbprint property: The certificate's thumbprint.
        Returns:
        the thumbprint value.
      • isVerified

        public Boolean isVerified()
        Get the isVerified property: Determines whether certificate has been verified.
        Returns:
        the isVerified value.
      • created

        public OffsetDateTime created()
        Get the created property: The certificate's create date and time.
        Returns:
        the created value.
      • updated

        public OffsetDateTime updated()
        Get the updated property: The certificate's last update date and time.
        Returns:
        the updated value.
      • verificationCode

        public String verificationCode()
        Get the verificationCode property: The certificate's verification code that will be used for proof of possession.
        Returns:
        the verificationCode value.
      • certificate

        public String certificate()
        Get the certificate property: The certificate content.
        Returns:
        the certificate value.
      • validate

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