Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.security 
CertificateStatus 
Packageflash.security
Classpublic final class CertificateStatus
InheritanceCertificateStatus Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

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

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  AIR-only EXPIRED : String = "expired"
[static] The certificate is outside its valid period.
CertificateStatus
  AIR-only INVALID : String = "invalid"
[static] An invalid certificate.
CertificateStatus
  AIR-only INVALID_CHAIN : String = "invalidChain"
[static] A root or intermediate certificate in this certificate's chain is invalid.
CertificateStatus
  AIR-only NOT_YET_VALID : String = "notYetValid"
[static] The certificate is not yet valid.
CertificateStatus
  AIR-only PRINCIPAL_MISMATCH : String = "principalMismatch"
[static] The certificate common name does not match the expected host name.
CertificateStatus
  AIR-only REVOKED : String = "revoked"
[static] The certificate has been revoked.
CertificateStatus
  AIR-only TRUSTED : String = "trusted"
[static] A valid, trusted certificate.
CertificateStatus
  AIR-only UNKNOWN : String = "unknown"
[static] The validity of the certificate is not known.
CertificateStatus
  AIR-only UNTRUSTED_SIGNERS : String = "untrustedSigners"
[static] The certificate does not chain to a trusted root certificate.
CertificateStatus
Constant Detail
AIR-only 

EXPIRED

Constant
public static const EXPIRED:String = "expired"

Language Version: ActionScript 3.0
Runtime Versions: 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.

AIR-only 

INVALID

Constant 
public static const INVALID:String = "invalid"

Language Version: ActionScript 3.0
Runtime Versions: 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.

AIR-only 

INVALID_CHAIN

Constant 
public static const INVALID_CHAIN:String = "invalidChain"

Language Version: ActionScript 3.0
Runtime Versions: 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.

AIR-only 

NOT_YET_VALID

Constant 
public static const NOT_YET_VALID:String = "notYetValid"

Language Version: ActionScript 3.0
Runtime Versions: 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

AIR-only 

PRINCIPAL_MISMATCH

Constant 
public static const PRINCIPAL_MISMATCH:String = "principalMismatch"

Language Version: ActionScript 3.0
Runtime Versions: 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.

AIR-only 

REVOKED

Constant 
public static const REVOKED:String = "revoked"

Language Version: ActionScript 3.0
Runtime Versions: 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.

AIR-only 

TRUSTED

Constant 
public static const TRUSTED:String = "trusted"

Language Version: ActionScript 3.0
Runtime Versions: 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.

AIR-only 

UNKNOWN

Constant 
public static const UNKNOWN:String = "unknown"

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The validity of the certificate is not known.

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

AIR-only 

UNTRUSTED_SIGNERS

Constant 
public static const UNTRUSTED_SIGNERS:String = "untrustedSigners"

Language Version: ActionScript 3.0
Runtime Versions: 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.