Example usage for org.bouncycastle.crypto.params ElGamalPublicKeyParameters getY

List of usage examples for org.bouncycastle.crypto.params ElGamalPublicKeyParameters getY

Introduction

In this page you can find the example usage for org.bouncycastle.crypto.params ElGamalPublicKeyParameters getY.

Prototype

public BigInteger getY() 

Source Link

Usage

From source file:ElGamalPublicPGKey.java

License:Open Source License

public ElGamalPublicPGKey(ElGamalPublicKeyParameters params) {
    this.y = params.getY();
    this.elSpec = new ElGamalParameterSpec(params.getParameters().getP(), params.getParameters().getG());
}