<titledata-rh="true">SecurityDetails class | Puppeteer</title><metadata-rh="true"name="viewport"content="width=device-width,initial-scale=1"><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://pptr.dev/api/puppeteer.securitydetails"><metadata-rh="true"property="og:locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docsearch:counter"content="2"><metadata-rh="true"property="og:title"content="SecurityDetails class | Puppeteer"><metadata-rh="true"name="description"content="The SecurityDetails class represents the security details of a response that was received over a secure connection."><metadata-rh="true"property="og:description"content="The SecurityDetails class represents the security details of a response that was received over a secure connection."><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://pptr.dev/api/puppeteer.securitydetails"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.securitydetails"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.securitydetails"hreflang="x-default"><linkdata-rh="true"rel="preconnect"href="https://DVKY664LG7-dsn.algolia.net"crossorigin="anonymous"><linkrel="search"type="application/opensearchdescription+xml"title="Puppeteer"href="/opensearch.xml">
<h4class="anchor anchorWithStickyNavbar_FNw8"id="signature">Signature:<aclass="hash-link"aria-label="Direct link to Signature:"title="Direct link to Signature:"href="/api/puppeteer.securitydetails#signature"></a></h4>
<h2class="anchor anchorWithStickyNavbar_FNw8"id="remarks">Remarks<aclass="hash-link"aria-label="Direct link to Remarks"title="Direct link to Remarks"href="/api/puppeteer.securitydetails#remarks"></a></h2>
<p>The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the <code>SecurityDetails</code> class.</p>
<h2class="anchor anchorWithStickyNavbar_FNw8"id="methods">Methods<aclass="hash-link"aria-label="Direct link to Methods"title="Direct link to Methods"href="/api/puppeteer.securitydetails#methods"></a></h2>
<table><thead><tr><th><p>Method</p></th><th><p>Modifiers</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><spanid="issuer"><ahref="/api/puppeteer.securitydetails.issuer">issuer()</a></span></td><td></td><td><p>The name of the issuer of the certificate.</p></td></tr><tr><td><spanid="protocol"><ahref="/api/puppeteer.securitydetails.protocol">protocol()</a></span></td><td></td><td><p>The security protocol being used, e.g. "TLS 1.2".</p></td></tr><tr><td><spanid="subjectalternativenames"><ahref="/api/puppeteer.securitydetails.subjectalternativenames">subjectAlternativeNames()</a></span></td><td></td><td><p>The list of <ahref="https://en.wikipedia.org/wiki/Subject_Alternative_Name"target="_blank"rel="noopener noreferrer">subject alternative names (SANs)</a> of the certificate.</p></td></tr><tr><td><spanid="subjectname"><ahref="/api/puppeteer.securitydetails.subjectname">subjectName()</a></span></td><td></td><td><p>The name of the subject to which the certificate was issued.</p></td></tr><tr><td><spanid="validfrom"><ahref="/api/puppeteer.securitydetails.validfrom">validFrom()</a></span></td><td></td><td><p><ahref="https://en.wikipedia.org/wiki/Unix_time"target="_blank"rel="noopener noreferrer">Unix timestamp</a> marking the start of the certificate's validity.</p></td></tr><tr><td><spanid="validto"><ahref="/api/puppeteer.securitydetails.validto">validTo()</a></span></td><td></td><td><p><ahref="https://en.wikipedia.org/wiki/Unix_time"target="_blank"rel="noopener noreferrer">Unix timestamp</a> marking the end of the certificate's validity.</p></td></tr></tbody></table></div></article><navclass="pagination-nav docusaurus-mt-lg"aria-label="Docs pages"><aclass="pagination-nav__link pagination-nav__link--prev"href="/api/puppeteer.httpresponse.url"><divclass="pagination-nav__sublabel">Previous</div><divclass="pagination-nav__label">HTTPResponse.url</div></a><aclass="pagination-nav__link pagination-nav__link--next"href="/api/puppeteer.securitydetails.issuer"><divclass="pagination-nav__sublabel">Next</div><divclass="pagination-nav__label">SecurityDetails.issuer</div></a></nav></div></div><divclass="col col--3"><divclass="tableOfContents_IS5x thin-scrollbar theme-doc-toc-desktop"><ulclass="table-of-contents table-of-contents__left-border"><li><aclass="table-of-contents__link toc-highlight"href="/api/puppeteer.securitydetails#remarks">Remarks</a></li><li><aclass="table-of-contents__link toc-highlight"href="/api/puppeteer.securitydetails#methods">Methods</a></li></ul></div></div></div></div></main></div></div></div><footerclass="footer footer--dark"><divclass="container container-fluid"><divclass="row footer__links"><divclass="col footer__col"><divclass="footer__title">Community</div><ulclass="footer__items clean-list"><liclass="footer__item"><ahref="https://stackoverflow.com/questions/tagged/puppeteer"target="_blank"rel="noopener noreferrer"class="footer__link-item">Stack Overflow<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_T11m"><pathfill="currentColor"d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><liclass="footer__item"><ahref="https://twitter.com/chromedevtools"target="_blank"rel="noopener noreferrer"class="footer__link-item">Twitter<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_T11m"><pathfill="currentColor"d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><liclass="footer__item"><ahref="https://goo.gle/devtools-youtube"target="_blank"rel="noopener noreferrer"class="footer__link-item">YouTube<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_T11m"><pathfill="currentColor"d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div