Org.BouncyCastle.Pkix.PkixCertPathValidatorReason
The reason a PkixCertPathValidatorException was thrown, as reported by its
Reason property.
The signature algorithm, public key, or public key parameters are disallowed by local policy (e.g. a weak
algorithm or an insufficient key size).
Expired = 1
The certificate is expired.
InvalidKeyUsage = 8
The certificate's key usage is invalid.
InvalidName = 14
The name constraints have been violated, or could not be processed.
InvalidPolicy = 9
Certificate policy validation failed, or a critical policy extension could not be processed.
InvalidSignature = 5
The signature is invalid.
LimitExceeded = 15
A processing limit was exceeded (e.g. the maximum number of policy tree nodes).
NameChaining = 7
The certificate does not chain correctly.
NotCACertificate = 12
The certificate is not a CA certificate.
NoTrustAnchor = 10
No acceptable trust anchor found.
NotYetValid = 2
The certificate is not yet valid.
PathTooLong = 13
The path length constraint has been violated.
Revoked = 3
The certificate is revoked.
The revocation status of the certificate could not be determined.
The certificate contains one or more unrecognized critical extensions.
Unspecified = 0
Unspecified reason.