Package com.trilead.ssh2.signature
Class RSAKeyAlgorithm
java.lang.Object
com.trilead.ssh2.signature.KeyAlgorithm<RSAPublicKey,RSAPrivateKey>
com.trilead.ssh2.signature.RSAKeyAlgorithm
public class RSAKeyAlgorithm extends KeyAlgorithm<RSAPublicKey,RSAPrivateKey>
- Author:
- Michael Clarke
-
Constructor Summary
Constructors Constructor Description RSAKeyAlgorithm() -
Method Summary
Modifier and Type Method Description RSAPublicKeydecodePublicKey(byte[] encodedPublicKey)byte[]decodeSignature(byte[] encodedSignature)byte[]encodePublicKey(RSAPublicKey publicKey)byte[]encodeSignature(byte[] signature)List<CertificateDecoder>getCertificateDecoders()Methods inherited from class com.trilead.ssh2.signature.KeyAlgorithm
generateSignature, getKeyFormat, supportsKey, verifySignature
-
Constructor Details
-
RSAKeyAlgorithm
public 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>
-