Class DistinguishedName

Description

Representation of a DN (Distinguished Name)

A Distinguished name is a structure used to represent a global unique key. Some common usages of this approach are the LDAP protocol and digital certificates.

The data structure handled by this class is compliant with RFC2253 and RFC1779.

Located in /core/security/DistinguishedName.class.php (line 44)

PHP2Go
   |
   --DistinguishedName
Variable Summary
array $info
Method Summary
DistinguishedName DistinguishedName (string|array $info)
string getCommonName ()
string getCountry ()
string getEmail ()
string getLocality ()
string getOrganization ()
string getState ()
string __toString ()
Variables
array $info (line 52)

DN information hash

  • access: private
Methods
Constructor DistinguishedName (line 60)

Class constructor

DistinguishedName DistinguishedName (string|array $info)
  • string|array $info: DN info
getCommonName (line 79)

Get common name field

string getCommonName ()
getCountry (line 99)

Get country field

Returns the ISO code of the DN's country.

string getCountry ()
getEmail (line 88)

Get e-mail field

string getEmail ()
getLocality (line 117)

Get locality field

string getLocality ()
getOrganization (line 126)

Get organization field

string getOrganization ()
getOrganizationalUnit (line 135)

Get organization unit field

string getOrganizationalUnit ()
getState (line 108)

Get state/province field

string getState ()
__toString (line 144)

Builds and returns a string representation of the DN

string __toString ()

Redefinition of:
PHP2Go::__toString()
Generate a string representation of the object

Inherited Methods

Inherited From PHP2Go

PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()

Documentation generated on Sun, 07 Oct 2007 19:23:15 -0300 by phpDocumentor 1.3.2