Package org.bouncycastle.crypto.tls
Class UseSRTPData
- java.lang.Object
-
- org.bouncycastle.crypto.tls.UseSRTPData
-
public class UseSRTPData extends java.lang.Object
RFC 5764 4.1.1
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
mki
protected int[]
protectionProfiles
-
Constructor Summary
Constructors Constructor Description UseSRTPData(int[] protectionProfiles, byte[] mki)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getMki()
int[]
getProtectionProfiles()
-
-
-
Constructor Detail
-
UseSRTPData
public UseSRTPData(int[] protectionProfiles, byte[] mki)
- Parameters:
protectionProfiles
- seeSRTPProtectionProfile
for valid constants.mki
- valid lengths from 0 to 255.
-
-
Method Detail
-
getProtectionProfiles
public int[] getProtectionProfiles()
- Returns:
- see
SRTPProtectionProfile
for valid constants.
-
getMki
public byte[] getMki()
- Returns:
- valid lengths from 0 to 255.
-
-