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

Struct rsaKeyAgreement

key_agreement.go:44–44  ·  view source on GitHub ↗

rsaKeyAgreement implements the standard TLS key agreement where the client encrypts the pre-master secret to the server's public key.

Source from the content-addressed store, hash-verified

42// rsaKeyAgreement implements the standard TLS key agreement where the client
43// encrypts the pre-master secret to the server's public key.
44type rsaKeyAgreement struct{}
45
46func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
47 return nil, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected