public class

RSASHA1Verify

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.signature.RSASHA1Verify

Class Overview

RSASHA1Verify.

Summary

Fields
private static final Logger log
Public Constructors
RSASHA1Verify()
Public Methods
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)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private static final Logger log

Public Constructors

public RSASHA1Verify ()

Public Methods

public static RSAPublicKey decodeSSHRSAPublicKey (byte[] key)

Parameters
key
Throws
IOException

public static RSASignature decodeSSHRSASignature (byte[] sig)

Parameters
sig
Throws
IOException

public static byte[] encodeSSHRSAPublicKey (RSAPublicKey pk)

Parameters
pk
Throws
IOException

public static byte[] encodeSSHRSASignature (RSASignature sig)

Parameters
sig
Throws
IOException

public static RSASignature generateSignature (byte[] message, RSAPrivateKey pk)

Parameters
message
pk
Throws
IOException

public static boolean verifySignature (byte[] message, RSASignature ds, RSAPublicKey dpk)

Parameters
message
ds
dpk
Throws
IOException