public interface SshDsaPrivateKey extends SshPrivateKey
| Modifier and Type | Method and Description |
|---|---|
java.security.interfaces.DSAPrivateKey |
getJCEPrivateKey() |
SshDsaPublicKey |
getPublicKey() |
java.math.BigInteger |
getX() |
byte[] |
sign(byte[] msg)
Create a signature from the data.
|
getAlgorithm, signjava.math.BigInteger getX()
byte[] sign(byte[] msg)
throws java.io.IOException
SshPrivateKeysign in interface SshPrivateKeyjava.io.IOExceptionjava.security.interfaces.DSAPrivateKey getJCEPrivateKey()
getJCEPrivateKey in interface SshPrivateKeySshDsaPublicKey getPublicKey()
Copyright © 2022. All rights reserved.