| 包 | flash.security |
| 类 | public final class CertificateStatus |
| 继承 | CertificateStatus Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| EXPIRED : String = "expired" [静态]
证书已超过有效期。 | CertificateStatus | ||
| INVALID : String = "invalid" [静态]
无效的证书。 | CertificateStatus | ||
| INVALID_CHAIN : String = "invalidChain" [静态]
此证书链中的根证书或中间证书无效。 | CertificateStatus | ||
| NOT_YET_VALID : String = "notYetValid" [静态]
证书尚未生效。 | CertificateStatus | ||
| PRINCIPAL_MISMATCH : String = "principalMismatch" [静态]
证书公用名与需要的主机名不匹配。 | CertificateStatus | ||
| REVOKED : String = "revoked" [静态]
证书已吊销。 | CertificateStatus | ||
| TRUSTED : String = "trusted" [静态]
受信任的有效证书。 | CertificateStatus | ||
| UNKNOWN : String = "unknown" [静态]
证书的有效性未知。 | CertificateStatus | ||
| UNTRUSTED_SIGNERS : String = "untrustedSigners" [静态]
证书未链接到受信任的根证书。 | CertificateStatus | ||
常量详细信息
EXPIRED | 常量 |
public static const EXPIRED:String = "expired"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
证书已超过有效期。
表示已尝试进行证书验证处理,但由于证书的有效期在当前日期之前或之后而失败。对于某些操作系统,如果当前日期在证书的有效期之前,则报告 notYetValid 状态。对于其他操作系统,在这两种情况下都报告 expired 状态。
INVALID | 常量 |
public static const INVALID:String = "invalid"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
无效的证书。
表示已尝试进行证书验证处理,但失败。这是在不能确定更明确的证书状态时报告的通用失败状态。
INVALID_CHAIN | 常量 |
public static const INVALID_CHAIN:String = "invalidChain"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
此证书链中的根证书或中间证书无效。
表示已尝试进行证书验证处理,但由于证书的信任链无效而失败。
NOT_YET_VALID | 常量 |
public static const NOT_YET_VALID:String = "notYetValid"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
证书尚未生效。
表示证书尚未生效。当前日期早于证书的 notBefore 日期/时间
PRINCIPAL_MISMATCH | 常量 |
public static const PRINCIPAL_MISMATCH:String = "principalMismatch"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
证书公用名与需要的主机名不匹配。
表示已尝试进行证书验证处理,但由于证书公用名与主机的完全限定域名不匹配而失败。
REVOKED | 常量 |
public static const REVOKED:String = "revoked"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
证书已吊销。
表示已尝试进行证书验证处理,但由于证书已被吊销而失败。对于某些操作系统,在将证书(或其根证书)添加到客户端计算机上的不受信任的证书列表时也报告 revoked 状态。
TRUSTED | 常量 |
public static const TRUSTED:String = "trusted"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
受信任的有效证书。
表示证书未过期、吊销检查未失败并链接到受信任的根证书。
UNKNOWN | 常量 |
public static const UNKNOWN:String = "unknown"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
证书的有效性未知。
表示尚未对证书执行证书验证处理。
UNTRUSTED_SIGNERS | 常量 |
public static const UNTRUSTED_SIGNERS:String = "untrustedSigners"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player Player - 10.3, AIR 2 |
证书未链接到受信任的根证书。
表示已尝试进行证书验证处理,但证书没有链接到客户端信任存储中的任何根证书。对于某些操作系统,如果证书位于客户端计算机上的不受信任的证书列表中,也会报告 untrustedSigners 状态。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性