puppeteer/assets/js/b1db5b24.f00782eb.js
release-please[bot] 07b60feacc deploy: cde1efb962
2024-05-06 08:01:08 +00:00

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"})," marking the start of the certificate's validity."]})})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)("span",{id:"validto",children:(0,r.jsx)(t.a,{href:"/next/api/puppeteer.securitydetails.validto",children:"validTo()"})})}),(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"})," marking the end of the certificate's validity."]})})]})]})]})]})}function o(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},75251:(e,t,s)=>{var r=s(67294),i=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function d(e,t,s){var r,n={},d=null,h=null;for(r in void 0!==s&&(d=""+s),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(h=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===n[r]&&(n[r]=t[r]);return{$$typeof:i,type:e,key:d,ref:h,props:n,_owner:c.current}}t.Fragment=n,t.jsx=d,t.jsxs=d},85893:(e,t,s)=>{e.exports=s(75251)},11151:(e,t,s)=>{s.d(t,{Z:()=>c,a:()=>a});var r=s(67294);const i={},n=r.createContext(i);function a(e){const t=r.useContext(n);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(n.Provider,{value:t},e.children)}}}]);