gstsdp.mikeymessage
Module for [MIKEYMessage] class
class MIKEYMessage
Types 1
classMIKEYMessage : gobject.boxed.Boxed
Structure holding the information of the MIKEY message
Methods
gstsdp.types.MIKEYType type() @property nothrowGet `type` field. Returns: the #GstMIKEYType message typevoid type(gstsdp.types.MIKEYType propval) @property nothrowSet `type` field. Params: propval = the #GstMIKEYType message typegstsdp.types.MIKEYPRFFunc prfFunc() @property nothrowGet `prfFunc` field. Returns: a #GstMIKEYPRFFuncvoid prfFunc(gstsdp.types.MIKEYPRFFunc propval) @property nothrowSet `prfFunc` field. Params: propval = a #GstMIKEYPRFFuncvoid CSBId(uint propval) @property nothrowSet `CSBId` field. Params: propval = Identifies the Crypto Session Bundlegstsdp.types.MIKEYMapType mapType() @property nothrowGet `mapType` field. Returns: a #GstMIKEYMapTypevoid mapType(gstsdp.types.MIKEYMapType propval) @property nothrowSet `mapType` field. Params: propval = a #GstMIKEYMapTypegstsdp.mikeymessage.MIKEYMessage newFromBytes(glib.bytes.Bytes bytes, gstsdp.types.MIKEYDecryptInfo info) staticMake a new #GstMIKEYMessage from bytes.gstsdp.mikeymessage.MIKEYMessage newFromCaps(gst.caps.Caps caps) static nothrowMakes mikey message including: - Security Policy Payload - Key Data Transport Payload - Key Data Sub-Payloadgstsdp.mikeymessage.MIKEYMessage newFromData(ubyte[] data, gstsdp.types.MIKEYDecryptInfo info) staticParse size bytes from data into a #GstMIKEYMessage. info contains the parameters to decrypt and verify the data.bool addPke(gstsdp.types.MIKEYCacheType C, ubyte[] data) nothrowAdd a new PKE payload to msg with the given parameters.bool addTNowNtpUtc() nothrowAdd a new T payload to msg that contains the current time in NTP-UTC format. Returns: true on successstring base64Encode() nothrowgstsdp.mikeypayload.MIKEYPayload findPayload(gstsdp.types.MIKEYPayloadType type, uint nth) nothrowFind the nth occurrence of the payload with type in msg.uint getNCs() nothrowGet the number of crypto sessions in msg. Returns: the number of crypto sessionsuint getNPayloads() nothrowGet the number of payloads in msg. Returns: the number of payloads in msgbool insertCsSrtp(int idx, gstsdp.types.MIKEYMapSRTP map) nothrowInsert a Crypto Session map for SRTP in msg at idxbool insertPayload(uint idx, gstsdp.mikeypayload.MIKEYPayload payload) nothrowInsert the payload at index idx in msg. If idx is -1, the payload will be appended to msg.bool replaceCsSrtp(int idx, gstsdp.types.MIKEYMapSRTP map) nothrowReplace a Crypto Session map for SRTP in msg at idx with map.bool replacePayload(uint idx, gstsdp.mikeypayload.MIKEYPayload payload) nothrowReplace the payload at idx in msg with payload.bool setInfo(ubyte version_, gstsdp.types.MIKEYType type, bool V, gstsdp.types.MIKEYPRFFunc prfFunc, uint CSBId, gstsdp.types.MIKEYMapType mapType) nothrowSet the information in msg.glib.bytes.Bytes toBytes(gstsdp.types.MIKEYEncryptInfo info)Convert msg to a #GBytes.bool toCaps(gst.caps.Caps caps) nothrow