public final class com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator extends javax.crypto.KeyGeneratorSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator
super_class: javax.crypto.KeyGeneratorSpi
{
private final com.sun.crypto.provider.KeyGeneratorCore core;
descriptor: Lcom/sun/crypto/provider/KeyGeneratorCore;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
1: aload 0
new com.sun.crypto.provider.KeyGeneratorCore
dup
ldc "ChaCha20"
sipush 256
invokespecial com.sun.crypto.provider.KeyGeneratorCore.<init>:(Ljava/lang/String;I)V
putfield com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator.core:Lcom/sun/crypto/provider/KeyGeneratorCore;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/KeyGeneratorCore$ChaCha20KeyGenerator;
protected void engineInit(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator.core:Lcom/sun/crypto/provider/KeyGeneratorCore;
aload 1
invokevirtual com.sun.crypto.provider.KeyGeneratorCore.implInit:(Ljava/security/SecureRandom;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/KeyGeneratorCore$ChaCha20KeyGenerator;
0 2 1 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
random
protected void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator.core:Lcom/sun/crypto/provider/KeyGeneratorCore;
aload 1
aload 2
invokevirtual com.sun.crypto.provider.KeyGeneratorCore.implInit:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/KeyGeneratorCore$ChaCha20KeyGenerator;
0 2 1 params Ljava/security/spec/AlgorithmParameterSpec;
0 2 2 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
random
protected void engineInit(int, java.security.SecureRandom);
descriptor: (ILjava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
sipush 256
if_icmpeq 4
1: new java.security.InvalidParameterException
dup
2: ldc "Key length for ChaCha20 must be 256 bits"
3: invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator.core:Lcom/sun/crypto/provider/KeyGeneratorCore;
iload 1
aload 2
invokevirtual com.sun.crypto.provider.KeyGeneratorCore.implInit:(ILjava/security/SecureRandom;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/KeyGeneratorCore$ChaCha20KeyGenerator;
0 6 1 keySize I
0 6 2 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
keySize
random
protected javax.crypto.SecretKey engineGenerateKey();
descriptor: ()Ljavax/crypto/SecretKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator.core:Lcom/sun/crypto/provider/KeyGeneratorCore;
invokevirtual com.sun.crypto.provider.KeyGeneratorCore.implGenerateKey:()Ljavax/crypto/SecretKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/KeyGeneratorCore$ChaCha20KeyGenerator;
}
SourceFile: "KeyGeneratorCore.java"
NestHost: com.sun.crypto.provider.KeyGeneratorCore
InnerClasses:
public final ChaCha20KeyGenerator = com.sun.crypto.provider.KeyGeneratorCore$ChaCha20KeyGenerator of com.sun.crypto.provider.KeyGeneratorCore