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

PkixBuilderParameters

Summary description for PkixBuilderParameters.
public virtual int MaxPathLength { get; set; }

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

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

Excluded certificates are not used for building a certification path.

public virtual void SetExcludedCerts(ISet<X509Certificate> excludedCerts)

Sets the excluded certificates which are not used for building a certification path. If the ISet is null an empty set is assumed.