public class org.bouncycastle.jce.provider.JDKGOST3410PrivateKey implements org.bouncycastle.jce.interfaces.GOST3410PrivateKey, org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JDKGOST3410PrivateKey
super_class: java.lang.Object
{
java.math.BigInteger x;
descriptor: Ljava/math/BigInteger;
flags: (0x0000)
org.bouncycastle.jce.interfaces.GOST3410Params gost3410Spec;
descriptor: Lorg/bouncycastle/jce/interfaces/GOST3410Params;
flags: (0x0000)
private org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier attrCarrier;
descriptor: Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
void <init>(org.bouncycastle.jce.interfaces.GOST3410PrivateKey);
descriptor: (Lorg/bouncycastle/jce/interfaces/GOST3410PrivateKey;)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 org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
2: aload 0
aload 1
invokeinterface org.bouncycastle.jce.interfaces.GOST3410PrivateKey.getX:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.x:Ljava/math/BigInteger;
3: aload 0
aload 1
invokeinterface org.bouncycastle.jce.interfaces.GOST3410PrivateKey.getParameters:()Lorg/bouncycastle/jce/interfaces/GOST3410Params;
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
0 5 1 key Lorg/bouncycastle/jce/interfaces/GOST3410PrivateKey;
MethodParameters:
Name Flags
key
void <init>(org.bouncycastle.jce.spec.GOST3410PrivateKeySpec);
descriptor: (Lorg/bouncycastle/jce/spec/GOST3410PrivateKeySpec;)V
flags: (0x0000)
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
2: aload 0
aload 1
invokevirtual org.bouncycastle.jce.spec.GOST3410PrivateKeySpec.getX:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.x:Ljava/math/BigInteger;
3: aload 0
new org.bouncycastle.jce.spec.GOST3410ParameterSpec
dup
new org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec
dup
aload 1
invokevirtual org.bouncycastle.jce.spec.GOST3410PrivateKeySpec.getP:()Ljava/math/BigInteger;
aload 1
invokevirtual org.bouncycastle.jce.spec.GOST3410PrivateKeySpec.getQ:()Ljava/math/BigInteger;
aload 1
invokevirtual org.bouncycastle.jce.spec.GOST3410PrivateKeySpec.getA:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.jce.spec.GOST3410PublicKeyParameterSetSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
invokespecial org.bouncycastle.jce.spec.GOST3410ParameterSpec.<init>:(Lorg/bouncycastle/jce/spec/GOST3410PublicKeyParameterSetSpec;)V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
0 5 1 spec Lorg/bouncycastle/jce/spec/GOST3410PrivateKeySpec;
MethodParameters:
Name Flags
spec
void <init>(org.bouncycastle.asn1.pkcs.PrivateKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
2: new org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters
dup
aload 1
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getAlgorithmId:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 2
start local 2 3: aload 1
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getPrivateKey:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.DEROctetString
astore 3
start local 3 4: aload 3
invokevirtual org.bouncycastle.asn1.DEROctetString.getOctets:()[B
astore 4
start local 4 5: aload 4
arraylength
newarray 8
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 10
8: StackMap locals: org.bouncycastle.jce.provider.JDKGOST3410PrivateKey org.bouncycastle.asn1.pkcs.PrivateKeyInfo org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters org.bouncycastle.asn1.DEROctetString byte[] byte[] int
StackMap stack:
aload 5
iload 6
aload 4
aload 4
arraylength
iconst_1
isub
iload 6
isub
baload
bastore
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
aload 4
arraylength
if_icmpne 8
end local 6 11: aload 0
new java.math.BigInteger
dup
iconst_1
aload 5
invokespecial java.math.BigInteger.<init>:(I[B)V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.x:Ljava/math/BigInteger;
12: aload 0
aload 2
invokestatic org.bouncycastle.jce.spec.GOST3410ParameterSpec.fromPublicKeyAlg:(Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;)Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
13: return
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 14 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
0 14 1 info Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
3 14 2 params Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
4 14 3 derX Lorg/bouncycastle/asn1/DEROctetString;
5 14 4 keyEnc [B
6 14 5 keyBytes [B
7 11 6 i I
MethodParameters:
Name Flags
info
void <init>(org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters, org.bouncycastle.jce.spec.GOST3410ParameterSpec);
descriptor: (Lorg/bouncycastle/crypto/params/GOST3410PrivateKeyParameters;Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
2: aload 0
aload 1
invokevirtual org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters.getX:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.x:Ljava/math/BigInteger;
3: aload 0
aload 2
putfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
4: aload 2
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "spec is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.bouncycastle.jce.provider.JDKGOST3410PrivateKey org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters org.bouncycastle.jce.spec.GOST3410ParameterSpec
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
0 7 1 params Lorg/bouncycastle/crypto/params/GOST3410PrivateKeyParameters;
0 7 2 spec Lorg/bouncycastle/jce/spec/GOST3410ParameterSpec;
MethodParameters:
Name Flags
params
spec
public java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "GOST3410"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
public java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "PKCS#8"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.getX:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 2
start local 2 1: aload 2
iconst_0
baload
ifne 4
2: aload 2
arraylength
iconst_1
isub
newarray 8
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: org.bouncycastle.jce.provider.JDKGOST3410PrivateKey top byte[]
StackMap stack:
aload 2
arraylength
newarray 8
astore 3
start local 3 5: StackMap locals: byte[]
StackMap stack:
iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 3
iload 4
aload 2
aload 2
arraylength
iconst_1
isub
iload 4
isub
baload
bastore
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 3
arraylength
if_icmpne 7
end local 4 10: aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
instanceof org.bouncycastle.jce.spec.GOST3410ParameterSpec
ifeq 13
11: new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_94:Lorg/bouncycastle/asn1/DERObjectIdentifier;
new org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters
dup
new org.bouncycastle.asn1.DERObjectIdentifier
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
invokeinterface org.bouncycastle.jce.interfaces.GOST3410Params.getPublicKeyParamSetOID:()Ljava/lang/String;
invokespecial org.bouncycastle.asn1.DERObjectIdentifier.<init>:(Ljava/lang/String;)V
new org.bouncycastle.asn1.DERObjectIdentifier
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
invokeinterface org.bouncycastle.jce.interfaces.GOST3410Params.getDigestParamSetOID:()Ljava/lang/String;
invokespecial org.bouncycastle.asn1.DERObjectIdentifier.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DERObjectIdentifier;)V
invokevirtual org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERObject;)V
astore 1
start local 1 12: goto 14
end local 1 13: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_94:Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)V
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERObject;)V
astore 1
start local 1 14: StackMap locals: org.bouncycastle.jce.provider.JDKGOST3410PrivateKey org.bouncycastle.asn1.pkcs.PrivateKeyInfo byte[] byte[]
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getDEREncoded:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
12 13 1 info Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
14 15 1 info Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
1 15 2 keyEnc [B
3 4 3 keyBytes [B
5 15 3 keyBytes [B
6 10 4 i I
public org.bouncycastle.jce.interfaces.GOST3410Params getParameters();
descriptor: ()Lorg/bouncycastle/jce/interfaces/GOST3410Params;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.gost3410Spec:Lorg/bouncycastle/jce/interfaces/GOST3410Params;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
public java.math.BigInteger getX();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.x:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
public void setBagAttribute(org.bouncycastle.asn1.DERObjectIdentifier, org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
aload 1
aload 2
invokeinterface org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier.setBagAttribute:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
0 2 1 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
0 2 2 attribute Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
oid
attribute
public org.bouncycastle.asn1.DEREncodable getBagAttribute(org.bouncycastle.asn1.DERObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;)Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
aload 1
invokeinterface org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier.getBagAttribute:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Lorg/bouncycastle/asn1/DEREncodable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
0 1 1 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
MethodParameters:
Name Flags
oid
public java.util.Enumeration getBagAttributeKeys();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKGOST3410PrivateKey.attrCarrier:Lorg/bouncycastle/jce/interfaces/PKCS12BagAttributeCarrier;
invokeinterface org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier.getBagAttributeKeys:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKGOST3410PrivateKey;
}
SourceFile: "JDKGOST3410PrivateKey.java"