public class HMACOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
HMACOutputStream(java.lang.String digest,
byte[] key,
java.io.OutputStream out)
Create the output stream with the indicated key
|
HMACOutputStream(java.lang.String digest,
java.lang.String key,
java.io.OutputStream out)
Create the output stream with the indicated key
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_HMACOutputStream(java.lang.String digest,
byte[] key,
java.io.OutputStream out) |
byte[] |
digest() |
void |
write(byte[] b) |
void |
write(int b) |
public HMACOutputStream(java.lang.String digest,
byte[] key,
java.io.OutputStream out)
digest - the digest namekey - the keyout - the output streampublic HMACOutputStream(java.lang.String digest,
java.lang.String key,
java.io.OutputStream out)
digest - the digest namekey - the keyout - the output streamprotected void _HMACOutputStream(java.lang.String digest,
byte[] key,
java.io.OutputStream out)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic byte[] digest()
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.