Class Certificate

    • Method Detail

      • body

        public final SdkBytes body()

        The body of the certificate.

        Returns:
        The body of the certificate.
      • issuer

        public final String issuer()

        The entity that issued the certificate.

        Returns:
        The entity that issued the certificate.
      • notValidAfter

        public final Instant notValidAfter()

        The certificate is not valid after this date.

        Returns:
        The certificate is not valid after this date.
      • notValidBefore

        public final Instant notValidBefore()

        The certificate is not valid before this date.

        Returns:
        The certificate is not valid before this date.
      • subject

        public final String subject()

        The entity the certificate belongs to.

        Returns:
        The entity the certificate belongs to.
      • thumbprint

        public final String thumbprint()

        A hexadecimal identifier for the certificate.

        Returns:
        A hexadecimal identifier for the certificate.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)