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 33322bd6.a5b676f9.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[97888],{1417:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var i=r(85893),n=r(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/../docs/api/puppeteer.securitydetails.validto.md",sourceDirName:"api",slug:"/api/puppeteer.securitydetails.validto",permalink:"/next/api/puppeteer.securitydetails.validto",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"SecurityDetails.validTo"},sidebar:"api",previous:{title:"SecurityDetails.validFrom",permalink:"/next/api/puppeteer.securitydetails.validfrom"},next:{title:"Target",permalink:"/next/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,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"securitydetailsvalidto-method",children:"SecurityDetails.validTo() method"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Unix_time",children:"Unix timestamp"})," marking the end of the certificate's validity."]}),"\n",(0,i.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{className:"language-typescript",children:"class SecurityDetails {\n validTo(): number;\n}\n"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,i.jsx)(t.p,{children:"number"})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},75251:(e,t,r)=>{var i=r(67294),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var i,a={},c=null,p=null;for(i in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(p=t.ref),t)s.call(t,i)&&!l.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===a[i]&&(a[i]=t[i]);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,r)=>{e.exports=r(75251)},11151:(e,t,r)=>{r.d(t,{Z:()=>o,a:()=>s});var i=r(67294);const n={},a=i.createContext(n);function s(e){const t=i.useContext(a);return i.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),i.createElement(a.Provider,{value:t},e.children)}}}]); |