Here are the examples of the java api class com.google.bitcoin.bouncycastle.crypto.params.ECDomainParameters taken from open source projects.
1. ECDHCBasicAgreement#calculateAgreement()
Project: bitcoin-android
File: ECDHCBasicAgreement.java
File: ECDHCBasicAgreement.java
public BigInteger calculateAgreement(CipherParameters pubKey) { ECPublicKeyParameters pub = (ECPublicKeyParameters) pubKey; ECDomainParameters params = pub.getParameters(); ECPoint P = pub.getQ().multiply(params.getH().multiply(key.getD())); return P.getX().toBigInteger(); }