| java.lang.Object |
| ↳ |
net.schmizz.sshj.transport.digest.BaseDigest |
Known Direct Subclasses
|
Class Overview
Base class for Digest algorithms based on the JCE provider.
Summary
| Fields |
|
private
final
String |
algorithm |
|
|
private
final
int |
bsize |
|
|
private
MessageDigest |
md |
|
| Public Constructors |
|
|
BaseDigest(String algorithm, int bsize)
Create a new digest using the given algorithm and block size.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
net.schmizz.sshj.transport.digest.Digest
|
Fields
private
final
String
algorithm
Public Constructors
public
BaseDigest
(String algorithm, int bsize)
Create a new digest using the given algorithm and block size. The initialization and creation of the underlying
MessageDigest object will be done in the init() method.
Parameters
| algorithm
| The JCE algorithm to use for this digest |
| bsize
| The block size of this digest
|
Public Methods
public
int
getBlockSize
()
public
void
update
(byte[] foo, int start, int len)
public
void
update
(byte[] foo)