aQute.libg.cryptography
Class Signer<D extends Digest>

java.lang.Object
  extended by java.io.OutputStream
      extended by aQute.libg.cryptography.Signer<D>
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class Signer<D extends Digest>
extends java.io.OutputStream


Method Summary
 D signature()
           
 void write(byte[] buffer, int offset, int length)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(byte[] buffer,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

signature

public D signature()
                           throws java.lang.Exception
Throws:
java.lang.Exception