mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
|
/*! For license information please see 38666f4a.f3ea7a67.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7899],{54642:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>n,default:()=>h,frontMatter:()=>a,metadata:()=>c,toc:()=>d});var r=s(85893),i=s(11151);const a={sidebar_label:"SecurityDetails"},n="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/versioned_docs/version-22.0.0/api/puppeteer.securitydetails.md",sourceDirName:"api",slug:"/api/puppeteer.securitydetails",permalink:"/api/puppeteer.securitydetails",draft:!1,unlisted:!1,tags:[],version:"22.0.0",frontMatter:{sidebar_label:"SecurityDetails"},sidebar:"api",previous:{title:"HTTPResponse.url",permalink:"/api/puppeteer.httpresponse.url"},next:{title:"SecurityDetails.issuer",permalink:"/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 o(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(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)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Method"}),(0,r.jsx)(t.th,{children:"Modifiers"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.securitydetails.issuer",children:"issuer()"})}),(0,r.jsx)(t.td,{}),(0,r.jsx)(t.td,{children:"The name of the issuer of the certificate."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.securitydetails.protocol",children:"protocol()"})}),(0,r.jsx)(t.td,{}),(0,r.jsx)(t.td,{children:'The security protocol being used, e.g. "TLS 1.2".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.securitydetails.subjectalternativenames",children:"subjectAlternativeNames()"})}),(0,r.jsx)(t.td,{}),(0,r.jsxs)(t.td,{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)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.securitydetails.subjectname",children:"subjectName()"})}),(0,r.jsx)(t.td,{}),(0,r.jsx)(t.td,{children:"The name of the subject to which the certificate was issued."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.securitydetails.validfrom",children:"validFrom()"})}),(0,r.jsx)(t.td,{}),(0,r.jsxs)(t.td,{children:[(0,r.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"Unix timestamp"})," marking the start of the certificate's validity."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:(0,r.jsx)(t.a,{href:"/api/puppeteer.securitydetails.validto",children:"validTo()"})}),(0,r.jsx)(t.td,{}),(0,r.jsxs)(t.td,{children:[(0,r.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"Unix timestamp"})," marking the end of the certificate's validity."]})]})]})]}
|