Skip to main content

decrypt_psk

Function decrypt_psk 

Source
pub fn decrypt_psk(
    response: &[u8],
    session_key: &[u8; 16],
) -> Result<Ieee1609Dot2Data, PkiProtocolError>
Expand description

Decrypt a response encrypted with the request’s AES key (exactly one pskRecipInfo with psk_id); returns the decoded inner Ieee1609Dot2Data.