public class HMACInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
HMACInputStream(java.lang.String digest,
byte[] key,
java.io.InputStream in)
Create the input stream with the indicated key
|
HMACInputStream(java.lang.String digest,
java.lang.String key,
java.io.InputStream out)
Create the input stream with the indicated key
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_HMACInputStream(java.lang.String digest,
byte[] key,
java.io.InputStream in) |
byte[] |
digest() |
int |
read() |
int |
read(byte[] b) |
public HMACInputStream(java.lang.String digest,
byte[] key,
java.io.InputStream in)
digest - the digest namekey - the keyin - the input streampublic HMACInputStream(java.lang.String digest,
java.lang.String key,
java.io.InputStream out)
digest - the digest namekey - the keyin - the input streamprotected void _HMACInputStream(java.lang.String digest,
byte[] key,
java.io.InputStream in)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic byte[] digest()
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.