public class DSAPublicBCPGKey extends BCPGObject implements BCPGKey
| Constructor and Description |
|---|
DSAPublicBCPGKey(BCPGInputStream in) |
DSAPublicBCPGKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public DSAPublicBCPGKey(BCPGInputStream in) throws IOException
in - the stream to read the packet from.IOExceptionpublic DSAPublicBCPGKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y)
public String getFormat()
getFormat in interface BCPGKeyBCPGKey.getFormat()public byte[] getEncoded()
getEncoded in interface BCPGKeygetEncoded in class BCPGObjectBCPGKey.getEncoded()public void encode(BCPGOutputStream out) throws IOException
encode in class BCPGObjectIOExceptionpublic BigInteger getG()
public BigInteger getP()
public BigInteger getQ()
public BigInteger getY()