Function

sec_protocol_metadata_create_secret_with_context

Exports a cryptographic key derived from the protocol metadata using a label and context string.

Declaration

dispatch_data_t sec_protocol_metadata_create_secret_with_context(sec_protocol_metadata_t metadata, size_t label_len, const char *label, size_t context_len, const uint8_t *context, size_t exporter_length);

See Also

Handling TLS Challenges

sec_protocol_metadata_access_distinguished_names

Accesses the X.509 Distinguished Names presented by the peer.

sec_protocol_metadata_access_ocsp_response

Accesses the contents of the OCSP response.

sec_protocol_metadata_access_peer_certificate_chain

Accesses the certificate chain presented by the peer.

sec_protocol_metadata_access_supported_signature_algorithms

Accesses the list of signature algorithms supported by the peer.

sec_protocol_metadata_access_pre_shared_keys

Accesses the PSKs supported by the local instance.

sec_protocol_metadata_create_secret

Exports a cryptographic key derived from the protocol metadata using a label string.

sec_protocol_metadata_peers_are_equal

Compares peer information for two security metadata instances.

sec_protocol_metadata_challenge_parameters_are_equal

Compares challenge-relevant information for two security metadata instances.