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
subtreeGeneralSubtree
CheckExcludedDN(Asn1Sequence)
public void CheckExcludedDN(Asn1Sequence dn)
Parameters
dnAsn1Sequence
CheckExcludedName(GeneralName)
public void CheckExcludedName(GeneralName name)
Parameters
nameGeneralName
Exceptions
CheckPermittedDN(Asn1Sequence)
public void CheckPermittedDN(Asn1Sequence dn)
Parameters
dnAsn1Sequence
CheckPermittedName(GeneralName)
public void CheckPermittedName(GeneralName name)
Parameters
nameGeneralName
Exceptions
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object o)
Parameters
oobject
Returns
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
nameTypeint
IntersectPermittedSubtree(Asn1Sequence)
public void IntersectPermittedSubtree(Asn1Sequence permitted)
Parameters
permittedAsn1Sequence
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
nameGeneralName
Exceptions
checkPermitted(GeneralName)
[Obsolete("Use 'CheckPermittedName' instead")]
public void checkPermitted(GeneralName name)
Parameters
nameGeneralName