# class:securitydetails
### class: SecurityDetails v0.9.0
[SecurityDetails](#?product=Puppeteer&version=v1.11.0&show=api-class-securitydetails "SecurityDetails") 类表示通过安全连接收到响应时的安全性详细信息。
#### Methods
- [securityDetails.issuer()](#?product=Puppeteer&version=v1.11.0&show=api-securitydetailsissuer)v0.9.0
- [securityDetails.protocol()](#?product=Puppeteer&version=v1.11.0&show=api-securitydetailsprotocol)v0.9.0
- [securityDetails.subjectName()](#?product=Puppeteer&version=v1.11.0&show=api-securitydetailssubjectname)v0.9.0
- [securityDetails.validFrom()](#?product=Puppeteer&version=v1.11.0&show=api-securitydetailsvalidfrom)v0.9.0
- [securityDetails.validTo()](#?product=Puppeteer&version=v1.11.0&show=api-securitydetailsvalidto)v0.9.0
### Methods
#### securityDetails.issuer()v0.9.0
- returns: <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type "String")> 具有证书颁发者名称的字符串。
#### securityDetails.protocol()v0.9.0
- returns: <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type "String")> 带安全协议的字符串,例如:"TLS 1.2"。
#### securityDetails.subjectName()v0.9.0
- returns: <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type "String")> 证书颁发给的主体的名称。
#### securityDetails.validFrom()v0.9.0
- returns: <[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type "Number")> [UnixTime](https://en.wikipedia.org/wiki/Unix_time) 说明证书有效期的开始。
#### securityDetails.validTo()v0.9.0
- returns: <[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type "Number")> [UnixTime](https://en.wikipedia.org/wiki/Unix_time) 说明证书的有效期结束。
![](images/pptr.png)
puppeteer.js中文网|class:securitydetails
puppeteer.js中文文档, puppeteer chrome, puppeteer firefox, puppeteer api 中文文档
puppeteer.js中文网包含了Puppeteer中文文档,最新资讯,应用案例等。Puppeteer 是一个 Node 库,它提供了一个高级 API 来通过 DevTools 协议控制 Chromium 或 Chrome。
- Introduction
- 版本记录
- 概要
- puppeteer-vs-puppeteer-core
- 环境变量
- error-handling
- working-with-chrome-extensions
- class:puppeteer
- class:browserfetcher
- class:browser
- class:page
- class:worker
- class:accessibility
- class:keyboard
- class:mouse
- class:touchscreen
- class:tracing
- class:dialog
- class:consolemessage
- class:frame
- class:executioncontext
- class:jshandle
- class:elementhandle
- class:request
- class:response
- class:securitydetails
- class:target
- class:cdpsession
- class:coverage
- class:timeouterror