mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
5.7 KiB
JavaScript
2 lines
5.7 KiB
JavaScript
|
/*! For license information please see b1db5b24.f00782eb.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[89691],{48777:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>o,frontMatter:()=>n,metadata:()=>c,toc:()=>d});var r=s(85893),i=s(11151);const n={sidebar_label:"SecurityDetails"},a="SecurityDetails class",c={id:"api/puppeteer.securitydetails",title:"SecurityDetails class",description:"The SecurityDetails class represents the security details of a response that was received over a secure connection.",source:"@site/../docs/api/puppeteer.securitydetails.md",sourceDirName:"api",slug:"/api/puppeteer.securitydetails",permalink:"/next/api/puppeteer.securitydetails",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"SecurityDetails"},sidebar:"api",previous:{title:"HTTPResponse.url",permalink:"/next/api/puppeteer.httpresponse.url"},next:{title:"SecurityDetails.issuer",permalink:"/next/api/puppeteer.securitydetails.issuer"}},l={},d=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Methods",id:"methods",level:2}];function h(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"securitydetails-class",children:"SecurityDetails class"}),"\n",(0,r.jsx)(t.p,{children:"The SecurityDetails class represents the security details of a response that was received over a secure connection."}),"\n",(0,r.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-typescript",children:"export declare class SecurityDetails\n"})}),"\n",(0,r.jsx)(t.h2,{id:"remarks",children:"Remarks"}),"\n",(0,r.jsxs)(t.p,{children:["The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ",(0,r.jsx)(t.code,{children:"SecurityDetails"})," class."]}),"\n",(0,r.jsx)(t.h2,{id:"methods",children:"Methods"}),"\n",(0,r.jsxs)("table",{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:(0,r.jsx)(t.p,{children:"Method"})}),(0,r.jsx)("th",{children:(0,r.jsx)(t.p,{children:"Modifiers"})}),(0,r.jsx)("th",{children:(0,r.jsx)(t.p,{children:"Description"})})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"issuer",children:(0,r.jsx)(t.a,{href:"/next/api/puppeteer.securitydetails.issuer",children:"issuer()"})})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsx)(t.p,{children:"The name of the issuer of the certificate."})})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"protocol",children:(0,r.jsx)(t.a,{href:"/next/api/puppeteer.securitydetails.protocol",children:"protocol()"})})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsx)(t.p,{children:'The security protocol being used, e.g. "TLS 1.2".'})})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"subjectalternativenames",children:(0,r.jsx)(t.a,{href:"/next/api/puppeteer.securitydetails.subjectalternativenames",children:"subjectAlternativeNames()"})})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsxs)(t.p,{children:["The list of ",(0,r.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Subject_Alternative_Name",children:"subject alternative names (SANs)"})," of the certificate."]})})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"subjectname",children:(0,r.jsx)(t.a,{href:"/next/api/puppeteer.securitydetails.subjectname",children:"subjectName()"})})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsx)(t.p,{children:"The name of the subject to which the certificate was issued."})})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"validfrom",children:(0,r.jsx)(t.a,{href:"/next/api/puppeteer.securitydetails.validfrom",children:"validFrom()"})})}),(0,r.jsx)("td",{}),(0,r.jsx)("td",{children:(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"Unix timestamp"}),
|