org.bouncycastle.bcpg
public class DSAPublicBCPGKey extends BCPGObject implements BCPGKey
| Constructor Summary | |
|---|---|
| DSAPublicBCPGKey(BCPGInputStream in) | |
| DSAPublicBCPGKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y) | |
| Method Summary | |
|---|---|
| void | encode(BCPGOutputStream out) |
| byte[] | getEncoded()
return the standard PGP encoding of the key.
|
| String | getFormat()
return "PGP"
|
| BigInteger | getG() |
| BigInteger | getP() |
| BigInteger | getQ() |
| BigInteger | getY() |
Parameters: in the stream to read the packet from.
See Also: getEncoded
See Also: getFormat
Returns: g
Returns: p
Returns: q
Returns: g