summaryrefslogtreecommitdiff
path: root/devdocs/go/crypto%2Ftls%2Ffipsonly%2Findex.html
blob: 7d3cb98e5a3a21488d01026c3dbee5247683b549 (plain)
1
2
3
4
5
6
7
8
9
<h1> Command fipsonly  </h1>     <p>Package fipsonly restricts all TLS configuration to FIPS-approved settings. </p>
<p>The effect is triggered by importing the package anywhere in a program, as in: </p>
<pre data-language="go">import _ "crypto/tls/fipsonly"
</pre> <p>This package only exists when using Go compiled with GOEXPERIMENT=boringcrypto. </p><div class="_attribution">
  <p class="_attribution-p">
    &copy; Google, Inc.<br>Licensed under the Creative Commons Attribution License 3.0.<br>
    <a href="http://golang.org/pkg/crypto/tls/fipsonly/" class="_attribution-link">http://golang.org/pkg/crypto/tls/fipsonly/</a>
  </p>
</div>