Skip to main content
Version: 24.38.0

SecurityDetails 类

🌐 SecurityDetails class

SecurityDetails 类表示通过安全连接接收到的响应的安全详细信息。

🌐 The SecurityDetails class represents the security details of a response that was received over a secure connection.

语法

🌐 Signature

export declare class SecurityDetails

附注

🌐 Remarks

这个类的构造函数被标记为内部。第三方代码不应直接调用构造函数或创建继承 SecurityDetails 类的子类。

🌐 The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the SecurityDetails class.

方法

🌐 Methods

方法

🌐 Method

修饰符

🌐 Modifiers

描述

🌐 Description

issuer()

证书颁发者的名称。

🌐 The name of the issuer of the certificate.

protocol()

正在使用的安全协议,例如“TLS 1.2”。

🌐 The security protocol being used, e.g. "TLS 1.2".

subjectAlternativeNames()

证书的 主题备用名称 (SANs) 列表。

🌐 The list of subject alternative names (SANs) of the certificate.

subjectName()

颁发证书的主体的名称。

🌐 The name of the subject to which the certificate was issued.

validFrom()

Unix 时间戳 标记证书有效期的开始。

validTo()

Unix 时间戳 标记证书有效期的结束。