public class org.bouncycastle.jce.provider.JCEECPublicKey implements java.security.interfaces.ECPublicKey, org.bouncycastle.jce.interfaces.ECPublicKey, org.bouncycastle.jce.interfaces.ECPointEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JCEECPublicKey
super_class: java.lang.Object
{
private java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.math.ec.ECPoint q;
descriptor: Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.ECParameterSpec ecSpec;
descriptor: Ljava/security/spec/ECParameterSpec;
flags: (0x0002) ACC_PRIVATE
private boolean withCompression;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters gostParams;
descriptor: Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, org.bouncycastle.jce.provider.JCEECPublicKey);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/jce/provider/JCEECPublicKey;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 0
aload 2
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
4: aload 0
aload 2
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
5: aload 0
aload 2
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
putfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
6: aload 0
aload 2
getfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 8 1 algorithm Ljava/lang/String;
0 8 2 key Lorg/bouncycastle/jce/provider/JCEECPublicKey;
MethodParameters:
Name Flags
algorithm
key
public void <init>(java.lang.String, java.security.spec.ECPublicKeySpec);
descriptor: (Ljava/lang/String;Ljava/security/spec/ECPublicKeySpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 0
aload 2
invokevirtual java.security.spec.ECPublicKeySpec.getParams:()Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
4: aload 0
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
aload 2
invokevirtual java.security.spec.ECPublicKeySpec.getW:()Ljava/security/spec/ECPoint;
iconst_0
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertPoint:(Ljava/security/spec/ECParameterSpec;Ljava/security/spec/ECPoint;Z)Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 6 1 algorithm Ljava/lang/String;
0 6 2 spec Ljava/security/spec/ECPublicKeySpec;
MethodParameters:
Name Flags
algorithm
spec
public void <init>(java.lang.String, org.bouncycastle.jce.spec.ECPublicKeySpec);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/jce/spec/ECPublicKeySpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 0
aload 2
invokevirtual org.bouncycastle.jce.spec.ECPublicKeySpec.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
4: aload 2
invokevirtual org.bouncycastle.jce.spec.ECPublicKeySpec.getParams:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
ifnull 9
5: aload 2
invokevirtual org.bouncycastle.jce.spec.ECPublicKeySpec.getParams:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 6: aload 3
aload 2
invokevirtual org.bouncycastle.jce.spec.ECPublicKeySpec.getParams:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 4
start local 4 7: aload 0
aload 4
aload 2
invokevirtual org.bouncycastle.jce.spec.ECPublicKeySpec.getParams:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertSpec:(Ljava/security/spec/EllipticCurve;Lorg/bouncycastle/jce/spec/ECParameterSpec;)Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 4 end local 3 8: goto 13
9: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey java.lang.String org.bouncycastle.jce.spec.ECPublicKeySpec
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
ifnonnull 12
10: invokestatic org.bouncycastle.jce.provider.ProviderUtil.getEcImplicitlyCa:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
astore 3
start local 3 11: aload 0
aload 3
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
iconst_0
invokevirtual org.bouncycastle.math.ec.ECCurve.createPoint:(Ljava/math/BigInteger;Ljava/math/BigInteger;Z)Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
end local 3 12: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 14 1 algorithm Ljava/lang/String;
0 14 2 spec Lorg/bouncycastle/jce/spec/ECPublicKeySpec;
6 8 3 curve Lorg/bouncycastle/math/ec/ECCurve;
7 8 4 ellipticCurve Ljava/security/spec/EllipticCurve;
11 12 3 s Lorg/bouncycastle/jce/spec/ECParameterSpec;
MethodParameters:
Name Flags
algorithm
spec
public void <init>(java.lang.String, org.bouncycastle.crypto.params.ECPublicKeyParameters, java.security.spec.ECParameterSpec);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;Ljava/security/spec/ECParameterSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 2
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/ECDomainParameters;
astore 4
start local 4 3: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
4: aload 0
aload 2
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
5: aload 3
ifnonnull 9
6: aload 4
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
aload 4
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 5
start local 5 7: aload 0
aload 0
aload 5
aload 4
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.createSpec:(Ljava/security/spec/EllipticCurve;Lorg/bouncycastle/crypto/params/ECDomainParameters;)Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 5 8: goto 10
9: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey java.lang.String org.bouncycastle.crypto.params.ECPublicKeyParameters java.security.spec.ECParameterSpec org.bouncycastle.crypto.params.ECDomainParameters
StackMap stack:
aload 0
aload 3
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
10: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 11 1 algorithm Ljava/lang/String;
0 11 2 params Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;
0 11 3 spec Ljava/security/spec/ECParameterSpec;
3 11 4 dp Lorg/bouncycastle/crypto/params/ECDomainParameters;
7 8 5 ellipticCurve Ljava/security/spec/EllipticCurve;
MethodParameters:
Name Flags
algorithm
params
spec
public void <init>(java.lang.String, org.bouncycastle.crypto.params.ECPublicKeyParameters, org.bouncycastle.jce.spec.ECParameterSpec);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;Lorg/bouncycastle/jce/spec/ECParameterSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 2
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/ECDomainParameters;
astore 4
start local 4 3: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
4: aload 0
aload 2
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
5: aload 3
ifnonnull 9
6: aload 4
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
aload 4
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 5
start local 5 7: aload 0
aload 0
aload 5
aload 4
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.createSpec:(Ljava/security/spec/EllipticCurve;Lorg/bouncycastle/crypto/params/ECDomainParameters;)Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 5 8: goto 11
9: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey java.lang.String org.bouncycastle.crypto.params.ECPublicKeyParameters org.bouncycastle.jce.spec.ECParameterSpec org.bouncycastle.crypto.params.ECDomainParameters
StackMap stack:
aload 3
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
aload 3
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 5
start local 5 10: aload 0
aload 5
aload 3
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertSpec:(Ljava/security/spec/EllipticCurve;Lorg/bouncycastle/jce/spec/ECParameterSpec;)Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 5 11: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 12 1 algorithm Ljava/lang/String;
0 12 2 params Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;
0 12 3 spec Lorg/bouncycastle/jce/spec/ECParameterSpec;
3 12 4 dp Lorg/bouncycastle/crypto/params/ECDomainParameters;
7 8 5 ellipticCurve Ljava/security/spec/EllipticCurve;
10 11 5 ellipticCurve Ljava/security/spec/EllipticCurve;
MethodParameters:
Name Flags
algorithm
params
spec
public void <init>(java.lang.String, org.bouncycastle.crypto.params.ECPublicKeyParameters);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 0
aload 2
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
4: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 6 1 algorithm Ljava/lang/String;
0 6 2 params Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;
MethodParameters:
Name Flags
algorithm
params
private java.security.spec.ECParameterSpec createSpec(java.security.spec.EllipticCurve, org.bouncycastle.crypto.params.ECDomainParameters);
descriptor: (Ljava/security/spec/EllipticCurve;Lorg/bouncycastle/crypto/params/ECDomainParameters;)Ljava/security/spec/ECParameterSpec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.security.spec.ECParameterSpec
dup
1: aload 1
2: new java.security.spec.ECPoint
dup
3: aload 2
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
4: aload 2
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
5: invokespecial java.security.spec.ECPoint.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
6: aload 2
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getN:()Ljava/math/BigInteger;
7: aload 2
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getH:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
8: invokespecial java.security.spec.ECParameterSpec.<init>:(Ljava/security/spec/EllipticCurve;Ljava/security/spec/ECPoint;Ljava/math/BigInteger;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 9 1 ellipticCurve Ljava/security/spec/EllipticCurve;
0 9 2 dp Lorg/bouncycastle/crypto/params/ECDomainParameters;
MethodParameters:
Name Flags
ellipticCurve
dp
public void <init>(java.security.interfaces.ECPublicKey);
descriptor: (Ljava/security/interfaces/ECPublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 0
aload 1
invokeinterface java.security.interfaces.ECPublicKey.getAlgorithm:()Ljava/lang/String;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 0
aload 1
invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
4: aload 0
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
aload 1
invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
iconst_0
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertPoint:(Ljava/security/spec/ECParameterSpec;Ljava/security/spec/ECPoint;Z)Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 6 1 key Ljava/security/interfaces/ECPublicKey;
MethodParameters:
Name Flags
key
void <init>(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "EC"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.populateFromPubKeyInfo:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 4 1 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
MethodParameters:
Name Flags
info
private void populateFromPubKeyInfo(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithmId:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_2001:Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 35
1: aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKeyData:()Lorg/bouncycastle/asn1/DERBitString;
astore 2
start local 2 2: aload 0
ldc "ECGOST3410"
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 2
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1OctetString
astore 3
start local 3 4: goto 7
end local 3 5: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey org.bouncycastle.asn1.x509.SubjectPublicKeyInfo org.bouncycastle.asn1.DERBitString
StackMap stack: java.io.IOException
pop
6: new java.lang.IllegalArgumentException
dup
ldc "error recovering public key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 3 7: StackMap locals: org.bouncycastle.asn1.ASN1OctetString
StackMap stack:
aload 3
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
astore 4
start local 4 8: bipush 32
newarray 8
astore 5
start local 5 9: bipush 32
newarray 8
astore 6
start local 6 10: iconst_0
istore 7
start local 7 11: goto 14
12: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey org.bouncycastle.asn1.x509.SubjectPublicKeyInfo org.bouncycastle.asn1.DERBitString org.bouncycastle.asn1.ASN1OctetString byte[] byte[] byte[] int
StackMap stack:
aload 5
iload 7
aload 4
bipush 31
iload 7
isub
baload
bastore
13: iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
aload 5
arraylength
if_icmpne 12
end local 7 15: iconst_0
istore 7
start local 7 16: goto 19
17: StackMap locals:
StackMap stack:
aload 6
iload 7
aload 4
bipush 63
iload 7
isub
baload
bastore
18: iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
aload 6
arraylength
if_icmpne 17
end local 7 20: aload 0
new org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.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
putfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
21: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
invokevirtual org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters.getPublicKeyParamSet:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokestatic org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves.getName:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Ljava/lang/String;
invokestatic org.bouncycastle.jce.ECGOST3410NamedCurveTable.getParameterSpec:(Ljava/lang/String;)Lorg/bouncycastle/jce/spec/ECNamedCurveParameterSpec;
astore 7
start local 7 22: aload 7
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveParameterSpec.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
astore 8
start local 8 23: aload 8
aload 7
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveParameterSpec.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 9
start local 9 24: aload 0
aload 8
new java.math.BigInteger
dup
iconst_1
aload 5
invokespecial java.math.BigInteger.<init>:(I[B)V
new java.math.BigInteger
dup
iconst_1
aload 6
invokespecial java.math.BigInteger.<init>:(I[B)V
iconst_0
invokevirtual org.bouncycastle.math.ec.ECCurve.createPoint:(Ljava/math/BigInteger;Ljava/math/BigInteger;Z)Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
25: aload 0
new org.bouncycastle.jce.spec.ECNamedCurveSpec
dup
26: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
invokevirtual org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters.getPublicKeyParamSet:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokestatic org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves.getName:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Ljava/lang/String;
27: aload 9
28: new java.security.spec.ECPoint
dup
29: aload 7
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveParameterSpec.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
30: aload 7
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveParameterSpec.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
31: invokespecial java.security.spec.ECPoint.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
32: aload 7
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveParameterSpec.getN:()Ljava/math/BigInteger;
aload 7
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveParameterSpec.getH:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.jce.spec.ECNamedCurveSpec.<init>:(Ljava/lang/String;Ljava/security/spec/EllipticCurve;Ljava/security/spec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
33: putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 34: goto 81
35: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
StackMap stack:
new org.bouncycastle.asn1.x9.X962Parameters
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithmId:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERObject
invokespecial org.bouncycastle.asn1.x9.X962Parameters.<init>:(Lorg/bouncycastle/asn1/DERObject;)V
astore 2
start local 2 36: aload 2
invokevirtual org.bouncycastle.asn1.x9.X962Parameters.isNamedCurve:()Z
ifeq 52
37: aload 2
invokevirtual org.bouncycastle.asn1.x9.X962Parameters.getParameters:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.DERObjectIdentifier
astore 5
start local 5 38: aload 5
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.ECUtil.getNamedCurveByOid:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Lorg/bouncycastle/asn1/x9/X9ECParameters;
astore 6
start local 6 39: aload 6
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 40: aload 3
aload 6
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 4
start local 4 41: aload 0
new org.bouncycastle.jce.spec.ECNamedCurveSpec
dup
42: aload 5
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.ECUtil.getCurveName:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Ljava/lang/String;
43: aload 4
44: new java.security.spec.ECPoint
dup
45: aload 6
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
46: aload 6
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
47: invokespecial java.security.spec.ECPoint.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
48: aload 6
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getN:()Ljava/math/BigInteger;
49: aload 6
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getH:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.jce.spec.ECNamedCurveSpec.<init>:(Ljava/lang/String;Ljava/security/spec/EllipticCurve;Ljava/security/spec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
50: putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 6 end local 5 51: goto 68
end local 4 end local 3 52: StackMap locals: org.bouncycastle.asn1.x9.X962Parameters
StackMap stack:
aload 2
invokevirtual org.bouncycastle.asn1.x9.X962Parameters.isImplicitlyCA:()Z
ifeq 56
53: aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
54: invokestatic org.bouncycastle.jce.provider.ProviderUtil.getEcImplicitlyCa:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 55: goto 68
end local 3 56: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x9.X9ECParameters
dup
aload 2
invokevirtual org.bouncycastle.asn1.x9.X962Parameters.getParameters:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x9.X9ECParameters.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 5
start local 5 57: aload 5
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 58: aload 3
aload 5
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getSeed:()[B
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Lorg/bouncycastle/math/ec/ECCurve;[B)Ljava/security/spec/EllipticCurve;
astore 4
start local 4 59: aload 0
new java.security.spec.ECParameterSpec
dup
60: aload 4
61: new java.security.spec.ECPoint
dup
62: aload 5
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
63: aload 5
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getG:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
64: invokespecial java.security.spec.ECPoint.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
65: aload 5
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getN:()Ljava/math/BigInteger;
66: aload 5
invokevirtual org.bouncycastle.asn1.x9.X9ECParameters.getH:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
invokespecial java.security.spec.ECParameterSpec.<init>:(Ljava/security/spec/EllipticCurve;Ljava/security/spec/ECPoint;Ljava/math/BigInteger;I)V
67: putfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
end local 5 end local 4 68: StackMap locals: org.bouncycastle.math.ec.ECCurve
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKeyData:()Lorg/bouncycastle/asn1/DERBitString;
astore 5
start local 5 69: aload 5
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
astore 6
start local 6 70: new org.bouncycastle.asn1.DEROctetString
dup
aload 6
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
astore 7
start local 7 71: aload 6
iconst_0
baload
iconst_4
if_icmpne 79
aload 6
iconst_1
baload
aload 6
arraylength
iconst_2
isub
if_icmpne 79
72: aload 6
iconst_2
baload
iconst_2
if_icmpeq 73
aload 6
iconst_2
baload
iconst_3
if_icmpne 79
73: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey org.bouncycastle.asn1.x509.SubjectPublicKeyInfo org.bouncycastle.asn1.x9.X962Parameters org.bouncycastle.math.ec.ECCurve top org.bouncycastle.asn1.DERBitString byte[] org.bouncycastle.asn1.ASN1OctetString
StackMap stack:
new org.bouncycastle.asn1.x9.X9IntegerConverter
dup
invokespecial org.bouncycastle.asn1.x9.X9IntegerConverter.<init>:()V
aload 3
invokevirtual org.bouncycastle.asn1.x9.X9IntegerConverter.getByteLength:(Lorg/bouncycastle/math/ec/ECCurve;)I
istore 8
start local 8 74: iload 8
aload 6
arraylength
iconst_3
isub
if_icmplt 79
75: aload 6
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1OctetString
astore 7
76: goto 79
77: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey org.bouncycastle.asn1.x509.SubjectPublicKeyInfo org.bouncycastle.asn1.x9.X962Parameters org.bouncycastle.math.ec.ECCurve top org.bouncycastle.asn1.DERBitString byte[] org.bouncycastle.asn1.ASN1OctetString int
StackMap stack: java.io.IOException
pop
78: new java.lang.IllegalArgumentException
dup
ldc "error recovering public key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 8 79: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x9.X9ECPoint
dup
aload 3
aload 7
invokespecial org.bouncycastle.asn1.x9.X9ECPoint.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/asn1/ASN1OctetString;)V
astore 8
start local 8 80: aload 0
aload 8
invokevirtual org.bouncycastle.asn1.x9.X9ECPoint.getPoint:()Lorg/bouncycastle/math/ec/ECPoint;
putfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 81: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 82 1 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
2 34 2 bits Lorg/bouncycastle/asn1/DERBitString;
4 5 3 key Lorg/bouncycastle/asn1/ASN1OctetString;
7 34 3 key Lorg/bouncycastle/asn1/ASN1OctetString;
8 34 4 keyEnc [B
9 34 5 x [B
10 34 6 y [B
11 15 7 i I
16 20 7 i I
22 34 7 spec Lorg/bouncycastle/jce/spec/ECNamedCurveParameterSpec;
23 34 8 curve Lorg/bouncycastle/math/ec/ECCurve;
24 34 9 ellipticCurve Ljava/security/spec/EllipticCurve;
36 81 2 params Lorg/bouncycastle/asn1/x9/X962Parameters;
40 52 3 curve Lorg/bouncycastle/math/ec/ECCurve;
55 56 3 curve Lorg/bouncycastle/math/ec/ECCurve;
58 81 3 curve Lorg/bouncycastle/math/ec/ECCurve;
41 52 4 ellipticCurve Ljava/security/spec/EllipticCurve;
59 68 4 ellipticCurve Ljava/security/spec/EllipticCurve;
38 51 5 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
39 51 6 ecP Lorg/bouncycastle/asn1/x9/X9ECParameters;
57 68 5 ecP Lorg/bouncycastle/asn1/x9/X9ECParameters;
69 81 5 bits Lorg/bouncycastle/asn1/DERBitString;
70 81 6 data [B
71 81 7 key Lorg/bouncycastle/asn1/ASN1OctetString;
74 79 8 qLength I
80 81 8 derQ Lorg/bouncycastle/asn1/x9/X9ECPoint;
Exception table:
from to target type
3 4 5 Class java.io.IOException
75 76 77 Class java.io.IOException
MethodParameters:
Name Flags
info
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: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
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 "X.509"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
ldc "ECGOST3410"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
1: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
ifnull 4
2: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.gostParams:Lorg/bouncycastle/asn1/cryptopro/GOST3410PublicKeyAlgParameters;
astore 1
start local 1 3: goto 19
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
instanceof org.bouncycastle.jce.spec.ECNamedCurveSpec
ifeq 10
5: new org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters
dup
6: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
checkcast org.bouncycastle.jce.spec.ECNamedCurveSpec
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveSpec.getName:()Ljava/lang/String;
invokestatic org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves.getOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/DERObjectIdentifier;
7: getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3411_94_CryptoProParamSet:Lorg/bouncycastle/asn1/DERObjectIdentifier;
8: invokespecial org.bouncycastle.asn1.cryptopro.GOST3410PublicKeyAlgParameters.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DERObjectIdentifier;)V
astore 1
start local 1 9: goto 19
end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Ljava/security/spec/EllipticCurve;)Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 11: new org.bouncycastle.asn1.x9.X9ECParameters
dup
12: aload 3
13: aload 3
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getGenerator:()Ljava/security/spec/ECPoint;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertPoint:(Lorg/bouncycastle/math/ec/ECCurve;Ljava/security/spec/ECPoint;Z)Lorg/bouncycastle/math/ec/ECPoint;
14: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getOrder:()Ljava/math/BigInteger;
15: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getCofactor:()I
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
16: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
invokevirtual java.security.spec.EllipticCurve.getSeed:()[B
17: invokespecial org.bouncycastle.asn1.x9.X9ECParameters.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V
astore 4
start local 4 18: new org.bouncycastle.asn1.x9.X962Parameters
dup
aload 4
invokespecial org.bouncycastle.asn1.x9.X962Parameters.<init>:(Lorg/bouncycastle/asn1/x9/X9ECParameters;)V
astore 1
end local 4 end local 3 start local 1 19: StackMap locals: org.bouncycastle.asn1.ASN1Encodable
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
astore 3
start local 3 20: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
astore 4
start local 4 21: bipush 64
newarray 8
astore 5
start local 5 22: aload 0
aload 5
iconst_0
aload 3
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.extractBytes:([BILjava/math/BigInteger;)V
23: aload 0
aload 5
bipush 32
aload 4
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.extractBytes:([BILjava/math/BigInteger;)V
24: new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_2001:Lorg/bouncycastle/asn1/DERObjectIdentifier;
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Encodable.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 5
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
astore 2
end local 5 end local 4 end local 3 start local 2 25: goto 48
end local 2 end local 1 26: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
instanceof org.bouncycastle.jce.spec.ECNamedCurveSpec
ifeq 32
27: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
checkcast org.bouncycastle.jce.spec.ECNamedCurveSpec
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveSpec.getName:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.ECUtil.getNamedCurveOid:(Ljava/lang/String;)Lorg/bouncycastle/asn1/DERObjectIdentifier;
astore 3
start local 3 28: aload 3
ifnonnull 30
29: new org.bouncycastle.asn1.DERObjectIdentifier
dup
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
checkcast org.bouncycastle.jce.spec.ECNamedCurveSpec
invokevirtual org.bouncycastle.jce.spec.ECNamedCurveSpec.getName:()Ljava/lang/String;
invokespecial org.bouncycastle.asn1.DERObjectIdentifier.<init>:(Ljava/lang/String;)V
astore 3
30: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey top top org.bouncycastle.asn1.DERObjectIdentifier
StackMap stack:
new org.bouncycastle.asn1.x9.X962Parameters
dup
aload 3
invokespecial org.bouncycastle.asn1.x9.X962Parameters.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)V
astore 1
end local 3 start local 1 31: goto 44
end local 1 32: StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
ifnonnull 35
33: new org.bouncycastle.asn1.x9.X962Parameters
dup
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokespecial org.bouncycastle.asn1.x9.X962Parameters.<init>:(Lorg/bouncycastle/asn1/DERObject;)V
astore 1
start local 1 34: goto 44
end local 1 35: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertCurve:(Ljava/security/spec/EllipticCurve;)Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 36: new org.bouncycastle.asn1.x9.X9ECParameters
dup
37: aload 3
38: aload 3
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getGenerator:()Ljava/security/spec/ECPoint;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertPoint:(Lorg/bouncycastle/math/ec/ECCurve;Ljava/security/spec/ECPoint;Z)Lorg/bouncycastle/math/ec/ECPoint;
39: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getOrder:()Ljava/math/BigInteger;
40: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getCofactor:()I
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
41: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
invokevirtual java.security.spec.EllipticCurve.getSeed:()[B
42: invokespecial org.bouncycastle.asn1.x9.X9ECParameters.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECPoint;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V
astore 4
start local 4 43: new org.bouncycastle.asn1.x9.X962Parameters
dup
aload 4
invokespecial org.bouncycastle.asn1.x9.X962Parameters.<init>:(Lorg/bouncycastle/asn1/x9/X9ECParameters;)V
astore 1
end local 4 end local 3 start local 1 44: StackMap locals: org.bouncycastle.asn1.ASN1Encodable
StackMap stack:
aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetQ:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getCurve:()Lorg/bouncycastle/math/ec/ECCurve;
astore 3
start local 3 45: new org.bouncycastle.asn1.x9.X9ECPoint
dup
aload 3
aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
invokevirtual org.bouncycastle.math.ec.ECCurve.createPoint:(Ljava/math/BigInteger;Ljava/math/BigInteger;Z)Lorg/bouncycastle/math/ec/ECPoint;
invokespecial org.bouncycastle.asn1.x9.X9ECPoint.<init>:(Lorg/bouncycastle/math/ec/ECPoint;)V
invokevirtual org.bouncycastle.asn1.x9.X9ECPoint.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
46: checkcast org.bouncycastle.asn1.ASN1OctetString
astore 4
start local 4 47: new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_ecPublicKey:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Encodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
aload 4
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
astore 2
end local 4 end local 3 start local 2 48: StackMap locals: org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
StackMap stack:
aload 2
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getDEREncoded:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
3 4 1 params Lorg/bouncycastle/asn1/ASN1Encodable;
9 10 1 params Lorg/bouncycastle/asn1/ASN1Encodable;
19 26 1 params Lorg/bouncycastle/asn1/ASN1Encodable;
31 32 1 params Lorg/bouncycastle/asn1/ASN1Encodable;
34 35 1 params Lorg/bouncycastle/asn1/ASN1Encodable;
44 49 1 params Lorg/bouncycastle/asn1/ASN1Encodable;
25 26 2 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
48 49 2 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
11 19 3 curve Lorg/bouncycastle/math/ec/ECCurve;
18 19 4 ecP Lorg/bouncycastle/asn1/x9/X9ECParameters;
20 25 3 bX Ljava/math/BigInteger;
21 25 4 bY Ljava/math/BigInteger;
22 25 5 encKey [B
28 31 3 curveOid Lorg/bouncycastle/asn1/DERObjectIdentifier;
36 44 3 curve Lorg/bouncycastle/math/ec/ECCurve;
43 44 4 ecP Lorg/bouncycastle/asn1/x9/X9ECParameters;
45 48 3 curve Lorg/bouncycastle/math/ec/ECCurve;
47 48 4 p Lorg/bouncycastle/asn1/ASN1OctetString;
private void (byte[], int, java.math.BigInteger);
descriptor: ([BILjava/math/BigInteger;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 4
start local 4 1: aload 4
arraylength
bipush 32
if_icmpge 5
2: bipush 32
newarray 8
astore 5
start local 5 3: aload 4
iconst_0
aload 5
aload 5
arraylength
aload 4
arraylength
isub
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 5
astore 4
end local 5 5: StackMap locals: byte[]
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 1
iload 2
iload 5
iadd
aload 4
aload 4
arraylength
iconst_1
isub
iload 5
isub
baload
bastore
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
bipush 32
if_icmpne 7
end local 5 10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 11 1 encKey [B
0 11 2 offSet I
0 11 3 bI Ljava/math/BigInteger;
1 11 4 val [B
3 5 5 tmp [B
6 10 5 i I
MethodParameters:
Name Flags
encKey
offSet
bI
public java.security.spec.ECParameterSpec getParams();
descriptor: ()Ljava/security/spec/ECParameterSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
public org.bouncycastle.jce.spec.ECParameterSpec getParameters();
descriptor: ()Lorg/bouncycastle/jce/spec/ECParameterSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertSpec:(Ljava/security/spec/ECParameterSpec;Z)Lorg/bouncycastle/jce/spec/ECParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
public java.security.spec.ECPoint getW();
descriptor: ()Ljava/security/spec/ECPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.security.spec.ECPoint
dup
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
invokespecial java.security.spec.ECPoint.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
public org.bouncycastle.math.ec.ECPoint getQ();
descriptor: ()Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
ifnonnull 4
1: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
instanceof org.bouncycastle.math.ec.ECPoint$Fp
ifeq 3
2: new org.bouncycastle.math.ec.ECPoint$Fp
dup
aconst_null
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokespecial org.bouncycastle.math.ec.ECPoint$Fp.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECFieldElement;Lorg/bouncycastle/math/ec/ECFieldElement;)V
areturn
3: StackMap locals:
StackMap stack:
new org.bouncycastle.math.ec.ECPoint$F2m
dup
aconst_null
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokespecial org.bouncycastle.math.ec.ECPoint$F2m.<init>:(Lorg/bouncycastle/math/ec/ECCurve;Lorg/bouncycastle/math/ec/ECFieldElement;Lorg/bouncycastle/math/ec/ECFieldElement;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
public org.bouncycastle.math.ec.ECPoint engineGetQ();
descriptor: ()Lorg/bouncycastle/math/ec/ECPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
org.bouncycastle.jce.spec.ECParameterSpec engineGetSpec();
descriptor: ()Lorg/bouncycastle/jce/spec/ECParameterSpec;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
ifnull 2
1: aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.ecSpec:Ljava/security/spec/ECParameterSpec;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.EC5Util.convertSpec:(Ljava/security/spec/ECParameterSpec;Z)Lorg/bouncycastle/jce/spec/ECParameterSpec;
areturn
2: StackMap locals:
StackMap stack:
invokestatic org.bouncycastle.jce.provider.ProviderUtil.getEcImplicitlyCa:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 1
ldc "EC Public Key"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: aload 1
ldc " X: "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
bipush 16
invokevirtual java.math.BigInteger.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
4: aload 1
ldc " Y: "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.q:Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.getY:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
bipush 16
invokevirtual java.math.BigInteger.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
1 6 1 buf Ljava/lang/StringBuffer;
2 6 2 nl Ljava/lang/String;
public void setPointFormat(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "UNCOMPRESSED"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: org.bouncycastle.jce.provider.JCEECPublicKey
1: iconst_1
StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey java.lang.String
StackMap stack: org.bouncycastle.jce.provider.JCEECPublicKey int
2: putfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 4 1 style Ljava/lang/String;
MethodParameters:
Name Flags
style
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.jce.provider.JCEECPublicKey
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.jce.provider.JCEECPublicKey
astore 2
start local 2 3: aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetQ:()Lorg/bouncycastle/math/ec/ECPoint;
aload 2
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetQ:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetSpec:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
aload 2
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetSpec:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: org.bouncycastle.jce.provider.JCEECPublicKey
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 5 1 o Ljava/lang/Object;
3 5 2 other Lorg/bouncycastle/jce/provider/JCEECPublicKey;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetQ:()Lorg/bouncycastle/math/ec/ECPoint;
invokevirtual org.bouncycastle.math.ec.ECPoint.hashCode:()I
aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.engineGetSpec:()Lorg/bouncycastle/jce/spec/ECParameterSpec;
invokevirtual org.bouncycastle.jce.spec.ECParameterSpec.hashCode:()I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast byte[]
astore 2
start local 2 1: aload 0
aload 2
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.populateFromPubKeyInfo:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
2: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.String
putfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readBoolean:()Z
putfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 5 1 in Ljava/io/ObjectInputStream;
1 5 2 enc [B
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.bouncycastle.jce.provider.JCEECPublicKey.getEncoded:()[B
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: aload 1
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.algorithm:Ljava/lang/String;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
2: aload 1
aload 0
getfield org.bouncycastle.jce.provider.JCEECPublicKey.withCompression:Z
invokevirtual java.io.ObjectOutputStream.writeBoolean:(Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JCEECPublicKey;
0 4 1 out Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "JCEECPublicKey.java"
InnerClasses:
public F2m = org.bouncycastle.math.ec.ECPoint$F2m of org.bouncycastle.math.ec.ECPoint
public Fp = org.bouncycastle.math.ec.ECPoint$Fp of org.bouncycastle.math.ec.ECPoint