MCPcopy Create free account
hub / github.com/XTLS/REALITY / CertificateRequestInfo

Struct CertificateRequestInfo

common.go:486–502  ·  view source on GitHub ↗

CertificateRequestInfo contains information from a server's CertificateRequest message, which is used to demand a certificate and proof of control from a client.

Source from the content-addressed store, hash-verified

484// CertificateRequest message, which is used to demand a certificate and proof
485// of control from a client.
486type 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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected