b$b.smali
3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
.class public final Lb/h0/j/b$b;
.super Ljava/lang/Object;
# interfaces
.implements Lb/h0/l/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/h0/j/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# instance fields
.field public final a:Ljavax/net/ssl/X509TrustManager;
.field public final b:Ljava/lang/reflect/Method;
# direct methods
.method public constructor <init>(Ljavax/net/ssl/X509TrustManager;Ljava/lang/reflect/Method;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lb/h0/j/b$b;->b:Ljava/lang/reflect/Method;
iput-object p1, p0, Lb/h0/j/b$b;->a:Ljavax/net/ssl/X509TrustManager;
return-void
.end method
# virtual methods
.method public a(Ljava/security/cert/X509Certificate;)Ljava/security/cert/X509Certificate;
.locals 5
const/4 v0, 0x0
:try_start_0
iget-object v1, p0, Lb/h0/j/b$b;->b:Ljava/lang/reflect/Method;
iget-object v2, p0, Lb/h0/j/b$b;->a:Ljavax/net/ssl/X509TrustManager;
const/4 v3, 0x1
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
aput-object p1, v3, v4
invoke-virtual {v1, v2, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/security/cert/TrustAnchor;
if-eqz p1, :cond_0
invoke-virtual {p1}, Ljava/security/cert/TrustAnchor;->getTrustedCert()Ljava/security/cert/X509Certificate;
move-result-object v0
:try_end_0
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
:cond_0
return-object v0
:catch_1
move-exception p1
const-string v0, "unable to get issues and signature"
invoke-static {v0, p1}, Lb/h0/c;->a(Ljava/lang/String;Ljava/lang/Exception;)Ljava/lang/AssertionError;
move-result-object p1
throw p1
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p1, p0, :cond_0
return v0
:cond_0
instance-of v1, p1, Lb/h0/j/b$b;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Lb/h0/j/b$b;
iget-object v1, p0, Lb/h0/j/b$b;->a:Ljavax/net/ssl/X509TrustManager;
iget-object v3, p1, Lb/h0/j/b$b;->a:Ljavax/net/ssl/X509TrustManager;
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
iget-object v1, p0, Lb/h0/j/b$b;->b:Ljava/lang/reflect/Method;
iget-object p1, p1, Lb/h0/j/b$b;->b:Ljava/lang/reflect/Method;
invoke-virtual {v1, p1}, Ljava/lang/reflect/Method;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_2
goto :goto_0
:cond_2
move v0, v2
:goto_0
return v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Lb/h0/j/b$b;->a:Ljavax/net/ssl/X509TrustManager;
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
iget-object v1, p0, Lb/h0/j/b$b;->b:Ljava/lang/reflect/Method;
invoke-virtual {v1}, Ljava/lang/reflect/Method;->hashCode()I
move-result v1
mul-int/lit8 v1, v1, 0x1f
add-int/2addr v0, v1
return v0
.end method