public class RSASHA1Verify
extends java.lang.Object
| Constructor and Description |
|---|
RSASHA1Verify() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKey |
decodeSSHRSAPublicKey(byte[] key) |
static RSASignature |
decodeSSHRSASignature(byte[] sig) |
static byte[] |
encodeSSHRSAPublicKey(RSAPublicKey pk) |
static byte[] |
encodeSSHRSASignature(RSASignature sig) |
static RSASignature |
generateSignature(byte[] message,
RSAPrivateKey pk) |
static boolean |
verifySignature(byte[] message,
RSASignature ds,
RSAPublicKey dpk) |
public static RSAPublicKey decodeSSHRSAPublicKey(byte[] key) throws java.io.IOException
java.io.IOExceptionpublic static byte[] encodeSSHRSAPublicKey(RSAPublicKey pk) throws java.io.IOException
java.io.IOExceptionpublic static RSASignature decodeSSHRSASignature(byte[] sig) throws java.io.IOException
java.io.IOExceptionpublic static byte[] encodeSSHRSASignature(RSASignature sig) throws java.io.IOException
java.io.IOExceptionpublic static RSASignature generateSignature(byte[] message, RSAPrivateKey pk) throws java.io.IOException
java.io.IOExceptionpublic static boolean verifySignature(byte[] message,
RSASignature ds,
RSAPublicKey dpk)
throws java.io.IOException
java.io.IOException