Rabbit-R1/switch port/smali/smali_classes3/org/webrtc/CryptoOptions$Builder.smali
2024-05-21 17:08:36 -04:00

101 lines
2.5 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 private enableAes128Sha1_32CryptoCipher:Z
.field private enableEncryptedRtpHeaderExtensions:Z
.field private enableGcmCryptoSuites:Z
.field private requireFrameEncryption:Z
# direct methods
.method private constructor <init>()V
.locals 0
.line 117
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lorg/webrtc/CryptoOptions$1;)V
.locals 0
.line 111
invoke-direct {p0}, Lorg/webrtc/CryptoOptions$Builder;-><init>()V
return-void
.end method
# virtual methods
.method public createCryptoOptions()Lorg/webrtc/CryptoOptions;
.locals 7
.line 141
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