class com.mongodb.internal.connection.ScramShaAuthenticator$DefaultRandomStringGenerator implements com.mongodb.internal.connection.ScramShaAuthenticator$RandomStringGenerator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.ScramShaAuthenticator$DefaultRandomStringGenerator
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ScramShaAuthenticator$DefaultRandomStringGenerator;
public java.lang.String generate(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
astore 2
start local 2 1: bipush 44
istore 3
start local 3 2: bipush 33
istore 4
start local 4 3: bipush 126
istore 5
start local 5 4: iload 5
iload 4
isub
istore 6
start local 6 5: iload 1
newarray 5
astore 7
start local 7 6: iconst_0
istore 8
start local 8 7: goto 14
8: StackMap locals: com.mongodb.internal.connection.ScramShaAuthenticator$DefaultRandomStringGenerator int java.util.Random int int int int char[] int
StackMap stack:
aload 2
iload 6
invokevirtual java.util.Random.nextInt:(I)I
iload 4
iadd
istore 9
start local 9 9: goto 11
10: StackMap locals: int
StackMap stack:
aload 2
iload 6
invokevirtual java.util.Random.nextInt:(I)I
iload 4
iadd
istore 9
11: StackMap locals:
StackMap stack:
iload 9
iload 3
if_icmpeq 10
12: aload 7
iload 8
iload 9
i2c
castore
end local 9 13: iinc 8 1
StackMap locals:
StackMap stack:
14: iload 8
iload 1
if_icmplt 8
end local 8 15: new java.lang.String
dup
aload 7
invokespecial java.lang.String.<init>:([C)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/mongodb/internal/connection/ScramShaAuthenticator$DefaultRandomStringGenerator;
0 16 1 length I
1 16 2 random Ljava/util/Random;
2 16 3 comma I
3 16 4 low I
4 16 5 high I
5 16 6 range I
6 16 7 text [C
7 15 8 i I
9 13 9 next I
MethodParameters:
Name Flags
length final
}
SourceFile: "ScramShaAuthenticator.java"
NestHost: com.mongodb.internal.connection.ScramShaAuthenticator
InnerClasses:
private DefaultRandomStringGenerator = com.mongodb.internal.connection.ScramShaAuthenticator$DefaultRandomStringGenerator of com.mongodb.internal.connection.ScramShaAuthenticator
public abstract RandomStringGenerator = com.mongodb.internal.connection.ScramShaAuthenticator$RandomStringGenerator of com.mongodb.internal.connection.ScramShaAuthenticator