Function

sec_protocol_metadata_peers_are_equal

Compares peer information for two security metadata instances.

Declaration

bool sec_protocol_metadata_peers_are_equal(sec_protocol_metadata_t metadataA, sec_protocol_metadata_t metadataB);

Discussion

This comparison does not include protocol configuration options, such as ciphersuites.

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_create_secret_with_context

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

sec_protocol_metadata_challenge_parameters_are_equal

Compares challenge-relevant information for two security metadata instances.