APIdia Launch Partner
Top Description Fields Constructors Methods
org.jcp.xml.dsig.internal

public Class MacOutputStream

extends ByteArrayOutputStream
Class Inheritance
Imports
java.io.ByteArrayOutputStream, javax.crypto.Mac

Derived from Apache sources and changed to use Mac objects instead of com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm objects.

Field Summary

Modifier and TypeField and Description
private final Mac
Inherited from java.io.ByteArrayOutputStream:
bufcount

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
write(int arg0)

Overrides java.io.ByteArrayOutputStream.write.

Writes the specified byte to this ByteArrayOutputStream.

public void
write(byte[] arg0, int arg1, int arg2)

Overrides java.io.ByteArrayOutputStream.write.

Writes len bytes from the specified byte array starting at offset off to this ByteArrayOutputStream.

Inherited from java.io.ByteArrayOutputStream:
closeresetsizetoByteArraytoStringtoStringtoStringtoStringwriteByteswriteTo

Field Detail

macback to summary
private final Mac mac

Constructor Detail

MacOutputStreamback to summary
public MacOutputStream(Mac mac)

Method Detail

writeback to summary
public void write(int arg0)

Overrides java.io.ByteArrayOutputStream.write.

Doc from java.io.ByteArrayOutputStream.write.

Writes the specified byte to this ByteArrayOutputStream.

Annotations
@Override
writeback to summary
public void write(byte[] arg0, int arg1, int arg2)

Overrides java.io.ByteArrayOutputStream.write.

Doc from java.io.ByteArrayOutputStream.write.

Writes len bytes from the specified byte array starting at offset off to this ByteArrayOutputStream.

Annotations
@Override