Function

sec_protocol_metadata_challenge_parameters_are_equal

Compares challenge-relevant information for two security metadata instances.

Declaration

bool sec_protocol_metadata_challenge_parameters_are_equal(sec_protocol_metadata_t metadataA, sec_protocol_metadata_t metadataB);

Discussion

This comparison includes all information relevant to a challenge request, including distinguished names, signature algorithms, and supported certificate types. See Section 7.4.4 of RFC 5246 for more details.

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_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_peers_are_equal

Compares peer information for two security metadata instances.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software