public class SDesControlImpl extends AbstractSrtpControl<SDesTransformEngine> implements SDesControl
SDesControl that supports the crypto suites
of the original RFC4568 and the KDR parameter, but nothing else.SrtpControl.TransformEnginetransformEngineSDES_CIPHER_SUITESRTP_SAVP, RTP_SAVPF| Constructor and Description |
|---|
SDesControlImpl()
SDESControl
|
| Modifier and Type | Method and Description |
|---|---|
protected SDesTransformEngine |
createTransformEngine()
Initializes a new SDesTransformEngine instance to be associated
with and used by this SDesControlImpl instance.
|
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.
|
boolean |
getSecureCommunicationStatus()
Gets the default secure/insecure communication status for the supported
call sessions.
|
Iterable<String> |
getSupportedCryptoSuites()
Gets all supported cipher suites.
|
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute |
initiatorSelectAttribute(Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
Select the local crypto attribute from the initial offering (@see
getInitiatorCryptoAttributes()) based on the peer's first
matching cipher suite. |
boolean |
requiresSecureSignalingTransport()
Returns true, SDES always requires the secure transport of its
keys.
|
ch.imvs.sdes4j.srtp.SrtpCryptoAttribute |
responderSelectAttribute(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 |
setConnector(AbstractRTPConnector connector)
Sets the RTPConnector which is to use or uses this SRTP engine.
|
void |
setEnabledCiphers(Iterable<String> ciphers)
Sets the enabled SDES ciphers.
|
void |
start(org.jitsi.utils.MediaType mediaType)
Starts and enables zrtp in the stream holding this control.
|
cleanup, doCleanup, getSrtpControlType, getSrtpListener, getTransformEngine, registerUser, setMasterSession, setMultistream, setSrtpListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanup, getSrtpControlType, getSrtpListener, getTransformEngine, registerUser, setMasterSession, setMultistream, setSrtpListenerpublic ch.imvs.sdes4j.srtp.SrtpCryptoAttribute getInAttribute()
SDesControlgetInAttribute in interface SDesControlpublic ch.imvs.sdes4j.srtp.SrtpCryptoAttribute[] getInitiatorCryptoAttributes()
getInitiatorCryptoAttributes in interface SDesControlpublic ch.imvs.sdes4j.srtp.SrtpCryptoAttribute getOutAttribute()
SDesControlgetOutAttribute in interface SDesControlpublic boolean getSecureCommunicationStatus()
SrtpControlgetSecureCommunicationStatus in interface SrtpControlpublic Iterable<String> getSupportedCryptoSuites()
SDesControlgetSupportedCryptoSuites in interface SDesControlprotected SDesTransformEngine createTransformEngine()
createTransformEngine in class AbstractSrtpControl<SDesTransformEngine>AbstractSrtpControl.createTransformEngine()public ch.imvs.sdes4j.srtp.SrtpCryptoAttribute initiatorSelectAttribute(Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
getInitiatorCryptoAttributes()) based on the peer's first
matching cipher suite.initiatorSelectAttribute in interface SDesControlpeerAttributes - The peer's crypto offers.public boolean requiresSecureSignalingTransport()
requiresSecureSignalingTransport in interface SrtpControlpublic ch.imvs.sdes4j.srtp.SrtpCryptoAttribute responderSelectAttribute(Iterable<ch.imvs.sdes4j.srtp.SrtpCryptoAttribute> peerAttributes)
responderSelectAttribute in interface SDesControlpeerAttributes - The peer's crypto attribute offering.public void setConnector(AbstractRTPConnector connector)
setConnector in interface SrtpControlconnector - the RTPConnector which is to use or uses this
SRTP enginepublic void setEnabledCiphers(Iterable<String> ciphers)
SDesControlsetEnabledCiphers in interface SDesControlciphers - The list of enabled ciphers.public void start(org.jitsi.utils.MediaType mediaType)
SrtpControlstart in interface SrtpControlmediaType - the media type of the stream this control controls.Copyright © 2021 jitsi.org. All rights reserved.