public final class sun.security.mscapi.PRNG extends java.security.SecureRandomSpi implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.mscapi.PRNG
super_class: java.security.SecureRandomSpi
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4129268715132691532
private static final java.lang.ref.Cleaner CLEANER;
descriptor: Ljava/lang/ref/Cleaner;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private transient long ctxt;
descriptor: J
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.ref.Cleaner.create:()Ljava/lang/ref/Cleaner;
putstatic sun.security.mscapi.PRNG.CLEANER:Ljava/lang/ref/Cleaner;
return
LocalVariableTable:
Start End Slot Name Signature
private static native byte[] generateSeed(long, int, byte[]);
descriptor: (JI[B)[B
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctxt
length
seed
private static native long getContext();
descriptor: ()J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void releaseContext(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctxt
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.SecureRandomSpi.<init>:()V
1: aload 0
invokestatic sun.security.mscapi.PRNG.getContext:()J
putfield sun.security.mscapi.PRNG.ctxt:J
2: getstatic sun.security.mscapi.PRNG.CLEANER:Ljava/lang/ref/Cleaner;
aload 0
new sun.security.mscapi.PRNG$State
dup
aload 0
getfield sun.security.mscapi.PRNG.ctxt:J
invokespecial sun.security.mscapi.PRNG$State.<init>:(J)V
invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/mscapi/PRNG;
protected synchronized void engineSetSeed(byte[]);
descriptor: ([B)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
getfield sun.security.mscapi.PRNG.ctxt:J
iconst_m1
aload 1
invokestatic sun.security.mscapi.PRNG.generateSeed:(JI[B)[B
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/PRNG;
0 3 1 seed [B
MethodParameters:
Name Flags
seed
protected synchronized void engineNextBytes(byte[]);
descriptor: ([B)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 0
getfield sun.security.mscapi.PRNG.ctxt:J
iconst_0
aload 1
invokestatic sun.security.mscapi.PRNG.generateSeed:(JI[B)[B
ifnonnull 3
2: new java.security.ProviderException
dup
ldc "Error generating random bytes"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/mscapi/PRNG;
0 4 1 bytes [B
MethodParameters:
Name Flags
bytes
protected synchronized byte[] engineGenerateSeed(int);
descriptor: (I)[B
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.mscapi.PRNG.ctxt:J
iload 1
aconst_null
invokestatic sun.security.mscapi.PRNG.generateSeed:(JI[B)[B
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.security.ProviderException
dup
ldc "Error generating seed bytes"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: byte[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/mscapi/PRNG;
0 4 1 numBytes I
1 4 2 seed [B
MethodParameters:
Name Flags
numBytes
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
invokestatic sun.security.mscapi.PRNG.getContext:()J
putfield sun.security.mscapi.PRNG.ctxt:J
2: getstatic sun.security.mscapi.PRNG.CLEANER:Ljava/lang/ref/Cleaner;
aload 0
new sun.security.mscapi.PRNG$State
dup
aload 0
getfield sun.security.mscapi.PRNG.ctxt:J
invokespecial sun.security.mscapi.PRNG$State.<init>:(J)V
invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/mscapi/PRNG;
0 4 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "PRNG.java"
NestMembers:
sun.security.mscapi.PRNG$State
InnerClasses:
public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
private State = sun.security.mscapi.PRNG$State of sun.security.mscapi.PRNG