74 lines
1.7 KiB
Smali
74 lines
1.7 KiB
Smali
.class final Lio/kamihama/magianative/RestClient$1;
|
|
.super Ljava/lang/Object;
|
|
.source "RestClient.java"
|
|
|
|
# interfaces
|
|
.implements Ljavax/net/ssl/X509TrustManager;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lio/kamihama/magianative/RestClient;->getUnsafeOkHttpClient()Lokhttp3/OkHttpClient;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>()V
|
|
.registers 1
|
|
|
|
.prologue
|
|
.line 86
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public checkClientTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
|
|
.registers 3
|
|
.param p1, "chain" # [Ljava/security/cert/X509Certificate;
|
|
.param p2, "authType" # Ljava/lang/String;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/cert/CertificateException;
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.line 89
|
|
return-void
|
|
.end method
|
|
|
|
.method public checkServerTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
|
|
.registers 3
|
|
.param p1, "chain" # [Ljava/security/cert/X509Certificate;
|
|
.param p2, "authType" # Ljava/lang/String;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/security/cert/CertificateException;
|
|
}
|
|
.end annotation
|
|
|
|
.prologue
|
|
.line 93
|
|
return-void
|
|
.end method
|
|
|
|
.method public getAcceptedIssuers()[Ljava/security/cert/X509Certificate;
|
|
.registers 2
|
|
|
|
.prologue
|
|
.line 97
|
|
const/4 v0, 0x0
|
|
|
|
new-array v0, v0, [Ljava/security/cert/X509Certificate;
|
|
|
|
return-object v0
|
|
.end method
|