mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
/*! For license information please see cdc732cf.150816f0.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5341],{3603:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var r=i(85893),n=i(11151);const a={sidebar_label:"SecurityDetails.validTo"},s="SecurityDetails.validTo() method",o={id:"api/puppeteer.securitydetails.validto",title:"SecurityDetails.validTo() method",description:"Unix timestamp marking the end of the certificate's validity.",source:"@site/versioned_docs/version-22.0.0/api/puppeteer.securitydetails.validto.md",sourceDirName:"api",slug:"/api/puppeteer.securitydetails.validto",permalink:"/api/puppeteer.securitydetails.validto",draft:!1,unlisted:!1,tags:[],version:"22.0.0",frontMatter:{sidebar_label:"SecurityDetails.validTo"},sidebar:"api",previous:{title:"SecurityDetails.validFrom",permalink:"/api/puppeteer.securitydetails.validfrom"},next:{title:"Target",permalink:"/api/puppeteer.target"}},l={},c=[{value:"Signature:",id:"signature",level:4}];function p(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"securitydetailsvalidto-method",children:"SecurityDetails.validTo() method"}),"\n",(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."]}),"\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:"class SecurityDetails {\n validTo(): number;\n}\n"})}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,r.jsx)(t.p,{children:"number"})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},75251:(e,t,i)=>{var r=i(67294),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,i){var r,a={},c=null,p=null;for(r in void 0!==i&&(c=""+i),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(p=t.ref),t)s.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:n,type:e,key:c,ref:p,props:a,_owner:o.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},85893:(e,t,i)=>{e.exports=i(75251)},11151:(e,t,i)=>{i.d(t,{Z:()=>o,a:()=>s});var r=i(67294);const n={},a=r.createContext(n);function s(e){const t=r.useContext(a);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),r.createElement(a.Provider,{value:t},e.children)}}}]); |