Skip to main content

decode_secured_rtps_message

Function decode_secured_rtps_message 

Source
pub fn decode_secured_rtps_message(
    plugin: &dyn CryptographicPlugin,
    local: CryptoHandle,
    remote: CryptoHandle,
    wire: &[u8],
) -> Result<Vec<u8>, SecurityRtpsError>
Expand description

Unwrap eine ganze RTPS-Message. Erwartet das gleiche Format wie encode_secured_rtps_message. Liefert die rekonstruierte plaintext-Message ([header | body]).

§Errors

Tampered Header, Wire-Inkonsistenz, Crypto-Verify-Fail.