public class MacOutputStream
extends java.io.OutputStream
Modifier and Type | Field and Description |
---|---|
protected javax.crypto.Mac |
mac |
Constructor and Description |
---|
MacOutputStream(javax.crypto.Mac mac) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getMac() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public byte[] getMac()