Package org.bouncycastle.operator
Class MacCaptureStream
java.lang.Object
java.io.OutputStream
org.bouncycastle.operator.MacCaptureStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
A generic class for capturing the mac data at the end of a encrypted data stream.
Note: this class will not close the underlying stream.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
Constructor Details
-
MacCaptureStream
-
-
Method Details
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
getMac
public byte[] getMac()
-