Enums¶
Details¶
- class GstSdp.MIKEYCacheType(value)¶
Bases:
GLib.Enum
The different cache types
- NONE = 0¶
The envelope key MUST NOT be cached
- ALWAYS = 1¶
The envelope key MUST be cached
- FOR_CSB = 2¶
The envelope key MUST be cached, but only to be used for the specific CSB.
- class GstSdp.MIKEYEncAlg(value)¶
Bases:
GLib.Enum
The encryption algorithm used to encrypt the Encr data field
- NULL = 0¶
no encryption
- AES_CM_128 = 1¶
AES-CM using a 128-bit key
- AES_KW_128 = 2¶
AES Key Wrap using a 128-bit key
- AES_GCM_128 = 6¶
AES-GCM using a 128-bit key
New in version 1.16.
- class GstSdp.MIKEYKVType(value)¶
Bases:
GLib.Enum
The key validity type
- NULL = 0¶
No specific usage rule
- SPI = 1¶
The key is associated with the SPI/MKI
- INTERVAL = 2¶
The key has a start and expiration time
- class GstSdp.MIKEYKeyDataType(value)¶
Bases:
GLib.Enum
The type of key.
- TGK = 0¶
a TEK Generation Key
- TEK = 2¶
Traffic-Encrypting Key
- class GstSdp.MIKEYMacAlg(value)¶
Bases:
GLib.Enum
Specifies the authentication algorithm used
- NULL = 0¶
no authentication
- HMAC_SHA_1_160 = 1¶
HMAC-SHA-1-160
- class GstSdp.MIKEYMapType(value)¶
Bases:
GLib.Enum
Specifies the method of uniquely mapping Crypto Sessions to the security protocol sessions.
- MIKEY_MAP_TYPE_SRTP = 0¶
SRTP
- class GstSdp.MIKEYPRFFunc(value)¶
Bases:
GLib.Enum
The PRF function that has been/will be used for key derivation
- MIKEY_PRF_MIKEY_1 = 0¶
MIKEY-1 PRF function
- class GstSdp.MIKEYPayloadType(value)¶
Bases:
GLib.Enum
Different MIKEY Payload types.
- LAST = 0¶
Last payload
- KEMAC = 1¶
Key data transport payload
- SP = 10¶
Security Policy payload
- RAND = 11¶
RAND payload
- ERR = 12¶
Error payload
- PKE = 2¶
Envelope data payload
- KEY_DATA = 20¶
Key data sub-payload
- GEN_EXT = 21¶
General Extension Payload
- DH = 3¶
DH data payload
- SIGN = 4¶
Signature payload
- T = 5¶
Timestamp payload
- ID = 6¶
ID payload
- CERT = 7¶
Certificate Payload
- CHASH = 8¶
Cert hash payload
- V = 9¶
Verification message payload
- class GstSdp.MIKEYSecProto(value)¶
Bases:
GLib.Enum
Specifies the security protocol
- MIKEY_SEC_PROTO_SRTP = 0¶
SRTP
- class GstSdp.MIKEYSecSRTP(value)¶
Bases:
GLib.Enum
This policy specifies the parameters for SRTP and SRTCP
- ENC_ALG = 0¶
Encryption algorithm
- ENC_KEY_LEN = 1¶
Session Encr. key length
- SRTP_AUTH = 10¶
SRTP authentication off/on, 0 if off, 1 if on
- AUTH_TAG_LEN = 11¶
Authentication tag length
- SRTP_PREFIX_LEN = 12¶
SRTP prefix length
- AUTH_ALG = 2¶
Authentication algorithm
- AEAD_AUTH_TAG_LEN = 20¶
AEAD authentication tag length
New in version 1.16.
- AUTH_KEY_LEN = 3¶
Session Auth. key length
- SALT_KEY_LEN = 4¶
Session Salt key length
- PRF = 5¶
SRTP Pseudo Random Function
- KEY_DERIV_RATE = 6¶
Key derivation rate
- SRTP_ENC = 7¶
SRTP encryption off/on, 0 if off, 1 if on
- SRTCP_ENC = 8¶
SRTCP encryption off/on, 0 if off, 1 if on
- FEC_ORDER = 9¶
sender’s FEC order
- class GstSdp.MIKEYTSType(value)¶
Bases:
GLib.Enum
Specifies the timestamp type.
- NTP_UTC = 0¶
an NTP time in UTC timezone
- NTP = 1¶
an NTP time
- COUNTER = 2¶
a counter
- class GstSdp.MIKEYType(value)¶
Bases:
GLib.Enum
Different MIKEY data types.
- INVALID = -1¶
Invalid type
- PSK_INIT = 0¶
Initiator’s pre-shared key message
- PSK_VERIFY = 1¶
Verification message of a Pre-shared key message
- PK_INIT = 2¶
Initiator’s public-key transport message
- PK_VERIFY = 3¶
Verification message of a public-key message
- DH_INIT = 4¶
Initiator’s DH exchange message
- DH_RESP = 5¶
Responder’s DH exchange message
- ERROR = 6¶
Error message