Package com.trilead.ssh2.signature
Class RSASHA1Verify
java.lang.Object
com.trilead.ssh2.signature.RSASHA1Verify
RSASHA1Verify.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RSAPublicKey
decodeSSHRSAPublicKey
(byte[] key) static RSASignature
decodeSSHRSASignature
(byte[] sig) static byte[]
static byte[]
static RSASignature
generateSignature
(byte[] message, RSAPrivateKey pk) static boolean
verifySignature
(byte[] message, RSASignature ds, RSAPublicKey dpk)
-
Constructor Details
-
RSASHA1Verify
public RSASHA1Verify()
-
-
Method Details
-
decodeSSHRSAPublicKey
- Throws:
IOException
-
encodeSSHRSAPublicKey
- Throws:
IOException
-
decodeSSHRSASignature
- Throws:
IOException
-
encodeSSHRSASignature
- Throws:
IOException
-
generateSignature
- Throws:
IOException
-
verifySignature
public static boolean verifySignature(byte[] message, RSASignature ds, RSAPublicKey dpk) throws IOException - Throws:
IOException
-