public class DSASecretBCPGKey extends BCPGObject implements BCPGKey
| Constructor and Description |
|---|
DSASecretBCPGKey(BCPGInputStream in) |
DSASecretBCPGKey(java.math.BigInteger x) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(BCPGOutputStream out) |
byte[] |
getEncoded()
return the standard PGP encoding of the key.
|
java.lang.String |
getFormat()
return "PGP"
|
java.math.BigInteger |
getX() |
public DSASecretBCPGKey(BCPGInputStream in) throws java.io.IOException
in - java.io.IOExceptionpublic DSASecretBCPGKey(java.math.BigInteger x)
x - public java.lang.String getFormat()
getFormat in interface BCPGKeyBCPGKey.getFormat()public byte[] getEncoded()
getEncoded in interface BCPGKeygetEncoded in interface org.bouncycastle.util.EncodablegetEncoded in class BCPGObjectBCPGKey.getEncoded()public void encode(BCPGOutputStream out) throws java.io.IOException
encode in class BCPGObjectjava.io.IOExceptionpublic java.math.BigInteger getX()