MIKEYMessage.from_data


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.4" ) ]
public MIKEYMessage.from_data (uint8[] data, MIKEYDecryptInfo info) throws Error

Parse data.length bytes from data into a MIKEYMessage.

info contains the parameters to decrypt and verify the data.

Parameters:

data

bytes to read

info

MIKEYDecryptInfo

size

length of data

Returns:

a MIKEYMessage on success or null when parsing failed and error will be set.