public interface io.vertx.ext.auth.VertxContextPRNG
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.ext.auth.VertxContextPRNG
super_class: java.lang.Object
{
public static io.vertx.ext.auth.VertxContextPRNG current();
descriptor: ()Lio/vertx/ext/auth/VertxContextPRNG;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
invokestatic io.vertx.ext.auth.VertxContextPRNG.current:(Lio/vertx/core/Context;)Lio/vertx/ext/auth/VertxContextPRNG;
areturn
3: StackMap locals: io.vertx.core.Context
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Not running in a Vert.x Context."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 currentContext Lio/vertx/core/Context;
public static io.vertx.ext.auth.VertxContextPRNG current(io.vertx.core.Context);
descriptor: (Lio/vertx/core/Context;)Lio/vertx/ext/auth/VertxContextPRNG;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ldc "__vertx.VertxContextPRNG"
invokeinterface io.vertx.core.Context.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast io.vertx.ext.auth.PRNG
astore 1
start local 1 1: aload 1
ifnonnull 12
2: aload 0
dup
astore 2
monitorenter
3: aload 0
ldc "__vertx.VertxContextPRNG"
invokeinterface io.vertx.core.Context.get:(Ljava/lang/String;)Ljava/lang/Object;
checkcast io.vertx.ext.auth.PRNG
astore 1
4: aload 1
ifnonnull 8
5: new io.vertx.ext.auth.PRNG
dup
aload 0
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
invokespecial io.vertx.ext.auth.PRNG.<init>:(Lio/vertx/core/Vertx;)V
astore 1
6: aload 1
astore 3
start local 3 7: aload 0
ldc "__vertx.VertxContextPRNG"
aload 3
invokeinterface io.vertx.core.Context.put:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 8: StackMap locals: io.vertx.ext.auth.PRNG io.vertx.core.Context
StackMap stack:
aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 context Lio/vertx/core/Context;
1 13 1 random Lio/vertx/ext/auth/PRNG;
7 8 3 rand Lio/vertx/ext/auth/PRNG;
Exception table:
from to target type
3 9 10 any
10 11 10 any
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
context final
public static io.vertx.ext.auth.VertxContextPRNG current(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)Lio/vertx/ext/auth/VertxContextPRNG;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokestatic io.vertx.ext.auth.VertxContextPRNG.current:(Lio/vertx/core/Context;)Lio/vertx/ext/auth/VertxContextPRNG;
areturn
3: StackMap locals: io.vertx.core.Context
StackMap stack:
new io.vertx.ext.auth.PRNG
dup
aload 0
invokespecial io.vertx.ext.auth.PRNG.<init>:(Lio/vertx/core/Vertx;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 vertx Lio/vertx/core/Vertx;
1 4 1 currentContext Lio/vertx/core/Context;
MethodParameters:
Name Flags
vertx final
public abstract void nextBytes(byte[]);
descriptor: ([B)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
bytes
public java.lang.String nextString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: aload 0
aload 2
invokeinterface io.vertx.ext.auth.VertxContextPRNG.nextBytes:([B)V
2: invokestatic java.util.Base64.getMimeEncoder:()Ljava/util/Base64$Encoder;
aload 2
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/auth/VertxContextPRNG;
0 3 1 length I
1 3 2 data [B
MethodParameters:
Name Flags
length
public abstract int nextInt();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int nextInt(int);
descriptor: (I)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
bound
}
SourceFile: "VertxContextPRNG.java"
InnerClasses:
public Encoder = java.util.Base64$Encoder of java.util.Base64
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()