MIKEYMessage.from_caps


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.8" ) ]
public MIKEYMessage.from_caps (Caps caps)

Makes mikey message including: - Security Policy Payload - Key Data Transport Payload - Key Data Sub-Payload

Parameters:

caps

a Caps, including SRTP parameters (srtp/srtcp cipher, authorization, key data)

Returns:

a MIKEYMessage, or null if there is no srtp information in the caps.