final class org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator implements org.springframework.security.crypto.keygen.BytesKeyGenerator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator
super_class: java.lang.Object
{
private static final int DEFAULT_KEY_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private final java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int keyLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 8
invokespecial org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/security/crypto/keygen/SecureRandomBytesKeyGenerator;
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
putfield org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator.random:Ljava/security/SecureRandom;
2: aload 0
iload 1
putfield org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator.keyLength:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/security/crypto/keygen/SecureRandomBytesKeyGenerator;
0 4 1 keyLength I
MethodParameters:
Name Flags
keyLength
public int getKeyLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator.keyLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/security/crypto/keygen/SecureRandomBytesKeyGenerator;
public byte[] generateKey();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator.keyLength:I
newarray 8
astore 1
start local 1 1: aload 0
getfield org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator.random:Ljava/security/SecureRandom;
aload 1
invokevirtual java.security.SecureRandom.nextBytes:([B)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/security/crypto/keygen/SecureRandomBytesKeyGenerator;
1 3 1 bytes [B
}
SourceFile: "SecureRandomBytesKeyGenerator.java"