CertificateRequestInfo contains information from a server's CertificateRequest message, which is used to demand a certificate and proof of control from a client.
| 484 | // CertificateRequest message, which is used to demand a certificate and proof |
| 485 | // of control from a client. |
| 486 | type CertificateRequestInfo struct { |
| 487 | // AcceptableCAs contains zero or more, DER-encoded, X.501 |
| 488 | // Distinguished Names. These are the names of root or intermediate CAs |
| 489 | // that the server wishes the returned certificate to be signed by. An |
| 490 | // empty slice indicates that the server has no preference. |
| 491 | AcceptableCAs [][]byte |
| 492 | |
| 493 | // SignatureSchemes lists the signature schemes that the server is |
| 494 | // willing to verify. |
| 495 | SignatureSchemes []SignatureScheme |
| 496 | |
| 497 | // Version is the TLS version that was negotiated for this connection. |
| 498 | Version uint16 |
| 499 | |
| 500 | // ctx is the context of the handshake that is in progress. |
| 501 | ctx context.Context |
| 502 | } |
| 503 | |
| 504 | // Context returns the context of the handshake that is in progress. |
| 505 | // This context is a child of the context passed to HandshakeContext, |
nothing calls this directly
no outgoing calls
no test coverage detected