ExportKeyingMaterial returns length bytes of exported key material in a new slice as defined in RFC 5705. If context is nil, it is not used as part of the seed. If the connection was set to allow renegotiation via Config.Renegotiation, this function will return an error.
(label string, context []byte, length int)
| 283 | // the seed. If the connection was set to allow renegotiation via |
| 284 | // Config.Renegotiation, this function will return an error. |
| 285 | func (cs *ConnectionState) ExportKeyingMaterial(label string, context []byte, length int) ([]byte, error) { |
| 286 | return cs.ekm(label, context, length) |
| 287 | } |
| 288 | |
| 289 | // ClientAuthType declares the policy the server will follow for |
| 290 | // TLS Client Authentication. |
nothing calls this directly
no outgoing calls
no test coverage detected