API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.jcp.xml.dsig.internal. SignerOutputStream View Source
Author(s)
raul
Sean Mullan
Since
Version
Serial
Hierarchy
 Object
      OutputStream
          ByteArrayOutputStream
              SignerOutputStream
Implements
Subclasses
Description
public class SignerOutputStream
Derived from Apache sources and changed to use java.security.Signature objects as input instead of org.apache.xml.security.algorithms.SignatureAlgorithm objects.
See also:   
Constructors
public SignerOutputStream (Signature sig)
Methods
Hide/Show inherited methods
public void close () throws IOException [Inherited From ByteArrayOutputStream]
  Closing a ByteArrayOutputStream has no effect.
public void flush () throws IOException [Inherited From OutputStream]
  Flushes this output stream and forces any buffered output bytes to be written out.
publicsynchronized void reset () [Inherited From ByteArrayOutputStream]
  Resets the count field of this byte array output stream to zero, so that all currently accumulated output in the output stream is discarded.
publicsynchronized int size () [Inherited From ByteArrayOutputStream]
  Returns the current size of the buffer.
publicsynchronized byte toByteArray () [Inherited From ByteArrayOutputStream]
  Creates a newly allocated byte array.
publicsynchronized String toString () [Inherited From ByteArrayOutputStream]
  Converts the buffer's contents into a string decoding bytes using the platform's default character set.
@Deprecated
publicsynchronized String toString (int hibyte) [Inherited From ByteArrayOutputStream]
  Creates a newly allocated string.
publicsynchronized String toString (String charsetName) throws UnsupportedEncodingException [Inherited From ByteArrayOutputStream]
  Converts the buffer's contents into a string by decoding the bytes using the specified charsetName.
public void write (byte[] arg0) [Overrides OutputStream]
public void write (byte[] arg0, int arg1, int arg2) [Overrides ByteArrayOutputStream]
public void write (int arg0) [Overrides ByteArrayOutputStream] [Specified in OutputStream]
publicsynchronized void writeTo (OutputStream out) throws IOException [Inherited From ByteArrayOutputStream]
  Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using out.write(buf, 0, count).
Fields
protected byte buf [Inherited From ByteArrayOutputStream]
The buffer where data is stored.
protected int count [Inherited From ByteArrayOutputStream]
The number of valid bytes in the buffer.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar