메소드 | 설명 | |
---|---|---|
escapeRDN ( System rdn ) : System.String |
Returns the RDN after escaping the characters requiring escaping. For example, for the rdn "cn=Acme, Inc", the escapeRDN method returns "cn=Acme\, Inc". escapeRDN escapes the AttributeValue by inserting '\' before the following chars: * ',' '+' '"' '\' 'LESSTHAN' 'GREATERTHAN' ';' '#' if it comes at the beginning of the string, and ' ' (space) if it comes at the beginning or the end of a string. Note that single-valued attributes can be used because of ambiguity. See RFC 2253
|
|
explodeDN ( System dn, bool noTypes ) : System.String[] |
Returns the individual components of a distinguished name (DN).
|
|
explodeRDN ( System rdn, bool noTypes ) : System.String[] |
Returns the individual components of a relative distinguished name (RDN), normalized.
|
|
isValid ( System dn ) : bool |
Returns true if the string conforms to distinguished name syntax.
|
|
normalize ( System dn ) : System.String |
Returns the DN normalized by removal of non-significant space characters as per RFC 2253, section4.
|
|
unescapeRDN ( System rdn ) : System.String |
Returns the RDN after unescaping the characters requiring escaping. For example, for the rdn "cn=Acme\, Inc", the unescapeRDN method returns "cn=Acme, Inc". unescapeRDN unescapes the AttributeValue by removing the '\' when the next character fits the following: ',' '+' '"' '\' 'LESSTHAN' 'GREATERTHAN' ';' '#' if it comes at the beginning of the Attribute Name (without the '\'). ' ' (space) if it comes at the beginning or the end of the Attribute Name
|
메소드 | 설명 | |
---|---|---|
equals ( System dn1, System dn2 ) : bool |
public static escapeRDN ( System rdn ) : System.String | ||
rdn | System | The RDN to escape. /// /// |
리턴 | System.String |
public static explodeDN ( System dn, bool noTypes ) : System.String[] | ||
dn | System | The distinguished name, for example, "cn=Babs /// Jensen,ou=Accounting,o=Acme,c=US" /// /// |
noTypes | bool | If true, returns only the values of the /// components and not the names. For example, "Babs /// Jensen", "Accounting", "Acme", "US" instead of /// "cn=Babs Jensen", "ou=Accounting", "o=Acme", and /// "c=US". /// /// |
리턴 | System.String[] |
public static explodeRDN ( System rdn, bool noTypes ) : System.String[] | ||
rdn | System | The relative distinguished name, or in other words, /// the left-most component of a distinguished name. /// /// |
noTypes | bool | If true, returns only the values of the /// components, and not the names of the component, for /// example "Babs Jensen" instead of "cn=Babs Jensen". /// /// |
리턴 | System.String[] |
public static isValid ( System dn ) : bool | ||
dn | System | String to evaluate fo distinguished name syntax. /// |
리턴 | bool |
public static normalize ( System dn ) : System.String | ||
dn | System | |
리턴 | System.String |
public static unescapeRDN ( System rdn ) : System.String | ||
rdn | System | The RDN to unescape. /// /// |
리턴 | System.String |