<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

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.

The certificate's key usage is invalid.

The name constraints have been violated, or could not be processed.

Certificate policy validation failed, or a critical policy extension could not be processed.

The signature is invalid.

A processing limit was exceeded (e.g. the maximum number of policy tree nodes).

The certificate does not chain correctly.

The certificate is not a CA certificate.

No acceptable trust anchor found.

The certificate is not yet valid.

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 reason.