Adds flag to enable AES_GCM from the Java API.
This changeset allows Java API users to enable or disable AES_GCM from the PeerConnectionFactory. Bug: chromium:713701 Change-Id: I8798e4eeb6907f8e16a646bfb8a20db510f960c8 Reviewed-on: https://webrtc-review.googlesource.com/89260 Commit-Queue: Benjamin Wright <benwright@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24030}
This commit is contained in:

committed by
Commit Bot

parent
92f9c2a087
commit
702f4da4b9
@ -134,6 +134,7 @@ public class PeerConnectionFactory {
|
||||
public boolean disableEncryption;
|
||||
public boolean disableNetworkMonitor;
|
||||
public boolean enableAes128Sha1_32CryptoCipher;
|
||||
public boolean enableGcmCryptoSuites;
|
||||
|
||||
@CalledByNative("Options")
|
||||
int getNetworkIgnoreMask() {
|
||||
@ -154,6 +155,11 @@ public class PeerConnectionFactory {
|
||||
boolean getEnableAes128Sha1_32CryptoCipher() {
|
||||
return enableAes128Sha1_32CryptoCipher;
|
||||
}
|
||||
|
||||
@CalledByNative("Options")
|
||||
boolean getEnableGcmCryptoSuites() {
|
||||
return enableGcmCryptoSuites;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Builder {
|
||||
|
Reference in New Issue
Block a user