public class ElGamalSecretBCPGKey extends BCPGObject implements BCPGKey
| Constructor and Description |
|---|
ElGamalSecretBCPGKey(BCPGInputStream in) |
ElGamalSecretBCPGKey(BigInteger x) |
| 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 |
getX() |
public ElGamalSecretBCPGKey(BCPGInputStream in) throws IOException
in - IOExceptionpublic ElGamalSecretBCPGKey(BigInteger x)
x - public String getFormat()
getFormat in interface BCPGKeyBCPGKey.getFormat()public BigInteger getX()
public byte[] getEncoded()
getEncoded in interface BCPGKeygetEncoded in class BCPGObjectBCPGKey.getEncoded()public void encode(BCPGOutputStream out) throws IOException
encode in class BCPGObjectIOException