Bouncy Castle Cryptography Library 1.49

org.bouncycastle.crypto.tls
Class UseSRTPData

java.lang.Object
  extended by org.bouncycastle.crypto.tls.UseSRTPData

public class UseSRTPData
extends java.lang.Object

RFC 5764 4.1.1


Constructor Summary
UseSRTPData(int[] protectionProfiles, byte[] mki)
           
 
Method Summary
 byte[] getMki()
           
 int[] getProtectionProfiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseSRTPData

public UseSRTPData(int[] protectionProfiles,
                   byte[] mki)
Parameters:
protectionProfiles - see SRTPProtectionProfile 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.

Bouncy Castle Cryptography Library 1.49