Package com.trilead.ssh2.signature
Class DSAKeyAlgorithm
java.lang.Object
com.trilead.ssh2.signature.KeyAlgorithm<DSAPublicKey,DSAPrivateKey>
com.trilead.ssh2.signature.DSAKeyAlgorithm
- Author:
- Michael Clarke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodePublicKey
(byte[] encodedPublicKey) byte[]
decodeSignature
(byte[] encodedSignature) byte[]
encodePublicKey
(DSAPublicKey publicKey) byte[]
encodeSignature
(byte[] signature) Methods inherited from class com.trilead.ssh2.signature.KeyAlgorithm
generateSignature, getKeyFormat, supportsKey, verifySignature
-
Constructor Details
-
DSAKeyAlgorithm
public DSAKeyAlgorithm()
-
-
Method Details
-
encodeSignature
- Specified by:
encodeSignature
in classKeyAlgorithm<DSAPublicKey,
DSAPrivateKey> - Throws:
IOException
-
decodeSignature
- Specified by:
decodeSignature
in classKeyAlgorithm<DSAPublicKey,
DSAPrivateKey> - Throws:
IOException
-
encodePublicKey
- Specified by:
encodePublicKey
in classKeyAlgorithm<DSAPublicKey,
DSAPrivateKey> - Throws:
IOException
-
decodePublicKey
- Specified by:
decodePublicKey
in classKeyAlgorithm<DSAPublicKey,
DSAPrivateKey> - Throws:
IOException
-
getCertificateDecoders
- Specified by:
getCertificateDecoders
in classKeyAlgorithm<DSAPublicKey,
DSAPrivateKey>
-