Package org.apache.jcp.xml.dsig.internal
Class MacOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- org.apache.jcp.xml.dsig.internal.MacOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class MacOutputStream extends java.io.ByteArrayOutputStream
Derived from Apache sources and changed to use Mac objects instead of org.apache.xml.security.algorithms.SignatureAlgorithm objects.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.crypto.Mac
mac
-
Constructor Summary
Constructors Constructor Description MacOutputStream(javax.crypto.Mac mac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] arg0, int arg1, int arg2)
void
write(int arg0)
-