public class org.bouncycastle.crypto.agreement.ECDHCBasicAgreement implements org.bouncycastle.crypto.BasicAgreement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.agreement.ECDHCBasicAgreement
super_class: java.lang.Object
{
org.bouncycastle.crypto.params.ECPrivateKeyParameters key;
descriptor: Lorg/bouncycastle/crypto/params/ECPrivateKeyParameters;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.bouncycastle.crypto.agreement.ECDHCBasicAgreement this
0: .line 32
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.crypto.agreement.ECDHCBasicAgreement this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/agreement/ECDHCBasicAgreement;
public void init(org.bouncycastle.crypto.CipherParameters);
descriptor: (Lorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.crypto.agreement.ECDHCBasicAgreement this
start local 1 // org.bouncycastle.crypto.CipherParameters key
0: .line 40
aload 0 /* this */
aload 1 /* key */
checkcast org.bouncycastle.crypto.params.ECPrivateKeyParameters
putfield org.bouncycastle.crypto.agreement.ECDHCBasicAgreement.key:Lorg/bouncycastle/crypto/params/ECPrivateKeyParameters;
1: .line 41
return
end local 1 // org.bouncycastle.crypto.CipherParameters key
end local 0 // org.bouncycastle.crypto.agreement.ECDHCBasicAgreement this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/agreement/ECDHCBasicAgreement;
0 2 1 key Lorg/bouncycastle/crypto/CipherParameters;
MethodParameters:
Name Flags
key
public java.math.BigInteger calculateAgreement(org.bouncycastle.crypto.CipherParameters);
descriptor: (Lorg/bouncycastle/crypto/CipherParameters;)Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 // org.bouncycastle.crypto.agreement.ECDHCBasicAgreement this
start local 1 // org.bouncycastle.crypto.CipherParameters pubKey
0: .line 46
aload 1 /* pubKey */
checkcast org.bouncycastle.crypto.params.ECPublicKeyParameters
astore 2 /* pub */
start local 2 // org.bouncycastle.crypto.params.ECPublicKeyParameters pub
1: .line 47
aload 2 /* pub */
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getParameters:()Lorg/bouncycastle/crypto/params/ECDomainParameters;
astore 3 /* params */
start local 3 // org.bouncycastle.crypto.params.ECDomainParameters params
2: .line 48
aload 2 /* pub */
invokevirtual org.bouncycastle.crypto.params.ECPublicKeyParameters.getQ:()Lorg/bouncycastle/math/ec/ECPoint;
aload 3 /* params */
invokevirtual org.bouncycastle.crypto.params.ECDomainParameters.getH:()Ljava/math/BigInteger;
aload 0 /* this */
getfield org.bouncycastle.crypto.agreement.ECDHCBasicAgreement.key:Lorg/bouncycastle/crypto/params/ECPrivateKeyParameters;
invokevirtual org.bouncycastle.crypto.params.ECPrivateKeyParameters.getD:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
invokevirtual org.bouncycastle.math.ec.ECPoint.multiply:(Ljava/math/BigInteger;)Lorg/bouncycastle/math/ec/ECPoint;
astore 4 /* P */
start local 4 // org.bouncycastle.math.ec.ECPoint P
3: .line 52
aload 4 /* P */
invokevirtual org.bouncycastle.math.ec.ECPoint.getX:()Lorg/bouncycastle/math/ec/ECFieldElement;
invokevirtual org.bouncycastle.math.ec.ECFieldElement.toBigInteger:()Ljava/math/BigInteger;
areturn
end local 4 // org.bouncycastle.math.ec.ECPoint P
end local 3 // org.bouncycastle.crypto.params.ECDomainParameters params
end local 2 // org.bouncycastle.crypto.params.ECPublicKeyParameters pub
end local 1 // org.bouncycastle.crypto.CipherParameters pubKey
end local 0 // org.bouncycastle.crypto.agreement.ECDHCBasicAgreement this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/agreement/ECDHCBasicAgreement;
0 4 1 pubKey Lorg/bouncycastle/crypto/CipherParameters;
1 4 2 pub Lorg/bouncycastle/crypto/params/ECPublicKeyParameters;
2 4 3 params Lorg/bouncycastle/crypto/params/ECDomainParameters;
3 4 4 P Lorg/bouncycastle/math/ec/ECPoint;
MethodParameters:
Name Flags
pubKey
}
SourceFile: "ECDHCBasicAgreement.java"