public class org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410 extends org.bouncycastle.jce.provider.JDKKeyPairGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410
super_class: org.bouncycastle.jce.provider.JDKKeyPairGenerator
{
org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters param;
descriptor: Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
flags: (0x0000)
org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator engine;
descriptor: Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
flags: (0x0000)
org.bouncycastle.jce.spec.GOST3410ParameterSpec gost3410Params;
descriptor: Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
flags: (0x0000)
int strength;
descriptor: I
flags: (0x0000)
java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0000)
boolean initialised;
descriptor: Z
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "GOST3410"
invokespecial org.bouncycastle.jce.provider.JDKKeyPairGenerator.<init>:(Ljava/lang/String;)V
1: aload 0
new org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator
dup
invokespecial org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.<init>:()V
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.engine:Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
2: aload 0
sipush 1024
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.strength:I
3: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.random:Ljava/security/SecureRandom;
4: aload 0
iconst_0
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.initialised:Z
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$GOST3410;
public void initialize(int, java.security.SecureRandom);
descriptor: (ILjava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.strength:I
1: aload 0
aload 2
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.random:Ljava/security/SecureRandom;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$GOST3410;
0 3 1 strength I
0 3 2 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
strength
random
private void init(org.bouncycastle.jce.spec.GOST3410ParameterSpec, java.security.SecureRandom);
descriptor: (Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.bouncycastle.jce.spec.GOST3410ParameterSpec.getPublicKeyParameters:()Lorg/bouncycastle/jce/spec/GOST3410PublicKeyParameterSetSpec;
astore 3
start local 3 1: aload 0
new org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters
dup
aload 2
new org.bouncycastle.crypto.params.GOST3410Parameters
dup
aload 3
invokevirtual org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec.getP:()Ljava/math/BigInteger;
aload 3
invokevirtual org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec.getQ:()Ljava/math/BigInteger;
aload 3
invokevirtual org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec.getA:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.crypto.params.GOST3410Parameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
invokespecial org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters.<init>:(Ljava/security/SecureRandom;Lorg/bouncycastle/crypto/params/GOST3410Parameters;)V
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.param:Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
2: aload 0
getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.engine:Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
aload 0
getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.param:Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
invokevirtual org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.init:(Lorg/bouncycastle/crypto/KeyGenerationParameters;)V
3: aload 0
iconst_1
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.initialised:Z
4: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.gost3410Params:Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$GOST3410;
0 6 1 gParams Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
0 6 2 random Ljava/security/SecureRandom;
1 6 3 spec Lorg/bouncycastle/jce/spec/GOST3410PublicKeyParameterSetSpec;
MethodParameters:
Name Flags
gParams
random
public void initialize(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.bouncycastle.jce.spec.GOST3410ParameterSpec
ifne 2
1: new java.security.InvalidAlgorithmParameterException
dup
ldc "parameter object not a GOST3410ParameterSpec"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast org.bouncycastle.jce.spec.GOST3410ParameterSpec
aload 2
invokevirtual org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.init:(Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;Ljava/security/SecureRandom;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$GOST3410;
0 4 1 params Ljava/security/spec/AlgorithmParameterSpec;
0 4 2 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
random
public java.security.KeyPair generateKeyPair();
descriptor: ()Ljava/security/KeyPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.initialised:Z
ifne 2
1: aload 0
new org.bouncycastle.jce.spec.GOST3410ParameterSpec
dup
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_94_CryptoPro_A:Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
invokespecial org.bouncycastle.jce.spec.GOST3410ParameterSpec.<init>:(Ljava/lang/String;)V
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
invokevirtual org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.init:(Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;Ljava/security/SecureRandom;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.engine:Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
invokevirtual org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.generateKeyPair:()Lorg/bouncycastle/crypto/AsymmetricCipherKeyPair;
astore 1
start local 1 3: aload 1
invokevirtual org.bouncycastle.crypto.AsymmetricCipherKeyPair.getPublic:()Lorg/bouncycastle/crypto/CipherParameters;
checkcast org.bouncycastle.crypto.params.GOST3410PublicKeyParameters
astore 2
start local 2 4: aload 1
invokevirtual org.bouncycastle.crypto.AsymmetricCipherKeyPair.getPrivate:()Lorg/bouncycastle/crypto/CipherParameters;
checkcast org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters
astore 3
start local 3 5: new java.security.KeyPair
dup
new org.bouncycastle.jce.provider.JDKGOST3410PublicKey
dup
aload 2
aload 0
getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.gost3410Params:Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
invokespecial org.bouncycastle.jce.provider.JDKGOST3410PublicKey.<init>:(Lorg/bouncycastle/crypto/params/GOST3410PublicKeyParameters;Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;)V
new org.bouncycastle.jce.provider.JDKGOST3410PrivateKey
dup
aload 3
aload 0
getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410.gost3410Params:Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
invokespecial org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.<init>:(Lorg/bouncycastle/crypto/params/GOST3410PrivateKeyParameters;Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;)V
invokespecial java.security.KeyPair.<init>:(Ljava/security/PublicKey;Ljava/security/PrivateKey;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$GOST3410;
3 6 1 pair Lorg/bouncycastle/crypto/AsymmetricCipherKeyPair;
4 6 2 pub Lorg/bouncycastle/crypto/params/GOST3410PublicKeyParameters;
5 6 3 priv Lorg/bouncycastle/crypto/params/GOST3410PrivateKeyParameters;
}
SourceFile: "JDKKeyPairGenerator.java"
NestHost: org.bouncycastle.jce.provider.JDKKeyPairGenerator
InnerClasses:
public GOST3410 = org.bouncycastle.jce.provider.JDKKeyPairGenerator$GOST3410 of org.bouncycastle.jce.provider.JDKKeyPairGenerator