Package org.webrtc
Class CryptoOptions.Srtp
java.lang.Object
org.webrtc.CryptoOptions.Srtp
- Enclosing class:
- CryptoOptions
SRTP Related Peer Connection Options.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
If set to true, the (potentially insecure) crypto cipher kSrtpAes128CmSha1_32 will be included in the list of supported ciphers during negotiation.private final boolean
If set to true, encrypted RTP header extensions as defined in RFC 6904 will be negotiated.private final boolean
Enable GCM crypto suites from RFC 7714 for SRTP. -
Constructor Summary
ModifierConstructorDescriptionprivate
Srtp
(boolean enableGcmCryptoSuites, boolean enableAes128Sha1_32CryptoCipher, boolean enableEncryptedRtpHeaderExtensions) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
-
Field Details
-
enableGcmCryptoSuites
private final boolean enableGcmCryptoSuitesEnable GCM crypto suites from RFC 7714 for SRTP. GCM will only be used if both sides enable it -
enableAes128Sha1_32CryptoCipher
private final boolean enableAes128Sha1_32CryptoCipherIf set to true, the (potentially insecure) crypto cipher kSrtpAes128CmSha1_32 will be included in the list of supported ciphers during negotiation. It will only be used if both peers support it and no other ciphers get preferred. -
enableEncryptedRtpHeaderExtensions
private final boolean enableEncryptedRtpHeaderExtensionsIf set to true, encrypted RTP header extensions as defined in RFC 6904 will be negotiated. They will only be used if both peers support them.
-
-
Constructor Details
-
Srtp
private Srtp(boolean enableGcmCryptoSuites, boolean enableAes128Sha1_32CryptoCipher, boolean enableEncryptedRtpHeaderExtensions)
-
-
Method Details
-
getEnableGcmCryptoSuites
public boolean getEnableGcmCryptoSuites() -
getEnableAes128Sha1_32CryptoCipher
public boolean getEnableAes128Sha1_32CryptoCipher() -
getEnableEncryptedRtpHeaderExtensions
public boolean getEnableEncryptedRtpHeaderExtensions()
-