99 lines
2.4 KiB
Smali
99 lines
2.4 KiB
Smali
|
.class public Lorg/webrtc/CryptoOptions$Builder;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "CryptoOptions.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lorg/webrtc/CryptoOptions;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = "Builder"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public enableAes128Sha1_32CryptoCipher:Z
|
||
|
|
||
|
.field public enableEncryptedRtpHeaderExtensions:Z
|
||
|
|
||
|
.field public enableGcmCryptoSuites:Z
|
||
|
|
||
|
.field public requireFrameEncryption:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public synthetic constructor <init>(Lorg/webrtc/CryptoOptions$1;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Lorg/webrtc/CryptoOptions$Builder;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public createCryptoOptions()Lorg/webrtc/CryptoOptions;
|
||
|
.locals 7
|
||
|
|
||
|
new-instance v6, Lorg/webrtc/CryptoOptions;
|
||
|
|
||
|
iget-boolean v1, p0, Lorg/webrtc/CryptoOptions$Builder;->enableGcmCryptoSuites:Z
|
||
|
|
||
|
iget-boolean v2, p0, Lorg/webrtc/CryptoOptions$Builder;->enableAes128Sha1_32CryptoCipher:Z
|
||
|
|
||
|
iget-boolean v3, p0, Lorg/webrtc/CryptoOptions$Builder;->enableEncryptedRtpHeaderExtensions:Z
|
||
|
|
||
|
iget-boolean v4, p0, Lorg/webrtc/CryptoOptions$Builder;->requireFrameEncryption:Z
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
move-object v0, v6
|
||
|
|
||
|
invoke-direct/range {v0 .. v5}, Lorg/webrtc/CryptoOptions;-><init>(ZZZZLorg/webrtc/CryptoOptions$1;)V
|
||
|
|
||
|
return-object v6
|
||
|
.end method
|
||
|
|
||
|
.method public setEnableAes128Sha1_32CryptoCipher(Z)Lorg/webrtc/CryptoOptions$Builder;
|
||
|
.locals 0
|
||
|
|
||
|
iput-boolean p1, p0, Lorg/webrtc/CryptoOptions$Builder;->enableAes128Sha1_32CryptoCipher:Z
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public setEnableEncryptedRtpHeaderExtensions(Z)Lorg/webrtc/CryptoOptions$Builder;
|
||
|
.locals 0
|
||
|
|
||
|
iput-boolean p1, p0, Lorg/webrtc/CryptoOptions$Builder;->enableEncryptedRtpHeaderExtensions:Z
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public setEnableGcmCryptoSuites(Z)Lorg/webrtc/CryptoOptions$Builder;
|
||
|
.locals 0
|
||
|
|
||
|
iput-boolean p1, p0, Lorg/webrtc/CryptoOptions$Builder;->enableGcmCryptoSuites:Z
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public setRequireFrameEncryption(Z)Lorg/webrtc/CryptoOptions$Builder;
|
||
|
.locals 0
|
||
|
|
||
|
iput-boolean p1, p0, Lorg/webrtc/CryptoOptions$Builder;->requireFrameEncryption:Z
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|