com.jcraft.jsch.jce.SHA1 Class Reference

Inheritance diagram for com.jcraft.jsch.jce.SHA1:
Inheritance graph
[legend]
Collaboration diagram for com.jcraft.jsch.jce.SHA1:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int getBlockSize ()
 returns the size of the hash which will be produced from input.
void init () throws Exception
 initializes the algorithm for new input data.
void update (byte[] foo, int start, int len) throws Exception
byte[] digest () throws Exception

Package Attributes

MessageDigest md

Detailed Description

Definition at line 36 of file SHA1.java.


Member Function Documentation

byte [] com.jcraft.jsch.jce.SHA1.digest (  )  throws Exception

Definition at line 48 of file SHA1.java.

References com.jcraft.jsch.jce.SHA1.md.

int com.jcraft.jsch.jce.SHA1.getBlockSize (  ) 

returns the size of the hash which will be produced from input.

This usually will be a constant function, like 16 for MD5 and 20 for SHA1.

Returns:
the length of the produced hash, in bytes.
See also:
java.security.MessageDigest.getDigestLength MessageDigest.getDigestLength()

Implements com.jcraft.jsch.HASH.

Definition at line 38 of file SHA1.java.

void com.jcraft.jsch.jce.SHA1.init (  )  throws Exception

initializes the algorithm for new input data.

This will be called before the first call to update.

Implements com.jcraft.jsch.HASH.

Definition at line 39 of file SHA1.java.

References com.jcraft.jsch.jce.SHA1.md.

void com.jcraft.jsch.jce.SHA1.update ( byte[]  foo,
int  start,
int  len 
) throws Exception

Definition at line 45 of file SHA1.java.

References com.jcraft.jsch.jce.SHA1.md.


Member Data Documentation

MessageDigest com.jcraft.jsch.jce.SHA1.md [package]

The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1