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