50 lines
1.4 KiB
Smali
50 lines
1.4 KiB
Smali
.class Lcz/msebera/android/httpclient/extras/PRNGFixes$LinuxPRNGSecureRandomProvider;
|
|
.super Ljava/security/Provider;
|
|
.source "PRNGFixes.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcz/msebera/android/httpclient/extras/PRNGFixes;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "LinuxPRNGSecureRandomProvider"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 4
|
|
|
|
const-string v0, "LinuxPRNG"
|
|
|
|
const-wide/high16 v1, 0x3ff0000000000000L # 1.0
|
|
|
|
const-string v3, "A Linux-specific random number provider that uses /dev/urandom"
|
|
|
|
.line 1
|
|
invoke-direct {p0, v0, v1, v2, v3}, Ljava/security/Provider;-><init>(Ljava/lang/String;DLjava/lang/String;)V
|
|
|
|
.line 2
|
|
const-class v0, Lcz/msebera/android/httpclient/extras/PRNGFixes$LinuxPRNGSecureRandom;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "SecureRandom.SHA1PRNG"
|
|
|
|
invoke-virtual {p0, v1, v0}, Ljava/security/Provider;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
const-string v0, "SecureRandom.SHA1PRNG ImplementedIn"
|
|
|
|
const-string v1, "Software"
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0, v1}, Ljava/security/Provider;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|