org.apache.xml.security.stax.impl.util
Class SignerOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.apache.xml.security.stax.impl.util.SignerOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class SignerOutputStream
extends OutputStream

Version:
$Revision: 1459726 $ $Date: 2013-03-22 11:25:01 +0000 (Fri, 22 Mar 2013) $
Author:
$Author: coheigea $

Field Summary
protected static boolean isDebugEnabled
           
protected static org.slf4j.Logger log
           
 
Constructor Summary
SignerOutputStream(SignatureAlgorithm signatureAlgorithm)
           
 
Method Summary
 byte[] sign()
           
 boolean verify(byte[] signatureValue)
           
 void write(byte[] arg0)
           
 void write(byte[] arg0, int arg1, int arg2)
           
 void write(int arg0)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final transient org.slf4j.Logger log

isDebugEnabled

protected static final transient boolean isDebugEnabled
Constructor Detail

SignerOutputStream

public SignerOutputStream(SignatureAlgorithm signatureAlgorithm)
Method Detail

write

public void write(byte[] arg0)
Overrides:
write in class OutputStream

write

public void write(int arg0)
Specified by:
write in class OutputStream

write

public void write(byte[] arg0,
                  int arg1,
                  int arg2)
Overrides:
write in class OutputStream

verify

public boolean verify(byte[] signatureValue)
               throws XMLSecurityException
Throws:
XMLSecurityException

sign

public byte[] sign()
            throws XMLSecurityException
Throws:
XMLSecurityException


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.