com.sshtools.jce
Class SshRsaPrivateKey

java.lang.Object
  extended bycom.sshtools.jce.SshRsaPrivateKey
All Implemented Interfaces:
SshPrivateKey

public class SshRsaPrivateKey
extends java.lang.Object
implements SshPrivateKey


Field Summary
protected  java.security.interfaces.RSAPrivateKey prv
           
 
Constructor Summary
SshRsaPrivateKey(java.security.interfaces.RSAPrivateKey prv)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] sign(byte[] data)
          Create a signature from the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prv

protected java.security.interfaces.RSAPrivateKey prv
Constructor Detail

SshRsaPrivateKey

public SshRsaPrivateKey(java.security.interfaces.RSAPrivateKey prv)
Method Detail

sign

public byte[] sign(byte[] data)
            throws java.io.IOException
Description copied from interface: SshPrivateKey
Create a signature from the data.

Specified by:
sign in interface SshPrivateKey
Parameters:
data -
Returns:
Throws:
java.io.IOException

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface SshPrivateKey


Copyright © 2003 3SP LTD. All Rights Reserved.