public final class sun.security.provider.NativePRNG extends java.security.SecureRandomSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.provider.NativePRNG
super_class: java.security.SecureRandomSpi
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -6599091113397072932
private static final java.lang.String NAME_RANDOM;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/dev/random"
private static final java.lang.String NAME_URANDOM;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/dev/urandom"
private static final sun.security.provider.NativePRNG$RandomIO INSTANCE;
descriptor: Lsun/security/provider/NativePRNG$RandomIO;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.security.provider.NativePRNG.initIO:()Lsun/security/provider/NativePRNG$RandomIO;
putstatic sun.security.provider.NativePRNG.INSTANCE:Lsun/security/provider/NativePRNG$RandomIO;
return
LocalVariableTable:
Start End Slot Name Signature
private static sun.security.provider.NativePRNG$RandomIO initIO();
descriptor: ()Lsun/security/provider/NativePRNG$RandomIO;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.security.provider.NativePRNG$1
dup
invokespecial sun.security.provider.NativePRNG$1.<init>:()V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast sun.security.provider.NativePRNG$RandomIO
areturn
LocalVariableTable:
Start End Slot Name Signature
static boolean isAvailable();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.security.provider.NativePRNG.INSTANCE:Lsun/security/provider/NativePRNG$RandomIO;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.SecureRandomSpi.<init>:()V
1: getstatic sun.security.provider.NativePRNG.INSTANCE:Lsun/security/provider/NativePRNG$RandomIO;
ifnonnull 3
2: new java.lang.AssertionError
dup
ldc "NativePRNG not available"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: sun.security.provider.NativePRNG
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/NativePRNG;
protected void engineSetSeed(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.security.provider.NativePRNG.INSTANCE:Lsun/security/provider/NativePRNG$RandomIO;
aload 1
invokevirtual sun.security.provider.NativePRNG$RandomIO.implSetSeed:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/NativePRNG;
0 2 1 seed [B
MethodParameters:
Name Flags
seed
protected void engineNextBytes(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.security.provider.NativePRNG.INSTANCE:Lsun/security/provider/NativePRNG$RandomIO;
aload 1
invokevirtual sun.security.provider.NativePRNG$RandomIO.implNextBytes:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/NativePRNG;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes
protected byte[] engineGenerateSeed(int);
descriptor: (I)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.security.provider.NativePRNG.INSTANCE:Lsun/security/provider/NativePRNG$RandomIO;
iload 1
invokevirtual sun.security.provider.NativePRNG$RandomIO.implGenerateSeed:(I)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/NativePRNG;
0 1 1 numBytes I
MethodParameters:
Name Flags
numBytes
}
SourceFile: "NativePRNG.java"
NestMembers:
sun.security.provider.NativePRNG$1 sun.security.provider.NativePRNG$RandomIO sun.security.provider.NativePRNG$RandomIO$1
InnerClasses:
sun.security.provider.NativePRNG$1
private RandomIO = sun.security.provider.NativePRNG$RandomIO of sun.security.provider.NativePRNG