Rabbit-R1/switch port/smali/smali_classes3/okio/HashingSource$Companion.smali
2024-05-21 17:08:36 -04:00

216 lines
6.3 KiB
Smali

.class public final Lokio/HashingSource$Companion;
.super Ljava/lang/Object;
.source "HashingSource.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokio/HashingSource;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0007\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u0008H\u0007J\u0018\u0010\t\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u0008H\u0007J\u0018\u0010\n\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u0008H\u0007J\u0010\u0010\u000b\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0007J\u0010\u0010\u000c\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0007J\u0010\u0010\r\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0007J\u0010\u0010\u000e\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0007\u00a8\u0006\u000f"
}
d2 = {
"Lokio/HashingSource$Companion;",
"",
"()V",
"hmacSha1",
"Lokio/HashingSource;",
"source",
"Lokio/Source;",
"key",
"Lokio/ByteString;",
"hmacSha256",
"hmacSha512",
"md5",
"sha1",
"sha256",
"sha512",
"okio"
}
k = 0x1
mv = {
0x1,
0x4,
0x0
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 113
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 113
invoke-direct {p0}, Lokio/HashingSource$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final hmacSha1(Lokio/Source;Lokio/ByteString;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p0, "key"
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 127
new-instance p0, Lokio/HashingSource;
const-string v0, "HmacSHA1"
invoke-direct {p0, p1, p2, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Lokio/ByteString;Ljava/lang/String;)V
return-object p0
.end method
.method public final hmacSha256(Lokio/Source;Lokio/ByteString;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p0, "key"
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 132
new-instance p0, Lokio/HashingSource;
const-string v0, "HmacSHA256"
invoke-direct {p0, p1, p2, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Lokio/ByteString;Ljava/lang/String;)V
return-object p0
.end method
.method public final hmacSha512(Lokio/Source;Lokio/ByteString;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string p0, "key"
invoke-static {p2, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 136
new-instance p0, Lokio/HashingSource;
const-string v0, "HmacSHA512"
invoke-direct {p0, p1, p2, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Lokio/ByteString;Ljava/lang/String;)V
return-object p0
.end method
.method public final md5(Lokio/Source;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 115
new-instance p0, Lokio/HashingSource;
const-string v0, "MD5"
invoke-direct {p0, p1, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Ljava/lang/String;)V
return-object p0
.end method
.method public final sha1(Lokio/Source;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 118
new-instance p0, Lokio/HashingSource;
const-string v0, "SHA-1"
invoke-direct {p0, p1, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Ljava/lang/String;)V
return-object p0
.end method
.method public final sha256(Lokio/Source;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 121
new-instance p0, Lokio/HashingSource;
const-string v0, "SHA-256"
invoke-direct {p0, p1, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Ljava/lang/String;)V
return-object p0
.end method
.method public final sha512(Lokio/Source;)Lokio/HashingSource;
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string p0, "source"
invoke-static {p1, p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 124
new-instance p0, Lokio/HashingSource;
const-string v0, "SHA-512"
invoke-direct {p0, p1, v0}, Lokio/HashingSource;-><init>(Lokio/Source;Ljava/lang/String;)V
return-object p0
.end method