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

Org.BouncyCastle.Pkix.PkixCertPathValidatorException

An exception indicating one of a variety of problems encountered when validating a certification path.
protected readonly int m_index

public int Index { get; }

Returns the index of the certificate in the certification path that caused the exception to be thrown.

The reason the validation failed.

public PkixCertPathValidatorException(string message)

public PkixCertPathValidatorException(string message, Exception innerException)

public PkixCertPathValidatorException(string message, Exception innerException, int index)

Creates a PkixCertPathValidatorException with the specified detail message, cause, certification path, and index.

public PkixCertPathValidatorException(string message, Exception innerException, int index, PkixCertPathValidatorReason reason)

Creates a PkixCertPathValidatorException with the specified detail message, cause, index, and reason.