Table of Contents

Class PkixCertPathValidatorException

Namespace
Org.BouncyCastle.Pkix
Assembly
BouncyCastle.Cryptography.dll
[Serializable]
public class PkixCertPathValidatorException : GeneralSecurityException, ISerializable
Inheritance
PkixCertPathValidatorException
Implements
Inherited Members

Constructors

PkixCertPathValidatorException()

public PkixCertPathValidatorException()

PkixCertPathValidatorException(SerializationInfo, StreamingContext)

protected PkixCertPathValidatorException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

PkixCertPathValidatorException(string)

public PkixCertPathValidatorException(string message)

Parameters

message string

PkixCertPathValidatorException(string, Exception)

public PkixCertPathValidatorException(string message, Exception innerException)

Parameters

message string
innerException Exception

PkixCertPathValidatorException(string, Exception, int)

Creates a

PkixCertPathValidatorException
with the specified detail message, cause, certification path, and index.
public PkixCertPathValidatorException(string message, Exception innerException, int index)

Parameters

message string

the detail message (or

null
if none)
innerException Exception

the cause (or

null
if none)
index int

the index of the certificate in the certification path that

Fields

m_index

protected readonly int m_index

Field Value

int

Properties

Index

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

public int Index { get; }

Property Value

int

The index that has been set, or -1 if none has been set.

Remarks

Note that the list of certificates in a PkixCertPath is zero based. If no index has been set, -1 is returned.

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the SerializationInfo with information about the exception.

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).