public final class org.eclipse.aether.repository.AuthenticationDigest
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.aether.repository.AuthenticationDigest
super_class: java.lang.Object
{
private final java.security.MessageDigest digest;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.aether.RepositorySystemSession session;
descriptor: Lorg/eclipse/aether/RepositorySystemSession;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.aether.repository.RemoteRepository repository;
descriptor: Lorg/eclipse/aether/repository/RemoteRepository;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.aether.repository.Proxy proxy;
descriptor: Lorg/eclipse/aether/repository/Proxy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static java.lang.String forRepository(org.eclipse.aether.RepositorySystemSession, org.eclipse.aether.repository.RemoteRepository);
descriptor: (Lorg/eclipse/aether/RepositorySystemSession;Lorg/eclipse/aether/repository/RemoteRepository;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: ldc ""
astore 2
start local 2 1: aload 1
invokevirtual org.eclipse.aether.repository.RemoteRepository.getAuthentication:()Lorg/eclipse/aether/repository/Authentication;
astore 3
start local 3 2: aload 3
ifnull 6
3: new org.eclipse.aether.repository.AuthenticationDigest
dup
aload 0
aload 1
aconst_null
invokespecial org.eclipse.aether.repository.AuthenticationDigest.<init>:(Lorg/eclipse/aether/RepositorySystemSession;Lorg/eclipse/aether/repository/RemoteRepository;Lorg/eclipse/aether/repository/Proxy;)V
astore 4
start local 4 4: aload 3
aload 4
invokeinterface org.eclipse.aether.repository.Authentication.digest:(Lorg/eclipse/aether/repository/AuthenticationDigest;)V
5: aload 4
invokevirtual org.eclipse.aether.repository.AuthenticationDigest.digest:()Ljava/lang/String;
astore 2
end local 4 6: StackMap locals: java.lang.String org.eclipse.aether.repository.Authentication
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 session Lorg/eclipse/aether/RepositorySystemSession;
0 7 1 repository Lorg/eclipse/aether/repository/RemoteRepository;
1 7 2 digest Ljava/lang/String;
2 7 3 auth Lorg/eclipse/aether/repository/Authentication;
4 6 4 authDigest Lorg/eclipse/aether/repository/AuthenticationDigest;
MethodParameters:
Name Flags
session
repository
public static java.lang.String forProxy(org.eclipse.aether.RepositorySystemSession, org.eclipse.aether.repository.RemoteRepository);
descriptor: (Lorg/eclipse/aether/RepositorySystemSession;Lorg/eclipse/aether/repository/RemoteRepository;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: ldc ""
astore 2
start local 2 1: aload 1
invokevirtual org.eclipse.aether.repository.RemoteRepository.getProxy:()Lorg/eclipse/aether/repository/Proxy;
astore 3
start local 3 2: aload 3
ifnull 8
3: aload 3
invokevirtual org.eclipse.aether.repository.Proxy.getAuthentication:()Lorg/eclipse/aether/repository/Authentication;
astore 4
start local 4 4: aload 4
ifnull 8
5: new org.eclipse.aether.repository.AuthenticationDigest
dup
aload 0
aload 1
aload 3
invokespecial org.eclipse.aether.repository.AuthenticationDigest.<init>:(Lorg/eclipse/aether/RepositorySystemSession;Lorg/eclipse/aether/repository/RemoteRepository;Lorg/eclipse/aether/repository/Proxy;)V
astore 5
start local 5 6: aload 4
aload 5
invokeinterface org.eclipse.aether.repository.Authentication.digest:(Lorg/eclipse/aether/repository/AuthenticationDigest;)V
7: aload 5
invokevirtual org.eclipse.aether.repository.AuthenticationDigest.digest:()Ljava/lang/String;
astore 2
end local 5 end local 4 8: StackMap locals: java.lang.String org.eclipse.aether.repository.Proxy
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 session Lorg/eclipse/aether/RepositorySystemSession;
0 9 1 repository Lorg/eclipse/aether/repository/RemoteRepository;
1 9 2 digest Ljava/lang/String;
2 9 3 proxy Lorg/eclipse/aether/repository/Proxy;
4 8 4 auth Lorg/eclipse/aether/repository/Authentication;
6 8 5 authDigest Lorg/eclipse/aether/repository/AuthenticationDigest;
MethodParameters:
Name Flags
session
repository
private void <init>(org.eclipse.aether.RepositorySystemSession, org.eclipse.aether.repository.RemoteRepository, org.eclipse.aether.repository.Proxy);
descriptor: (Lorg/eclipse/aether/RepositorySystemSession;Lorg/eclipse/aether/repository/RemoteRepository;Lorg/eclipse/aether/repository/Proxy;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.aether.repository.AuthenticationDigest.session:Lorg/eclipse/aether/RepositorySystemSession;
2: aload 0
aload 2
putfield org.eclipse.aether.repository.AuthenticationDigest.repository:Lorg/eclipse/aether/repository/RemoteRepository;
3: aload 0
aload 3
putfield org.eclipse.aether.repository.AuthenticationDigest.proxy:Lorg/eclipse/aether/repository/Proxy;
4: aload 0
invokestatic org.eclipse.aether.repository.AuthenticationDigest.newDigest:()Ljava/security/MessageDigest;
putfield org.eclipse.aether.repository.AuthenticationDigest.digest:Ljava/security/MessageDigest;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
0 6 1 session Lorg/eclipse/aether/RepositorySystemSession;
0 6 2 repository Lorg/eclipse/aether/repository/RemoteRepository;
0 6 3 proxy Lorg/eclipse/aether/repository/Proxy;
MethodParameters:
Name Flags
session
repository
proxy
private static java.security.MessageDigest newDigest();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc "SHA-1"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
1: areturn
2: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
pop
3: ldc "MD5"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
4: areturn
5: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 0
start local 0 6: new java.lang.IllegalStateException
dup
aload 0
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
6 7 0 ne Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
0 1 2 Class java.security.NoSuchAlgorithmException
3 4 5 Class java.security.NoSuchAlgorithmException
public org.eclipse.aether.RepositorySystemSession getSession();
descriptor: ()Lorg/eclipse/aether/RepositorySystemSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.session:Lorg/eclipse/aether/RepositorySystemSession;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
public org.eclipse.aether.repository.RemoteRepository getRepository();
descriptor: ()Lorg/eclipse/aether/repository/RemoteRepository;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.repository:Lorg/eclipse/aether/repository/RemoteRepository;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
public org.eclipse.aether.repository.Proxy getProxy();
descriptor: ()Lorg/eclipse/aether/repository/Proxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.proxy:Lorg/eclipse/aether/repository/Proxy;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
public void update(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.eclipse.aether.repository.AuthenticationDigest java.lang.String[] top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.digest:Ljava/security/MessageDigest;
aload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual java.security.MessageDigest.update:([B)V
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: StackMap locals: org.eclipse.aether.repository.AuthenticationDigest java.lang.String[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
0 8 1 strings [Ljava/lang/String;
3 5 2 string Ljava/lang/String;
MethodParameters:
Name Flags
strings
public void update(char[]);
descriptor: ([C)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.eclipse.aether.repository.AuthenticationDigest char[] top int int char[]
StackMap stack:
2: aload 5
iload 3
caload
istore 2
start local 2 3: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.digest:Ljava/security/MessageDigest;
iload 2
bipush 8
ishr
i2b
invokevirtual java.security.MessageDigest.update:(B)V
4: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.digest:Ljava/security/MessageDigest;
iload 2
sipush 255
iand
i2b
invokevirtual java.security.MessageDigest.update:(B)V
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: StackMap locals: org.eclipse.aether.repository.AuthenticationDigest char[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
0 8 1 chars [C
3 5 2 c C
MethodParameters:
Name Flags
chars
public void update(byte[]);
descriptor: ([B)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.digest:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
private java.lang.String digest();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield org.eclipse.aether.repository.AuthenticationDigest.digest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
astore 1
start local 1 1: new java.lang.StringBuilder
dup
aload 1
arraylength
iconst_2
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: org.eclipse.aether.repository.AuthenticationDigest byte[] java.lang.StringBuilder top int int byte[]
StackMap stack:
3: aload 6
iload 4
baload
istore 3
start local 3 4: iload 3
sipush 255
iand
istore 7
start local 7 5: iload 7
bipush 16
if_icmpge 7
6: aload 2
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: StackMap locals: org.eclipse.aether.repository.AuthenticationDigest byte[] java.lang.StringBuilder int int int byte[] int
StackMap stack:
aload 2
iload 7
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 end local 3 8: iinc 4 1
StackMap locals: org.eclipse.aether.repository.AuthenticationDigest byte[] java.lang.StringBuilder top int int byte[]
StackMap stack:
9: iload 4
iload 5
if_icmplt 3
10: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/aether/repository/AuthenticationDigest;
1 11 1 bytes [B
2 11 2 buffer Ljava/lang/StringBuilder;
4 8 3 aByte B
5 8 7 b I
}
SourceFile: "AuthenticationDigest.java"