Offset 71, 151 lines modified | Offset 71, 150 lines modified |
| |
71 | .method·private·createFromIntent(Landroid/content/Intent;)V | 71 | .method·private·createFromIntent(Landroid/content/Intent;)V |
72 | ····.locals·14 | 72 | ····.locals·14 |
73 | ····.param·p1,·"intent"····#·Landroid/content/Intent; | 73 | ····.param·p1,·"intent"····#·Landroid/content/Intent; |
| |
74 | ····.prologue | 74 | ····.prologue |
75 | ····.line·69 | 75 | ····.line·69 |
76 | ····iget-object·v10,·p0,·Lcom/markuspage/android/certtools/CertToolsActivity;->items:Ljava/util/List; | 76 | ····iget-object·v9,·p0,·Lcom/markuspage/android/certtools/CertToolsActivity;->items:Ljava/util/List; |
| |
77 | ····invoke-interface·{v10},·Ljava/util/List;->clear()V | 77 | ····invoke-interface·{v9},·Ljava/util/List;->clear()V |
| |
78 | ····.line·70 | 78 | ····.line·70 |
79 | ····invoke-virtual·{p1},·Landroid/content/Intent;->getData()Landroid/net/Uri; | 79 | ····invoke-virtual·{p1},·Landroid/content/Intent;->getData()Landroid/net/Uri; |
| |
80 | ····move-result-object·v10 | 80 | ····move-result-object·v9 |
| |
81 | ····if-nez·v10,·:cond_1 | 81 | ····if-nez·v9,·:cond_1 |
| |
82 | ····.line·71 | 82 | ····.line·71 |
83 | ····iget-object·v10,·p0,·Lcom/markuspage/android/certtools/CertToolsActivity;->items:Ljava/util/List; | 83 | ····iget-object·v9,·p0,·Lcom/markuspage/android/certtools/CertToolsActivity;->items:Ljava/util/List; |
| |
84 | ····sget-object·v11,·Lcom/markuspage/android/certtools/CertToolsActivity;->NO_CERTIFICATES:Lcom/markuspage/android/certtools/PEMItem; | 84 | ····sget-object·v10,·Lcom/markuspage/android/certtools/CertToolsActivity;->NO_CERTIFICATES:Lcom/markuspage/android/certtools/PEMItem; |
| |
85 | ····invoke-interface·{v10,·v11},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 85 | ····invoke-interface·{v9,·v10},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
| |
86 | ····.line·122 | 86 | ····.line·122 |
87 | ····:cond_0 | 87 | ····:cond_0 |
88 | ····:goto_0 | 88 | ····:goto_0 |
89 | ····return-void | 89 | ····return-void |
| |
90 | ····.line·73 | 90 | ····.line·73 |
91 | ····:cond_1 | 91 | ····:cond_1 |
92 | ····invoke-virtual·{p0},·Lcom/markuspage/android/certtools/CertToolsActivity;->getListView()Landroid/widget/ListView; | 92 | ····invoke-virtual·{p0},·Lcom/markuspage/android/certtools/CertToolsActivity;->getListView()Landroid/widget/ListView; |
| |
93 | ····move-result-object·v8 | 93 | ····move-result-object·v7 |
| |
94 | ····.line·74 | 94 | ····.line·74 |
95 | ····.local·v8,·"lv":Landroid/widget/ListView; | 95 | ····.local·v7,·"lv":Landroid/widget/ListView; |
96 | ····const/4·v10,·0x1 | 96 | ····const/4·v9,·0x1 |
| |
97 | ····invoke-virtual·{v8,·v10},·Landroid/widget/ListView;->setTextFilterEnabled(Z)V | 97 | ····invoke-virtual·{v7,·v9},·Landroid/widget/ListView;->setTextFilterEnabled(Z)V |
| |
98 | ····.line·76 | 98 | ····.line·76 |
99 | ····new-instance·v10,·Lcom/markuspage/android/certtools/CertToolsActivity$1; | 99 | ····new-instance·v9,·Lcom/markuspage/android/certtools/CertToolsActivity$1; |
| |
100 | ····invoke-direct·{v10,·p0},·Lcom/markuspage/android/certtools/CertToolsActivity$1;-><init>(Lcom/markuspage/android/certtools/CertToolsActivity;)V | 100 | ····invoke-direct·{v9,·p0},·Lcom/markuspage/android/certtools/CertToolsActivity$1;-><init>(Lcom/markuspage/android/certtools/CertToolsActivity;)V |
| |
101 | ····invoke-virtual·{v8,·v10},·Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V | 101 | ····invoke-virtual·{v7,·v9},·Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V |
| |
102 | ····.line·90 | 102 | ····.line·90 |
103 | ····sget-object·v10,·Ljava/lang/System;->out:Ljava/io/PrintStream; | 103 | ····sget-object·v9,·Ljava/lang/System;->out:Ljava/io/PrintStream; |
| |
104 | ····new-instance·v11,·Ljava/lang/StringBuilder; | 104 | ····new-instance·v10,·Ljava/lang/StringBuilder; |
| |
105 | ····invoke-direct·{v11},·Ljava/lang/StringBuilder;-><init>()V | 105 | ····invoke-direct·{v10},·Ljava/lang/StringBuilder;-><init>()V |
| |
106 | ····const-string·v12,·"Intent:·" | 106 | ····const-string·v11,·"Intent:·" |
| |
107 | ····invoke-virtual·{v11,·v12},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 107 | ····invoke-virtual·{v10,·v11},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
108 | ····move-result-object·v11 | 108 | ····move-result-object·v10 |
| |
109 | ····invoke-virtual·{v11,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 109 | ····invoke-virtual·{v10,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
| |
110 | ····move-result-object·v11 | 110 | ····move-result-object·v10 |
| |
111 | ····invoke-virtual·{v11},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 111 | ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
112 | ····move-result-object·v11 | 112 | ····move-result-object·v10 |
| |
113 | ····invoke-virtual·{v10,·v11},·Ljava/io/PrintStream;->println(Ljava/lang/String;)V | 113 | ····invoke-virtual·{v9,·v10},·Ljava/io/PrintStream;->println(Ljava/lang/String;)V |
| |
114 | ····.line·92 | 114 | ····.line·92 |
115 | ····invoke-virtual·{p0},·Lcom/markuspage/android/certtools/CertToolsActivity;->getContentResolver()Landroid/content/ContentResolver; | 115 | ····invoke-virtual·{p0},·Lcom/markuspage/android/certtools/CertToolsActivity;->getContentResolver()Landroid/content/ContentResolver; |
| |
116 | ····move-result-object·v3 | 116 | ····move-result-object·v3 |
| |
117 | ····.line·93 | 117 | ····.line·93 |
118 | ····.local·v3,·"cr":Landroid/content/ContentResolver; | 118 | ····.local·v3,·"cr":Landroid/content/ContentResolver; |
119 | ····invoke-virtual·{p1},·Landroid/content/Intent;->getData()Landroid/net/Uri; | 119 | ····invoke-virtual·{p1},·Landroid/content/Intent;->getData()Landroid/net/Uri; |
| |
120 | ····move-result-object·v9 | 120 | ····move-result-object·v8 |
| |
121 | ····.line·94 | 121 | ····.line·94 |
122 | ····.local·v9,·"uri":Landroid/net/Uri; | 122 | ····.local·v8,·"uri":Landroid/net/Uri; |
123 | ····new-instance·v5,·Ljava/io/File; | 123 | ····new-instance·v5,·Ljava/io/File; |
| |
124 | ····invoke-virtual·{v9},·Landroid/net/Uri;->getPath()Ljava/lang/String; | 124 | ····invoke-virtual·{v8},·Landroid/net/Uri;->getPath()Ljava/lang/String; |
| |
125 | ····move-result-object·v10 | 125 | ····move-result-object·v9 |
| |
126 | ····invoke-direct·{v5,·v10},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 126 | ····invoke-direct·{v5,·v9},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
| |
127 | ····.line·95 | 127 | ····.line·95 |
128 | ····.local·v5,·"file":Ljava/io/File; | 128 | ····.local·v5,·"file":Ljava/io/File; |
129 | ····invoke-virtual·{v5},·Ljava/io/File;->getName()Ljava/lang/String; | 129 | ····invoke-virtual·{v5},·Ljava/io/File;->getName()Ljava/lang/String; |
| |
130 | ····move-result-object·v10 | 130 | ····move-result-object·v9 |
| |
131 | ····invoke-virtual·{p0,·v10},·Lcom/markuspage/android/certtools/CertToolsActivity;->setTitle(Ljava/lang/CharSequence;)V | 131 | ····invoke-virtual·{p0,·v9},·Lcom/markuspage/android/certtools/CertToolsActivity;->setTitle(Ljava/lang/CharSequence;)V |
| |
132 | ····.line·100 | 132 | ····.line·100 |
133 | ····:try_start_0 | 133 | ····:try_start_0 |
134 | ····invoke-virtual·{v3,·v9},·Landroid/content/ContentResolver;->openInputStream(Landroid/net/Uri;)Ljava/io/InputStream; | 134 | ····invoke-virtual·{v3,·v8},·Landroid/content/ContentResolver;->openInputStream(Landroid/net/Uri;)Ljava/io/InputStream; |
| |
135 | ····move-result-object·v10 | 135 | ····move-result-object·v9 |
| |
136 | ····invoke-static·{v10},·Lcom/markuspage/android/certtools/CertTools;->getCertsFromPEM(Ljava/io/InputStream;)Ljava/util/List; | 136 | ····invoke-static·{v9},·Lcom/markuspage/android/certtools/CertTools;->getCertsFromPEM(Ljava/io/InputStream;)Ljava/util/List; |
137 | ····:try_end_0 | 137 | ····:try_end_0 |
138 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_1 | 138 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_1 |
139 | ····.catch·Ljava/io/FileNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 139 | ····.catch·Ljava/io/FileNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
140 | ····.catch·Ljava/security/cert/CertificateException;·{:try_start_0·..·:try_end_0}·:catch_3 | 140 | ····.catch·Ljava/security/cert/CertificateException;·{:try_start_0·..·:try_end_0}·:catch_3 |
| |
141 | ····move-result-object·v2 | 141 | ····move-result-object·v2 |
| |
142 | ····.line·105 | 142 | ····.line·105 |
143 | ····.local·v2,·"certs":Ljava/util/List;,·"Ljava/util/List<Ljava/security/cert/Certificate;>;" | 143 | ····.local·v2,·"certs":Ljava/util/List;,·"Ljava/util/List<Ljava/security/cert/Certificate;>;" |
144 | ····:goto_1 | 144 | ····:goto_1 |
145 | ····const/4·v7,·0x0 | 145 | ····const/4·v6,·0x0 |
| |
146 | ····.line·106 | 146 | ····.line·106 |
147 | ····.local·v7,·"index":I | 147 | ····.local·v6,·"index":I |
148 | ····:try_start_1 | 148 | ····:try_start_1 |
149 | ····invoke-interface·{v2},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 149 | ····invoke-interface·{v2},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
150 | ····move-result-object·v6 | 150 | ····move-result-object·v9 |
| |
Max diff block lines reached; 15433/22132 bytes (69.73%) of diff not shown.
|