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 sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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: ldc "provider"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;)Lsun/security/util/Debug;
putstatic sun.security.provider.NativePRNG.debug:Lsun/security/util/Debug;
1: getstatic sun.security.provider.NativePRNG$Variant.MIXED:Lsun/security/provider/NativePRNG$Variant;
invokestatic sun.security.provider.NativePRNG.initIO:(Lsun/security/provider/NativePRNG$Variant;)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 java.net.URL getEgdUrl();
descriptor: ()Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: invokestatic sun.security.provider.SunEntries.getSeedSource:()Ljava/lang/String;
astore 0
start local 0 1: aload 0
invokevirtual java.lang.String.length:()I
ifeq 9
2: getstatic sun.security.provider.NativePRNG.debug:Lsun/security/util/Debug;
ifnull 4
3: getstatic sun.security.provider.NativePRNG.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "NativePRNG egdUrl: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
4: StackMap locals: java.lang.String
StackMap stack:
new java.net.URL
dup
aload 0
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 1
start local 1 5: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 10
6: aconst_null
areturn
end local 1 7: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 10: StackMap locals: java.net.URL
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 11 0 egdSource Ljava/lang/String;
5 7 1 egdUrl Ljava/net/URL;
10 11 1 egdUrl Ljava/net/URL;
Exception table:
from to target type
4 6 7 Class java.net.MalformedURLException
private static sun.security.provider.NativePRNG$RandomIO initIO(sun.security.provider.NativePRNG$Variant);
descriptor: (Lsun/security/provider/NativePRNG$Variant;)Lsun/security/provider/NativePRNG$RandomIO;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.provider.NativePRNG$1
dup
aload 0
invokespecial sun.security.provider.NativePRNG$1.<init>:(Lsun/security/provider/NativePRNG$Variant;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast sun.security.provider.NativePRNG$RandomIO
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v Lsun/security/provider/NativePRNG$Variant;
MethodParameters:
Name Flags
v final
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$Blocking sun.security.provider.NativePRNG$NonBlocking sun.security.provider.NativePRNG$RandomIO sun.security.provider.NativePRNG$RandomIO$1 sun.security.provider.NativePRNG$Variant
InnerClasses:
sun.security.provider.NativePRNG$1
public final Blocking = sun.security.provider.NativePRNG$Blocking of sun.security.provider.NativePRNG
public final NonBlocking = sun.security.provider.NativePRNG$NonBlocking of sun.security.provider.NativePRNG
private RandomIO = sun.security.provider.NativePRNG$RandomIO of sun.security.provider.NativePRNG
private final Variant = sun.security.provider.NativePRNG$Variant of sun.security.provider.NativePRNG