CS-Notes/docs/_style/prism-master/examples/prism-hpkp.html

12 lines
353 B
Java
Raw Normal View History

2018-12-19 14:09:39 +08:00
<h2>Pin for one year with report-uri</h2>
<pre><code>pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
max-age=31536000;
includeSubDomains;
report-uri="https://my-reports.com/submit"
</code></pre>
<h2>Pin for a short time (considered unsafe)</h2>
<pre><code>pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
max-age=123
</code></pre>