Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectionStateInfo ¶ added in v0.4.0
type ConnectionStateInfo struct { Certificates []*x509.Certificate OCSPResponse []byte }
func (ConnectionStateInfo) IntermediateCertificates ¶ added in v0.4.0
func (i ConnectionStateInfo) IntermediateCertificates() []*x509.Certificate
func (ConnectionStateInfo) IssuerCertificate ¶ added in v0.4.0
func (i ConnectionStateInfo) IssuerCertificate() *x509.Certificate
func (ConnectionStateInfo) ServerCertificate ¶ added in v0.4.0
func (i ConnectionStateInfo) ServerCertificate() *x509.Certificate
type NetCommandOptions ¶ added in v0.9.0
type OCSPOption ¶ added in v0.4.0
type OCSPOption int
const ( // Disable OCSP checker. OCSPNo OCSPOption = iota // Check the response from OCSP Stapling. If there is no OCSP response, the status will be "INFO". OCSPAsIs // Check the response from OCSP Stapling. If there is no OCSP response, retry the TLS connection up to two times every second. If there is still no OCSP response, the status will be "WARNING". OCSPStapling // Check the response from OCSP Responder. OCSPResponder // Check the response from OCSP Stapling. If there is no OCSP response, check the response from OCSP Responder. OCSPFallback )
Click to show internal directories.
Click to hide internal directories.