flash.security

# CertificateStatus - AS3

Package | flash.security
Class | public final class CertificateStatus
Inheritance | CertificateStatus Object

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The CertificateStatus class defines constants used to report the results of certificate validation processing by a SecureSocket object.

Related API Elements

SecureSocket.serverCertificateStatus

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| 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 the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined By
--- | --- | ---
|  | EXPIRED : String = "expired" [static] The certificate is outside its valid period. | CertificateStatus
|  | INVALID : String = "invalid" [static] An invalid certificate. | CertificateStatus
|  | INVALID_CHAIN : String = "invalidChain" [static] A root or intermediate certificate in this certificate's chain is invalid. | CertificateStatus
|  | NOT_YET_VALID : String = "notYetValid" [static] The certificate is not yet valid. | CertificateStatus
|  | PRINCIPAL_MISMATCH : String = "principalMismatch" [static] The certificate common name does not match the expected host name. | CertificateStatus
|  | REVOKED : String = "revoked" [static] The certificate has been revoked. | CertificateStatus
|  | TRUSTED : String = "trusted" [static] A valid, trusted certificate. | CertificateStatus
|  | UNKNOWN : String = "unknown" [static] The validity of the certificate is not known. | CertificateStatus
|  | UNTRUSTED_SIGNERS : String = "untrustedSigners" [static] The certificate does not chain to a trusted root certificate. | CertificateStatus

Constant Detail

### EXPIRED

Constant

`public static const EXPIRED:String = "expired"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The certificate is outside its valid period.

Indicates that certificate validation processing was attempted, but failed because the validity period of the certificate is either before or after the current date. On some operating systems, the `notYetValid` status is reported when the current date is before the validity period of the cerificate. On other operating systems, the `expired` status is reported in both cases.

### INVALID

Constant

`public static const INVALID:String = "invalid"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

An invalid certificate.

Indicates that certificate validation processing was attempted, but failed. This is the generic faliure status that is reported when a more specific certificate status cannot be determined.

### INVALID_CHAIN

Constant

`public static const INVALID_CHAIN:String = "invalidChain"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

A root or intermediate certificate in this certificate's chain is invalid.

Indicates that certificate validation processing was attempted, but failed because the certificate's trust chain was invalid.

### NOT_YET_VALID

Constant

`public static const NOT_YET_VALID:String = "notYetValid"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The certificate is not yet valid.

Indicates that a certificate is not yet valid. The current date is before the notBefore date/time of the certificate

### PRINCIPAL_MISMATCH

Constant

`public static const PRINCIPAL_MISMATCH:String = "principalMismatch"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The certificate common name does not match the expected host name.

Indicates that certificate validation processing was attempted, but failed because the certificate's common name does not match the fully qualified domain name of the host.

### REVOKED

Constant

`public static const REVOKED:String = "revoked"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The certificate has been revoked.

Indicates that certificate validation processing was attempted, but failed because the certificate has been revoked. On some operating systems, the `revoked` status is also reported when the certificate (or its root certificate) has been added to the list of untrusted certificates on the client computer.

### TRUSTED

Constant

`public static const TRUSTED:String = "trusted"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

A valid, trusted certificate.

Indicates that a certificate has not expired, has not failed a revocation check, and chains to a trusted root certificate.

### UNKNOWN

Constant

`public static const UNKNOWN:String = "unknown"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The validity of the certificate is not known.

Indicates that certificate validation processing has not been performed yet on a certificate.

### UNTRUSTED_SIGNERS

Constant

`public static const UNTRUSTED_SIGNERS:String = "untrustedSigners"`

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player Player - 10.3, AIR 2

The certificate does not chain to a trusted root certificate.

Indicates that certificate validation processing was attempted, but that the certificate does not chain to any of the root certificates in the client trust store. On some operating systems, the `untrustedSigners` is also reported if the certificate is in the list of untrusted certificates on the client computer.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00