public class DSAPrivateKey extends CryptoKey
| Modifier | Constructor and Description |
|---|---|
protected |
DSAPrivateKey() |
|
DSAPrivateKey(java.math.BigInteger x,
DSAGroup g) |
|
DSAPrivateKey(DSAGroup g,
java.util.Random r) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBytes() |
SimpleFieldSet |
asFieldSet() |
static DSAPrivateKey |
create(SimpleFieldSet fs,
DSAGroup group) |
byte[] |
fingerprint() |
java.math.BigInteger |
getX() |
java.lang.String |
keyType() |
static CryptoKey |
read(java.io.InputStream i,
DSAGroup g) |
java.lang.String |
toLongString() |
fingerprint, fingerprintToString, main, read, toString, verboseToStringpublic DSAPrivateKey(java.math.BigInteger x,
DSAGroup g)
public DSAPrivateKey(DSAGroup g, java.util.Random r)
protected DSAPrivateKey()
public java.math.BigInteger getX()
public static CryptoKey read(java.io.InputStream i, DSAGroup g) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toLongString()
public byte[] fingerprint()
fingerprint in class CryptoKeypublic SimpleFieldSet asFieldSet()
public static DSAPrivateKey create(SimpleFieldSet fs, DSAGroup group) throws IllegalBase64Exception
IllegalBase64Exception