| Bouncy Castle Cryptography Library 1.39 | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.bouncycastle.bcpg.BCPGObjectorg.bouncycastle.bcpg.DSAPublicBCPGKeyConstructor Summary | |
| |
Method Summary | |
void |
|
byte[] |
|
String |
|
BigInteger |
|
BigInteger |
|
BigInteger |
|
BigInteger |
|
Methods inherited from class org.bouncycastle.bcpg.BCPGObject | |
encode, getEncoded | |
public DSAPublicBCPGKey(BigInteger p,
BigInteger q,
BigInteger g,
BigInteger y)public DSAPublicBCPGKey(BCPGInputStream in) throws IOException
- Parameters:
in- the stream to read the packet from.
public void encode(BCPGOutputStream out) throws IOException
- Overrides:
- encode in interface BCPGObject
public byte[] getEncoded()
return the standard PGP encoding of the key.
- Specified by:
- getEncoded in interface BCPGKey
- Overrides:
- getEncoded in interface BCPGObject
- See Also:
BCPGKey.getEncoded()
public BigInteger getG()
- Returns:
- g
public BigInteger getP()
- Returns:
- p
public BigInteger getQ()
- Returns:
- q
public BigInteger getY()
- Returns:
- g