37 lines
906 B
Smali
37 lines
906 B
Smali
.class public final Lcom/google/firebase/iid/b;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public static vb()Ljava/security/KeyPair;
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
const-string v0, "RSA"
|
|
|
|
invoke-static {v0}, Ljava/security/KeyPairGenerator;->getInstance(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v1, 0x800
|
|
|
|
invoke-virtual {v0, v1}, Ljava/security/KeyPairGenerator;->initialize(I)V
|
|
|
|
invoke-virtual {v0}, Ljava/security/KeyPairGenerator;->generateKeyPair()Ljava/security/KeyPair;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
new-instance v1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {v1, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw v1
|
|
.end method
|