Méthode | Description | |
---|---|---|
DN ( ) : System | ||
DN ( System dnString ) : System |
Constructs a new DN based on the specified string representation of a distinguished name. The syntax of the DN must conform to that specified in RFC 2253.
|
|
Equals ( |
||
Equals ( System toDN ) : bool | ||
ToString ( ) : System.String |
Creates and returns a string that represents this DN. The string follows RFC 2253, which describes String representation of DN's and RDN's
|
|
addRDN ( |
Adds the RDN to the beginning of the current DN.
|
|
addRDNToBack ( |
Adds the RDN to the end of the current DN
|
|
addRDNToFront ( |
Adds the RDN to the beginning of the current DN.
|
|
countRDNs ( ) : int |
Retrieves the count of RDNs, or individule names, in the Distinguished name
|
|
explodeDN ( bool noTypes ) : System.String[] |
return a string array of the individual RDNs contained in the DN
|
|
getrdnList ( ) : System.Collections.ArrayList |
Compares this DN to the specified DN to determine if they are equal.
|
|
isDescendantOf ( |
Determines if this DN is contained by the DN passed in. For example: "cn=admin, ou=marketing, o=corporation" is contained by "o=corporation", "ou=marketing, o=corporation", and "ou=marketing" but not by "cn=admin" or "cn=admin,ou=marketing,o=corporation" Note: For users of Netscape's SDK this method is comparable to contains
|
Méthode | Description | |
---|---|---|
InitBlock ( ) : void | ||
hexToChar ( char hex1, char hex0 ) : char |
Converts two valid hex digit characters that form the string representation of an ascii character value to the actual ascii character.
|
|
isAlpha ( char ch ) : bool |
Checks a character to see if it is an ascii alphabetic character in ranges 65-90 or 97-122.
|
|
isDigit ( char ch ) : bool |
Checks a character to see if it is an ascii digit (0-9) character in the ascii value range 48-57.
|
|
isHexDigit ( char ch ) : bool |
Checks a character to see if it is valid hex digit 0-9, a-f, or A-F (ASCII value ranges 48-47, 65-70, 97-102).
|
|
needsEscape ( char ch ) : bool |
Checks a character to see if it must always be escaped in the string representation of a DN. We must tests for space, sharp, and equals individually.
|
public DN ( System dnString ) : System | ||
dnString | System | a string representation of the distinguished name /// |
Résultat | System |
public addRDN ( |
||
rdn | an RDN to be added /// | |
Résultat | void |
public addRDNToBack ( |
||
rdn | an RDN to be added /// | |
Résultat | void |
public addRDNToFront ( |
||
rdn | an RDN to be added /// | |
Résultat | void |
public explodeDN ( bool noTypes ) : System.String[] | ||
noTypes | bool | If true, returns only the values of the /// components, and not the names, e.g. "Babs /// Jensen", "Accounting", "Acme", "us" - instead of /// "cn=Babs Jensen", "ou=Accounting", "o=Acme", and /// "c=us". /// |
Résultat | System.String[] |
public getrdnList ( ) : System.Collections.ArrayList | ||
Résultat | System.Collections.ArrayList |
public isDescendantOf ( |
||
containerDN | of a container /// | |
Résultat | bool |