Enum CertificateChainValidation.Result

java.lang.Object
java.lang.Enum<CertificateChainValidation.Result>
no.digipost.signature.client.security.CertificateChainValidation.Result
All Implemented Interfaces:
Serializable, Comparable<CertificateChainValidation.Result>, java.lang.constant.Constable
Enclosing interface:
CertificateChainValidation

public static enum CertificateChainValidation.Result extends Enum<CertificateChainValidation.Result>
  • Enum Constant Details

    • TRUSTED

      public static final CertificateChainValidation.Result TRUSTED
      Indicates that the certificate chain is trusted by this particular validation, but is subject to further validation by the SSLContext's configured trust manager. This should be considered as the default result from a successful validation.
    • TRUSTED_AND_SKIP_FURTHER_VALIDATION

      public static final CertificateChainValidation.Result TRUSTED_AND_SKIP_FURTHER_VALIDATION
      The certificate is determined to be trusted, and validation by the SSLContext's trust manager should be skipped. This result is not appropriate for any integration with Posten signering, as it will effectively skip validating the certificate to be issued by the trusted CA hierarchy.
    • UNTRUSTED

      public static final CertificateChainValidation.Result UNTRUSTED
      The certificate chain has been determined to be not trusted.
  • Method Details

    • values

      public static CertificateChainValidation.Result[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CertificateChainValidation.Result valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null