COM.claymoresystems.crypto
Class HMACInputStream
InputStream
COM.claymoresystems.crypto.HMACInputStream
public class HMACInputStream
extends InputStream
Provides an InputStream filter that MACs the data
HMACInputStream(String digest, String key, InputStream out) - Create the input stream with the indicated key
|
HMACInputStream(String digest, byte[] key, InputStream in) - Create the input stream with the indicated key
|
HMACInputStream
public HMACInputStream(String digest,
String key,
InputStream out)
Create the input stream with the indicated key
digest
- the digest namekey
- the key
HMACInputStream
public HMACInputStream(String digest,
byte[] key,
InputStream in)
Create the input stream with the indicated key
digest
- the digest namekey
- the keyin
- the input stream
_HMACInputStream
protected void _HMACInputStream(String digest,
byte[] key,
InputStream in)
digest
public byte[] digest()
read
public int read()
throws IOException
read
public int read(byte[] b)
throws IOException
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.