UseSRTPData (Bouncy Castle Library 1.52 API Specification)

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 and Description
    --- | ---
    `protected byte[]` | `mki`
    `protected int[]` | `protectionProfiles`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UseSRTPData(int[] protectionProfiles, byte[] mki)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getMki()`
    `int[]` | `getProtectionProfiles()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### protectionProfiles

          protected int[] protectionProfiles

    - #### mki

          protected byte[] mki

  - ### 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.