Constructor and Description |
---|
DSAKeyInfo(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g,
java.math.BigInteger x,
java.math.BigInteger y)
Creates a new DSAKeyInfo object.
|
Modifier and Type | Method and Description |
---|---|
static DSAKeyInfo |
getDSAKeyInfo(SimpleASNReader asn) |
java.math.BigInteger |
getG() |
java.math.BigInteger |
getP() |
java.security.spec.KeySpec |
getPrivateKeySpec() |
java.security.spec.KeySpec |
getPublicKeySpec() |
java.math.BigInteger |
getQ() |
java.math.BigInteger |
getX() |
java.math.BigInteger |
getY() |
static void |
writeDSAKeyInfo(SimpleASNWriter asn,
DSAKeyInfo keyInfo) |
public DSAKeyInfo(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g, java.math.BigInteger x, java.math.BigInteger y)
p
- q
- g
- x
- y
- public java.math.BigInteger getG()
public java.math.BigInteger getP()
public java.math.BigInteger getQ()
public java.math.BigInteger getX()
public java.math.BigInteger getY()
public java.security.spec.KeySpec getPrivateKeySpec()
getPrivateKeySpec
in interface KeyInfo
public java.security.spec.KeySpec getPublicKeySpec()
getPublicKeySpec
in interface KeyInfo
public static DSAKeyInfo getDSAKeyInfo(SimpleASNReader asn) throws java.io.IOException
asn
- java.io.IOException
public static void writeDSAKeyInfo(SimpleASNWriter asn, DSAKeyInfo keyInfo)
asn
- keyInfo
- Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.