Page MenuHomec4science

KeyPair.java
No OneTemporary

File Metadata

Created
Sun, Jan 5, 05:40

KeyPair.java

package crypto.elgamal;
import org.bouncycastle.math.ec.ECPoint;
public class KeyPair {
private PartialSecret secretMU;
private PartialSecret secretSPU;
private ECPoint pubKey;
public KeyPair(PartialSecret secretMU, PartialSecret secretSPU, ECPoint pubKey) {
this.secretMU = secretMU;
this.secretSPU = secretSPU;
this.pubKey = pubKey;
}
public PartialSecret getSecretMU() {
return secretMU;
}
public PartialSecret getSecretSPU() {
return secretSPU;
}
public ECPoint getPubKey() {
return pubKey;
}
}

Event Timeline