Package com.sshtools.j2ssh.openssh
Class DSAKeyInfo
java.lang.Object
com.sshtools.j2ssh.openssh.DSAKeyInfo
- All Implemented Interfaces:
KeyInfo
- Version:
- $Revision: 1.12 $
- Author:
- $author$
-
Constructor Summary
ConstructorsConstructorDescriptionDSAKeyInfo
(BigInteger p, BigInteger q, BigInteger g, BigInteger x, BigInteger y) Creates a new DSAKeyInfo object. -
Method Summary
Modifier and TypeMethodDescriptionstatic DSAKeyInfo
getG()
getP()
getQ()
getX()
getY()
static void
writeDSAKeyInfo
(SimpleASNWriter asn, DSAKeyInfo keyInfo)
-
Constructor Details
-
DSAKeyInfo
Creates a new DSAKeyInfo object.- Parameters:
p
-q
-g
-x
-y
-
-
-
Method Details
-
getG
- Returns:
-
getP
- Returns:
-
getQ
- Returns:
-
getX
- Returns:
-
getY
- Returns:
-
getPrivateKeySpec
- Specified by:
getPrivateKeySpec
in interfaceKeyInfo
- Returns:
-
getPublicKeySpec
- Specified by:
getPublicKeySpec
in interfaceKeyInfo
- Returns:
-
getDSAKeyInfo
- Parameters:
asn
-- Returns:
- Throws:
IOException
-
writeDSAKeyInfo
- Parameters:
asn
-keyInfo
-
-