/*! 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."]})]})]})]})]})}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"),a=Symbol.for("react.fragment"),n=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,a={},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)n.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:d,ref:o,props:a,_owner:c.current}}t.Fragment=a,t.jsx=d,t.jsxs=d},85893:(e,t,s)=>{e.exports=s(75251)},11151:(e,t,s)=>{s.d(t,{Z:()=>c,a:()=>n});var r=s(67294);const i={},a=r.createContext(i);function n(e){const t=r.useContext(a);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:n(e.components),r.createElement(a.Provider,{value:t},e.children)}}}]);