Package org.bouncycastle.crypto.io
Class SignerOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.bouncycastle.crypto.io.SignerOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class SignerOutputStream extends OutputStream
-
-
Constructor Summary
Constructors Constructor Description SignerOutputStream(Signer Signer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Signer
getSigner()
void
write(byte[] b, int off, int len)
void
write(int b)
-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
-
-
-
Field Detail
-
signer
protected Signer signer
-
-
Constructor Detail
-
SignerOutputStream
public SignerOutputStream(Signer Signer)
-
-
Method Detail
-
write
public void write(int b) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
getSigner
public Signer getSigner()
-
-