C# Class Org.BouncyCastle.Pkix.PkixNameConstraintValidator

Show file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
AddExcludedSubtree ( GeneralSubtree subtree ) : void
CheckExcludedDN ( Asn1Sequence dns ) : void
CheckPermittedDN ( Asn1Sequence dns ) : void
Equals ( Object o ) : bool
GetHashCode ( ) : int
IntersectEmptyPermittedSubtree ( int nameType ) : void
IntersectPermittedSubtree ( Asn1Sequence permitted ) : void
PkixNameConstraintValidator ( ) : System
ToString ( ) : String
checkExcluded ( GeneralName name ) : void
checkPermitted ( GeneralName name ) : void

Protected Methods

Method Description
unionDNS ( ISet excluded, String dns ) : ISet

Private Methods

Method Description
CheckExcludedDN ( ISet excluded, Asn1Sequence dns ) : void
CheckExcludedEmail ( ISet excluded, String email ) : void
CheckPermittedDN ( ISet permitted, Asn1Sequence dns ) : void
CheckPermittedDNS ( ISet permitted, String dns ) : void
CheckPermittedEmail ( ISet permitted, String email ) : void
CheckPermittedIP ( ISet permitted, byte ip ) : void
CheckPermittedURI ( ISet permitted, String uri ) : void
CollectionsAreEqual ( ICollection coll1, ICollection coll2 ) : bool
CompareTo ( byte ip1, byte ip2 ) : int
EmailIsConstrained ( String email, String constraint ) : bool
ExtractHostFromURL ( String url ) : String
ExtractIPsAndSubnetMasks ( byte ipWithSubmask1, byte ipWithSubmask2 ) : byte[][]
ExtractNameAsString ( GeneralName name ) : String
HashCode ( ) : int
HashCollection ( ICollection coll ) : int
IntersectDN ( ISet permitted, ISet dns ) : ISet
IntersectEmail ( ISet permitted, ISet emails ) : ISet
IntersectIP ( ISet permitted, ISet ips ) : ISet
IntersectIPRange ( byte ipWithSubmask1, byte ipWithSubmask2 ) : ISet
IpWithSubnetMask ( byte ip, byte subnetMask ) : byte[]
IsIPConstrained ( byte ip, byte constraint ) : bool
IsUriConstrained ( String uri, String constraint ) : bool
Max ( byte ip1, byte ip2 ) : byte[]
Min ( byte ip1, byte ip2 ) : byte[]
MinMaxIPs ( byte ip1, byte subnetmask1, byte ip2, byte subnetmask2 ) : byte[][]
Or ( byte ip1, byte ip2 ) : byte[]
SpecialEquals ( Object o1, Object o2 ) : bool
StringifyIP ( byte ip ) : String
StringifyIPCollection ( ISet ips ) : String
UnionDN ( ISet excluded, Asn1Sequence dn ) : ISet
UnionEmail ( ISet excluded, String email ) : ISet
UnionIP ( ISet excluded, byte ip ) : ISet
UnionIPRange ( byte ipWithSubmask1, byte ipWithSubmask2 ) : ISet
WithinDNSubtree ( Asn1Sequence dns, Asn1Sequence subtree ) : bool
WithinDomain ( String testDomain, String domain ) : bool
checkExcludedDNS ( ISet excluded, String dns ) : void
checkExcludedIP ( ISet excluded, byte ip ) : void
checkExcludedURI ( ISet excluded, String uri ) : void
intersectDNS ( ISet permitted, ISet dnss ) : ISet
intersectEmail ( String email1, String email2, ISet intersect ) : void
intersectURI ( ISet permitted, ISet uris ) : ISet
intersectURI ( String email1, String email2, ISet intersect ) : void
unionEmail ( String email1, String email2, ISet union ) : void
unionURI ( ISet excluded, String uri ) : ISet
unionURI ( String email1, String email2, ISet union ) : void

Method Details

AddExcludedSubtree() public method

public AddExcludedSubtree ( GeneralSubtree subtree ) : void
subtree Org.BouncyCastle.Asn1.X509.GeneralSubtree
return void

CheckExcludedDN() public method

public CheckExcludedDN ( Asn1Sequence dns ) : void
dns Org.BouncyCastle.Asn1.Asn1Sequence
return void

CheckPermittedDN() public method

public CheckPermittedDN ( Asn1Sequence dns ) : void
dns Org.BouncyCastle.Asn1.Asn1Sequence
return void

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IntersectEmptyPermittedSubtree() public method

public IntersectEmptyPermittedSubtree ( int nameType ) : void
nameType int
return void

IntersectPermittedSubtree() public method

public IntersectPermittedSubtree ( Asn1Sequence permitted ) : void
permitted Org.BouncyCastle.Asn1.Asn1Sequence
return void

PkixNameConstraintValidator() public method

public PkixNameConstraintValidator ( ) : System
return System

ToString() public method

public ToString ( ) : String
return String

checkExcluded() public method

public checkExcluded ( GeneralName name ) : void
name Org.BouncyCastle.Asn1.X509.GeneralName
return void

checkPermitted() public method

public checkPermitted ( GeneralName name ) : void
name Org.BouncyCastle.Asn1.X509.GeneralName
return void

unionDNS() protected method

protected unionDNS ( ISet excluded, String dns ) : ISet
excluded ISet
dns String
return ISet