window.runtime property | window.runtime.flash.security.X500DistinguishedName |
Inheritance | X500DistinguishedName Object |
Runtime Versions: | 3 |
This class is useful for any code that needs to examine a server
certificate's Subject and Issuer DN after a secure socket connection has been established.
Subject and Issuer DN data is accessible in the X509Certificate class's subject
and issuer
properties. These properties are populated with X500DistinguishedName
objects after SecureSocket.connect()
establishes a connection with the server.
This class stores DN attributes as string properties. You can use the toString()
method to get all of the individual DN properties in one string. Properties with no DN value are set to null.
Note: The X500DistinguishedName properties store only the first occurrence of each DN attribute, although the DN protocol allows for multiple attributes of the same type.
See also
Property | Defined By | ||
---|---|---|---|
commonName : String [read-only]
Returns the DN CommonName attribute. | X500DistinguishedName | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
countryName : String [read-only]
Returns the DN CountryName attribute. | X500DistinguishedName | ||
localityName : String [read-only]
Returns the DN LocalityName attribute. | X500DistinguishedName | ||
organizationalUnitName : String [read-only]
Returns the DN OrganizationalUnitName attribute. | X500DistinguishedName | ||
organizationName : String [read-only]
Returns the DN OrganizationName attribute. | X500DistinguishedName | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
stateOrProvinceName : String [read-only]
Returns the DN StateOrProvinceName attribute. | X500DistinguishedName |
Method | Defined By | ||
---|---|---|---|
hasOwnProperty(name:String):Boolean
Indicates whether an object has a specified property defined. | Object | ||
isPrototypeOf(theClass:Object):Boolean
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
propertyIsEnumerable(name:String):Boolean
Indicates whether the specified property exists and is enumerable. | Object | ||
setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void
Sets the availability of a dynamic property for loop operations. | Object | ||
toLocaleString():String
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
toString():String
Returns all DN properties in one string. | X500DistinguishedName | ||
valueOf():Object
Returns the primitive value of the specified object. | Object |
commonName | property |
commonName:String
[read-only] Runtime Versions: | 3 |
Returns the DN CommonName attribute.
countryName | property |
countryName:String
[read-only] Runtime Versions: | 3 |
Returns the DN CountryName attribute.
localityName | property |
localityName:String
[read-only] Runtime Versions: | 3 |
Returns the DN LocalityName attribute.
organizationalUnitName | property |
organizationalUnitName:String
[read-only] Runtime Versions: | 3 |
Returns the DN OrganizationalUnitName attribute.
organizationName | property |
organizationName:String
[read-only] Runtime Versions: | 3 |
Returns the DN OrganizationName attribute.
stateOrProvinceName | property |
stateOrProvinceName:String
[read-only] Runtime Versions: | 3 |
Returns the DN StateOrProvinceName attribute.
toString | () | method |
public function toString():String
Runtime Versions: | 3 |
Returns all DN properties in one string.
ReturnsString |
Thu Sep 29 2011, 02:34 AM -07:00