<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />

PkixCertPathValidatorException

protected readonly int m_index

public int Index { get; }

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

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.