Packageflash.security
Classpublic final class CertificateStatus
InheritanceCertificateStatus Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 2

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

See also

SecureSocket.serverCertificateStatus


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
  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
[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
EXPIREDconstant
public static const EXPIRED:String = "expired"

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

INVALIDconstant 
public static const INVALID:String = "invalid"

Language version: ActionScript 3.0
Runtime version: 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_CHAINconstant 
public static const INVALID_CHAIN:String = "invalidChain"

Language version: ActionScript 3.0
Runtime version: 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_VALIDconstant 
public static const NOT_YET_VALID:String = "notYetValid"

Language version: ActionScript 3.0
Runtime version: 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_MISMATCHconstant 
public static const PRINCIPAL_MISMATCH:String = "principalMismatch"

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

REVOKEDconstant 
public static const REVOKED:String = "revoked"

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

TRUSTEDconstant 
public static const TRUSTED:String = "trusted"

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

UNKNOWNconstant 
public static const UNKNOWN:String

Language version: ActionScript 3.0
Runtime version: AIR 2

The validity of the certificate is not known.

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

UNTRUSTED_SIGNERSconstant 
public static const UNTRUSTED_SIGNERS:String = "untrustedSigners"

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