Class JweOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.apache.cxf.rs.security.jose.jwe.JweOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class JweOutputStream extends FilterOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected static LoggerLOG-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description JweOutputStream(OutputStream out, Cipher encryptingCipher, AuthenticationTagProducer authTagProducer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalFlush()voidwrite(byte[] b, int off, int len)voidwrite(int value)-
Methods inherited from class java.io.FilterOutputStream
close, flush, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
-
Constructor Detail
-
JweOutputStream
public JweOutputStream(OutputStream out, Cipher encryptingCipher, AuthenticationTagProducer authTagProducer)
-
-
Method Detail
-
write
public void write(int value) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
finalFlush
public void finalFlush() throws IOException- Throws:
IOException
-
-