1 package net
.client
.by
.lock
.b
;
4 import javax
.crypto
.spec
.IvParameterSpec
;
5 import javax
.crypto
.spec
.SecretKeySpec
;
6 import net
.client
.by
.lock
.d
.k
;
7 import net
.client
.by
.lock
.f
.h
;
8 import net
.client
.by
.lock
.f
.j
;
9 import net
.client
.by
.lock
.task
.FileTask
;
11 /* compiled from: MyApp */
12 public abstract class d
extends k
implements a
{
18 private String k
= null;
19 private h l
= new h("fileId");
20 private SecretKeySpec m
;
21 private IvParameterSpec n
;
24 this.f
= new h("IDLE", "stateProperty");
27 /* access modifiers changed from: protected */
28 @Override // net.client.by.lock.d.k
30 return String
.valueOf(this.i
) + " (Dosya) (" + j
.a((long) this.a
) + ")";
34 this.f
.a("COMPLETED");
37 public void a(Throwable th
) {
40 j
.a("Error occured in file transfer", th
);
43 @Override // net.client.by.lock.b.a
46 return Integer
.valueOf(this.a
);
48 if (this.j
== null || !this.j
.exists()) {
51 return Integer
.valueOf((int) this.j
.length());
54 public void a(int i2
) {
58 public void a(String str
) {
62 @Override // net.client.by.lock.b.a
64 return (String
) this.l
.a();
71 public void a(IvParameterSpec ivParameterSpec
) {
72 this.n
= ivParameterSpec
;
75 @Override // net.client.by.lock.b.a
76 public IvParameterSpec
d() {
80 @Override // net.client.by.lock.b.a
82 if (this.i
!= null || this.j
== null) {
85 return this.j
.getName();
88 public void b(String str
) {
92 @Override // net.client.by.lock.b.a
93 public SecretKeySpec
c() {
97 public void a(SecretKeySpec secretKeySpec
) {
98 this.m
= secretKeySpec
;
105 public void c(String str
) {
109 public void a(File file
) {
118 if (this.b
!= null) {
119 this.b
.cancelTask(true);