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.IOException
public static byte[] encodeSSHRSAPublicKey(RSAPublicKey pk) throws java.io.IOException
java.io.IOException
public static RSASignature decodeSSHRSASignature(byte[] sig) throws java.io.IOException
java.io.IOException
public static byte[] encodeSSHRSASignature(RSASignature sig) throws java.io.IOException
java.io.IOException
public static RSASignature generateSignature(byte[] message, RSAPrivateKey pk) throws java.io.IOException
java.io.IOException
public static boolean verifySignature(byte[] message, RSASignature ds, RSAPublicKey dpk) throws java.io.IOException
java.io.IOException
Copyright © 2013. All Rights Reserved.