puppeteer/assets/js/b1db5b24.285459a3.js
release-please[bot] df56e33c5f deploy: 2d8acd2021
2024-01-29 12:51:38 +00:00

2 lines
5.2 KiB
JavaScript

/*! For license information please see b1db5b24.285459a3.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:()=>h,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 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:"/next/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:"/next/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:"/next/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:"/next/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:"/next/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:"/next/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."]})]})]})]})]})}function h(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(o,{...e})}):o(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,o=null;for(r in void 0!==s&&(d=""+s),void 0!==t.key&&(d=""+t.key),void 0!==t.ref&&(o=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:o,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)}}}]);