com.sshtools.jce
Class SshDsaPrivateKey

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

public class SshDsaPrivateKey
extends java.lang.Object
implements SshPrivateKey


Field Summary
protected  java.security.interfaces.DSAPrivateKey prv
           
 
Constructor Summary
SshDsaPrivateKey(java.security.interfaces.DSAPrivateKey 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.DSAPrivateKey prv
Constructor Detail

SshDsaPrivateKey

public SshDsaPrivateKey(java.security.interfaces.DSAPrivateKey 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.