Table of Contents

Class PkixNameConstraintValidator

Namespace
Org.BouncyCastle.Pkix
Assembly
BouncyCastle.Cryptography.dll
public class PkixNameConstraintValidator
Inheritance
PkixNameConstraintValidator
Inherited Members

Constructors

PkixNameConstraintValidator()

public PkixNameConstraintValidator()

Methods

AddExcludedSubtree(GeneralSubtree)

public void AddExcludedSubtree(GeneralSubtree subtree)

Parameters

subtree GeneralSubtree

CheckExcludedDN(Asn1Sequence)

public void CheckExcludedDN(Asn1Sequence dn)

Parameters

dn Asn1Sequence

CheckExcludedName(GeneralName)

public void CheckExcludedName(GeneralName name)

Parameters

name GeneralName

Exceptions

PkixNameConstraintValidatorException

CheckPermittedDN(Asn1Sequence)

public void CheckPermittedDN(Asn1Sequence dn)

Parameters

dn Asn1Sequence

CheckPermittedName(GeneralName)

public void CheckPermittedName(GeneralName name)

Parameters

name GeneralName

Exceptions

PkixNameConstraintValidatorException

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object o)

Parameters

o object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IntersectEmptyPermittedSubtree(int)

public void IntersectEmptyPermittedSubtree(int nameType)

Parameters

nameType int

IntersectPermittedSubtree(Asn1Sequence)

public void IntersectPermittedSubtree(Asn1Sequence permitted)

Parameters

permitted Asn1Sequence

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

checkExcluded(GeneralName)

[Obsolete("Use 'CheckExcludedName' instead")]
public void checkExcluded(GeneralName name)

Parameters

name GeneralName

Exceptions

PkixNameConstraintValidatorException

checkPermitted(GeneralName)

[Obsolete("Use 'CheckPermittedName' instead")]
public void checkPermitted(GeneralName name)

Parameters

name GeneralName

Exceptions

PkixNameConstraintValidatorException