KeyStore.smali
.class public final Lorg/ethereum/geth/KeyStore;
.super Ljava/lang/Object;
.source "KeyStore.java"
# interfaces
.implements Lgo/Seq$Proxy;
# instance fields
.field private final ref:Lgo/Seq$Ref;
# direct methods
.method static constructor <clinit>()V
.registers 0
.prologue
.line 13
invoke-static {}, Lorg/ethereum/geth/Geth;->touch()V
return-void
.end method
.method constructor <init>(Lgo/Seq$Ref;)V
.registers 2
.prologue
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lorg/ethereum/geth/KeyStore;->ref:Lgo/Seq$Ref;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;JJ)V
.registers 8
.prologue
.line 26
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 27
invoke-static {p1, p2, p3, p4, p5}, Lorg/ethereum/geth/KeyStore;->__NewKeyStore(Ljava/lang/String;JJ)Lgo/Seq$Ref;
move-result-object v0
iput-object v0, p0, Lorg/ethereum/geth/KeyStore;->ref:Lgo/Seq$Ref;
.line 28
return-void
.end method
.method private static native __NewKeyStore(Ljava/lang/String;JJ)Lgo/Seq$Ref;
.end method
# virtual methods
.method public final native deleteAccount(Lorg/ethereum/geth/Account;Ljava/lang/String;)V
.end method
.method public final equals(Ljava/lang/Object;)Z
.registers 3
.prologue
.line 112
if-eqz p1, :cond_6
instance-of v0, p1, Lorg/ethereum/geth/KeyStore;
if-nez v0, :cond_8
.line 113
:cond_6
const/4 v0, 0x0
.line 116
:goto_7
return v0
:cond_8
const/4 v0, 0x1
goto :goto_7
.end method
.method public final native exportKey(Lorg/ethereum/geth/Account;Ljava/lang/String;Ljava/lang/String;)[B
.end method
.method public final native getAccounts()Lorg/ethereum/geth/Accounts;
.end method
.method public final native hasAddress(Lorg/ethereum/geth/Address;)Z
.end method
.method public final hashCode()I
.registers 2
.prologue
.line 120
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Object;
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
return v0
.end method
.method public final native importECDSAKey([BLjava/lang/String;)Lorg/ethereum/geth/Account;
.end method
.method public final native importKey([BLjava/lang/String;Ljava/lang/String;)Lorg/ethereum/geth/Account;
.end method
.method public final native importPreSaleKey([BLjava/lang/String;)Lorg/ethereum/geth/Account;
.end method
.method public final incRefnum()I
.registers 2
.prologue
.line 18
iget-object v0, p0, Lorg/ethereum/geth/KeyStore;->ref:Lgo/Seq$Ref;
iget v0, v0, Lgo/Seq$Ref;->refnum:I
.line 19
invoke-static {v0}, Lgo/Seq;->incGoRef(I)V
.line 20
return v0
.end method
.method public final native lock(Lorg/ethereum/geth/Address;)V
.end method
.method public final native newAccount(Ljava/lang/String;)Lorg/ethereum/geth/Account;
.end method
.method public final native signHash(Lorg/ethereum/geth/Address;[B)[B
.end method
.method public final native signHashPassphrase(Lorg/ethereum/geth/Account;Ljava/lang/String;[B)[B
.end method
.method public final native signTx(Lorg/ethereum/geth/Account;Lorg/ethereum/geth/Transaction;Lorg/ethereum/geth/BigInt;)Lorg/ethereum/geth/Transaction;
.end method
.method public final native signTxPassphrase(Lorg/ethereum/geth/Account;Ljava/lang/String;Lorg/ethereum/geth/Transaction;Lorg/ethereum/geth/BigInt;)Lorg/ethereum/geth/Transaction;
.end method
.method public final native timedUnlock(Lorg/ethereum/geth/Account;Ljava/lang/String;J)V
.end method
.method public final toString()Ljava/lang/String;
.registers 3
.prologue
.line 124
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
.line 125
const-string v1, "KeyStore{"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
.line 126
const-string v1, "}"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final native unlock(Lorg/ethereum/geth/Account;Ljava/lang/String;)V
.end method
.method public final native updateAccount(Lorg/ethereum/geth/Account;Ljava/lang/String;Ljava/lang/String;)V
.end method