DtlsPeer.exportSrtpKeyingMaterial

SrtpKeyingMaterial exportSrtpKeyingMaterial()

Exports SRTP keying material after DTLS-SRTP handshake.

Only valid after handshake completes and SRTP was negotiated.

Returns

SRTP keying material for both directions.

Throws

TlsException if SRTP was not negotiated or handshake incomplete.