public interface SDesControl extends SrtpControl
SrtpControl.TransformEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SDES_CIPHER_SUITES
Name of the config setting that supplies the default enabled cipher
suites.
|
RTP_SAVP, RTP_SAVPF
Modifier and Type | Method and Description |
---|---|
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute |
getInAttribute()
Gets the crypto attribute of the incoming MediaStream.
|
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute[] |
getInitiatorCryptoAttributes()
Returns the crypto attributes enabled on this computer.
|
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute |
getOutAttribute()
Gets the crypto attribute of the outgoing MediaStream.
|
java.lang.Iterable<java.lang.String> |
getSupportedCryptoSuites()
Gets all supported cipher suites.
|
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute |
initiatorSelectAttribute(java.lang.Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
Selects the local crypto attribute from the initial offering
(
getInitiatorCryptoAttributes() ) based on the peer's first
matching cipher suite. |
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute |
responderSelectAttribute(java.lang.Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
Chooses a supported crypto attribute from the peer's list of supplied
attributes and creates the local crypto attribute.
|
void |
setEnabledCiphers(java.lang.Iterable<java.lang.String> ciphers)
Sets the enabled SDES ciphers.
|
cleanup, getSecureCommunicationStatus, getSrtpControlType, getSrtpListener, getTransformEngine, registerUser, requiresSecureSignalingTransport, setConnector, setMasterSession, setMultistream, setSrtpListener, start
static final java.lang.String SDES_CIPHER_SUITES
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute getInAttribute()
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute[] getInitiatorCryptoAttributes()
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute getOutAttribute()
java.lang.Iterable<java.lang.String> getSupportedCryptoSuites()
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute initiatorSelectAttribute(java.lang.Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
getInitiatorCryptoAttributes()
) based on the peer's first
matching cipher suite.peerAttributes
- The peer's crypto offers.ch.imvs.sdes4j.srtp.SrtpCryptoAttribute responderSelectAttribute(java.lang.Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
peerAttributes
- The peer's crypto attribute offering.void setEnabledCiphers(java.lang.Iterable<java.lang.String> ciphers)
ciphers
- The list of enabled ciphers.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.