public class DSASecretBCPGKey extends BCPGObject implements BCPGKey
| Constructor and Description |
|---|
DSASecretBCPGKey(BCPGInputStream in) |
DSASecretBCPGKey(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 DSASecretBCPGKey(BCPGInputStream in) throws IOException
in - IOExceptionpublic DSASecretBCPGKey(BigInteger x)
x - 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 getX()