COM.claymoresystems.crypto
Class HMACOutputStream
OutputStreamCOM.claymoresystems.crypto.HMACOutputStream
public class HMACOutputStream
extends OutputStream
A filter stream that MACs the data
HMACOutputStream(String digest, String key, OutputStream out)- Create the output stream with the indicated key
|
HMACOutputStream(String digest, byte[] key, OutputStream out)- Create the output stream with the indicated key
|
HMACOutputStream
public HMACOutputStream(String digest,
String key,
OutputStream out)Create the output stream with the indicated key
digest - the digest namekey - the keyout - the output stream
HMACOutputStream
public HMACOutputStream(String digest,
byte[] key,
OutputStream out)Create the output stream with the indicated key
digest - the digest namekey - the keyout - the output stream
_HMACOutputStream
protected void _HMACOutputStream(String digest,
byte[] key,
OutputStream out)
digest
public byte[] digest()
write
public void write(byte[] b)
throws IOException
write
public void write(int b)
throws IOException
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.