public enum SRTPParameters extends Enum<SRTPParameters>
Enum Constant and Description |
---|
SRTP_AES128_CM_HMAC_SHA1_32 |
SRTP_AES128_CM_HMAC_SHA1_80 |
SRTP_NULL_HMAC_SHA1_32 |
SRTP_NULL_HMAC_SHA1_80 |
Modifier and Type | Method and Description |
---|---|
int |
getCipherKeyLength() |
int |
getCipherSaltLength() |
int |
getProfile() |
SRTPPolicy |
getSrtcpPolicy() |
static SRTPParameters |
getSrtpParametersForProfile(int profileValue) |
SRTPPolicy |
getSrtpPolicy() |
static SRTPParameters |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SRTPParameters[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SRTPParameters SRTP_AES128_CM_HMAC_SHA1_80
public static final SRTPParameters SRTP_AES128_CM_HMAC_SHA1_32
public static final SRTPParameters SRTP_NULL_HMAC_SHA1_80
public static final SRTPParameters SRTP_NULL_HMAC_SHA1_32
public static SRTPParameters[] values()
for (SRTPParameters c : SRTPParameters.values()) System.out.println(c);
public static SRTPParameters valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getProfile()
public int getCipherKeyLength()
public int getCipherSaltLength()
public static SRTPParameters getSrtpParametersForProfile(int profileValue)
public SRTPPolicy getSrtpPolicy()
public SRTPPolicy getSrtcpPolicy()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.