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
trustAnchorsISet<TrustAnchor>targetConstraintsCertISelector<X509Certificate>
PkixBuilderParameters(ISet<TrustAnchor>, ISelector<X509Certificate>, ISelector<X509V2AttributeCertificate>)
public PkixBuilderParameters(ISet<TrustAnchor> trustAnchors, ISelector<X509Certificate> targetConstraintsCert, ISelector<X509V2AttributeCertificate> targetConstraintsAttrCert)
Parameters
trustAnchorsISet<TrustAnchor>targetConstraintsCertISelector<X509Certificate>targetConstraintsAttrCertISelector<X509V2AttributeCertificate>
Properties
MaxPathLength
public virtual int MaxPathLength { get; set; }
Property Value
Methods
Clone()
public override object Clone()
Returns
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
pkixParamsPkixParameters
Returns
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
excludedCertsISet<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
parametersPkixParameters
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.