Table of Contents

Class PkixBuilderParameters

Namespace
Org.BouncyCastle.Pkix
Assembly
BouncyCastle.Cryptography.dll

Summary description for PkixBuilderParameters.

public class PkixBuilderParameters : PkixParameters
Inheritance
PkixBuilderParameters
Inherited Members

Constructors

PkixBuilderParameters(ISet<TrustAnchor>, ISelector<X509Certificate>)

public PkixBuilderParameters(ISet<TrustAnchor> trustAnchors, ISelector<X509Certificate> targetConstraintsCert)

Parameters

trustAnchors ISet<TrustAnchor>
targetConstraintsCert ISelector<X509Certificate>

PkixBuilderParameters(ISet<TrustAnchor>, ISelector<X509Certificate>, ISelector<X509V2AttributeCertificate>)

public PkixBuilderParameters(ISet<TrustAnchor> trustAnchors, ISelector<X509Certificate> targetConstraintsCert, ISelector<X509V2AttributeCertificate> targetConstraintsAttrCert)

Parameters

trustAnchors ISet<TrustAnchor>
targetConstraintsCert ISelector<X509Certificate>
targetConstraintsAttrCert ISelector<X509V2AttributeCertificate>

Properties

MaxPathLength

public virtual int MaxPathLength { get; set; }

Property Value

int

Methods

Clone()

public override object Clone()

Returns

object

GetExcludedCerts()

Excluded certificates are not used for building a certification path.

public virtual ISet<X509Certificate> GetExcludedCerts()

Returns

ISet<X509Certificate>

the excluded certificates.

GetInstance(PkixParameters)

public static PkixBuilderParameters GetInstance(PkixParameters pkixParams)

Parameters

pkixParams PkixParameters

Returns

PkixBuilderParameters

SetExcludedCerts(ISet<X509Certificate>)

Sets the excluded certificates which are not used for building a certification path. If the

ISet
is
null
an empty set is assumed.
public virtual void SetExcludedCerts(ISet<X509Certificate> excludedCerts)

Parameters

excludedCerts ISet<X509Certificate>

The excluded certificates to set.

Remarks

The given set is cloned to protect it against subsequent modifications.

SetParams(PkixParameters)

protected override void SetParams(PkixParameters parameters)

Parameters

parameters PkixParameters

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.