org.jcp.xml.dsig.internal
Class SignerOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.jcp.xml.dsig.internal.SignerOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class SignerOutputStream
- extends java.io.ByteArrayOutputStream
Derived from Apache sources and changed to use java.security.Signature
objects as input instead of org.apache.xml.security.algorithms.SignatureAlgorithm
objects.
- Author:
- raul, Sean Mullan
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
Method Summary |
void |
write(byte[] arg0)
|
void |
write(byte[] arg0,
int arg1,
int arg2)
|
void |
write(int arg0)
|
Methods inherited from class java.io.ByteArrayOutputStream |
close, reset, size, toByteArray, toString, toString, toString, writeTo |
Methods inherited from class java.io.OutputStream |
flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SignerOutputStream
public SignerOutputStream(java.security.Signature sig)
write
public void write(byte[] arg0)
- Overrides:
write
in class java.io.OutputStream
write
public void write(int arg0)
- Overrides:
write
in class java.io.ByteArrayOutputStream
write
public void write(byte[] arg0,
int arg1,
int arg2)
- Overrides:
write
in class java.io.ByteArrayOutputStream
Copyright © 2000-2014 The Apache Software Foundation. All Rights Reserved.