window.runtime property | window.runtime.flash.security.X509Certificate |
Inheritance | X509Certificate Object |
Runtime Versions: | 3 |
SecureSocket.connect()
, the server's certificate
data is stored as an X509Certificate instance in the SecureSocket.serverCertificate
property.
Use this class to examine a server certificate after establishing a secure socket connection.
The properties in this class provide access to the most used attributes of an X.509 certificate.
If you must access other parts of a server certificate (for example, its extensions),
the complete certificate is available in the encoded
property. The certificate
stored in the encoded
property is DER-encoded.
See also
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
encoded : ByteArray [read-only]
Provides the whole certificate in encoded form. | X509Certificate | ||
issuer : X500DistinguishedName [read-only]
Provides the issuer's Distinguished Name (DN). | X509Certificate | ||
issuerUniqueID : String [read-only]
Provides the issuer's unique identifier. | X509Certificate | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
serialNumber : String [read-only]
Provides the serial number of the certificate as a hexadecimal string. | X509Certificate | ||
signatureAlgorithmOID : String [read-only]
Provides the signature algorithm Object Identifier (OID). | X509Certificate | ||
signatureAlgorithmParams : ByteArray [read-only]
Provides the signature algorithm's parameters. | X509Certificate | ||
subject : X500DistinguishedName [read-only]
Provides the subject's Distinguished Name (DN). | X509Certificate | ||
subjectPublicKey : String [read-only]
Provides the subject's public key. | X509Certificate | ||
subjectPublicKeyAlgorithmOID : String [read-only]
Provides the algorithm OID for the subject's public key. | X509Certificate | ||
subjectUniqueID : String [read-only]
Provides the subject's unique identifier. | X509Certificate | ||
validNotAfter : Date [read-only]
Indicates the date on which the certificate's validity period ends. | X509Certificate | ||
validNotBefore : Date [read-only]
Indicates the date on which the certificate's validity period begins. | X509Certificate | ||
version : uint [read-only]
Provides the version number of the certificate format. | X509Certificate |
encoded | property |
encoded:ByteArray
[read-only] Runtime Versions: | 3 |
Provides the whole certificate in encoded form. Client code can decode this value
to process certificate extensions. X.509 certificate extensions are not represented
in the other properties in this class. Decoding the encoded
property
is the only way to access a certificate's extensions.
issuer | property |
issuer:X500DistinguishedName
[read-only] Runtime Versions: | 3 |
Provides the issuer's Distinguished Name (DN).
See also
issuerUniqueID | property |
issuerUniqueID:String
[read-only] Runtime Versions: | 3 |
Provides the issuer's unique identifier.
serialNumber | property |
serialNumber:String
[read-only] Runtime Versions: | 3 |
Provides the serial number of the certificate as a hexadecimal string. The issuer assigns this number, and the number is unique within the issuer's list of issued certificates.
signatureAlgorithmOID | property |
signatureAlgorithmOID:String
[read-only] Runtime Versions: | 3 |
Provides the signature algorithm Object Identifier (OID).
signatureAlgorithmParams | property |
signatureAlgorithmParams:ByteArray
[read-only] Runtime Versions: | 3 |
Provides the signature algorithm's parameters. If there are no signature algorithm parameters, this value is set to null.
subject | property |
subject:X500DistinguishedName
[read-only] Runtime Versions: | 3 |
Provides the subject's Distinguished Name (DN).
See also
subjectPublicKey | property |
subjectPublicKey:String
[read-only] Runtime Versions: | 3 |
Provides the subject's public key.
subjectPublicKeyAlgorithmOID | property |
subjectPublicKeyAlgorithmOID:String
[read-only] Runtime Versions: | 3 |
Provides the algorithm OID for the subject's public key.
subjectUniqueID | property |
subjectUniqueID:String
[read-only] Runtime Versions: | 3 |
Provides the subject's unique identifier.
validNotAfter | property |
validNotAfter:Date
[read-only] Runtime Versions: | 3 |
Indicates the date on which the certificate's validity period ends.
validNotBefore | property |
validNotBefore:Date
[read-only] Runtime Versions: | 3 |
Indicates the date on which the certificate's validity period begins.
version | property |
version:uint
[read-only] Runtime Versions: | 3 |
Provides the version number of the certificate format. This property indicates whether the certificate has extensions, a unique identifier, or only the basic fields.
-
version
= 2: Indicates X.509 Version 3 - Extensions are present -
version
= 1: Indicates X.509 Version 2 - Extensions are not present, but a unique identifier is present. -
version
= null: Indicates X.509 Version 1 - Only the basic certificate fields are present
Thu Sep 29 2011, 02:34 AM -07:00