public class org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator
super_class: java.lang.Object
{
private static final java.math.BigInteger ZERO;
descriptor: Ljava/math/BigInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters param;
descriptor: Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: lconst_0
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
putstatic org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.ZERO:Ljava/math/BigInteger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
public void init(org.bouncycastle.crypto.KeyGenerationParameters);
descriptor: (Lorg/bouncycastle/crypto/KeyGenerationParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters
putfield org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.param:Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
0 2 1 param Lorg/bouncycastle/crypto/KeyGenerationParameters;
MethodParameters:
Name Flags
param
public org.bouncycastle.crypto.AsymmetricCipherKeyPair generateKeyPair();
descriptor: ()Lorg/bouncycastle/crypto/AsymmetricCipherKeyPair;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.param:Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
invokevirtual org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters.getParameters:()Lorg/bouncycastle/crypto/params/GOST3410Parameters;
astore 6
start local 6 1: aload 0
getfield org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.param:Lorg/bouncycastle/crypto/params/GOST3410KeyGenerationParameters;
invokevirtual org.bouncycastle.crypto.params.GOST3410KeyGenerationParameters.getRandom:()Ljava/security/SecureRandom;
astore 7
start local 7 2: aload 6
invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getQ:()Ljava/math/BigInteger;
astore 2
start local 2 3: aload 6
invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getP:()Ljava/math/BigInteger;
astore 1
start local 1 4: aload 6
invokevirtual org.bouncycastle.crypto.params.GOST3410Parameters.getA:()Ljava/math/BigInteger;
astore 3
start local 3 5: StackMap locals: org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator java.math.BigInteger java.math.BigInteger java.math.BigInteger top top org.bouncycastle.crypto.params.GOST3410Parameters java.security.SecureRandom
StackMap stack:
new java.math.BigInteger
dup
sipush 256
aload 7
invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
astore 4
start local 4 6: aload 4
getstatic org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator.ZERO:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifne 5
aload 4
aload 2
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
7: ifge 5
8: aload 3
aload 4
aload 1
invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 5
start local 5 9: new org.bouncycastle.crypto.AsymmetricCipherKeyPair
dup
10: new org.bouncycastle.crypto.params.GOST3410PublicKeyParameters
dup
aload 5
aload 6
invokespecial org.bouncycastle.crypto.params.GOST3410PublicKeyParameters.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/GOST3410Parameters;)V
11: new org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters
dup
aload 4
aload 6
invokespecial org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/GOST3410Parameters;)V
12: invokespecial org.bouncycastle.crypto.AsymmetricCipherKeyPair.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Lorg/bouncycastle/crypto/CipherParameters;)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/crypto/generators/GOST3410KeyPairGenerator;
4 13 1 p Ljava/math/BigInteger;
3 13 2 q Ljava/math/BigInteger;
5 13 3 a Ljava/math/BigInteger;
6 13 4 x Ljava/math/BigInteger;
9 13 5 y Ljava/math/BigInteger;
1 13 6 GOST3410Params Lorg/bouncycastle/crypto/params/GOST3410Parameters;
2 13 7 random Ljava/security/SecureRandom;
}
SourceFile: "GOST3410KeyPairGenerator.java"