Function s2n_tls_sys::s2n_offered_psk_get_identity

source ·
pub unsafe extern "C" fn s2n_offered_psk_get_identity(
    psk: *mut s2n_offered_psk,
    identity: *mut *mut u8,
    size: *mut u16
) -> c_int
Expand description

Gets the PSK identity and PSK identity length for a given offered PSK object.

@param psk A pointer to the offered PSK object being read. @param identity The PSK identity being obtained. @param size The length of the PSK identity being obtained.