Class RSAKeyAlgorithm
java.lang.Object
com.trilead.ssh2.signature.KeyAlgorithm<RSAPublicKey, RSAPrivateKey>
com.trilead.ssh2.signature.RSAKeyAlgorithm
- Author:
- Michael Clarke
-
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 KeyAlgorithm
generateSignature, getKeyFormat, supportsKey, verifySignature
-
Constructor Details
-
RSAKeyAlgorithm
public RSAKeyAlgorithm() -
RSAKeyAlgorithm
-
-
Method Details
-
encodeSignature
- Specified by:
encodeSignaturein classKeyAlgorithm<RSAPublicKey, RSAPrivateKey>- Throws:
IOException
-
decodeSignature
- Specified by:
decodeSignaturein classKeyAlgorithm<RSAPublicKey, RSAPrivateKey>- Throws:
IOException
-
encodePublicKey
- Specified by:
encodePublicKeyin classKeyAlgorithm<RSAPublicKey, RSAPrivateKey>- Throws:
IOException
-
decodePublicKey
- Specified by:
decodePublicKeyin classKeyAlgorithm<RSAPublicKey, RSAPrivateKey>- Throws:
IOException
-
getCertificateDecoders
- Specified by:
getCertificateDecodersin classKeyAlgorithm<RSAPublicKey, RSAPrivateKey>
-