Class CipherPublisher
- java.lang.Object
- 
- software.amazon.encryption.s3.internal.CipherPublisher
 
- 
- All Implemented Interfaces:
- org.reactivestreams.Publisher<ByteBuffer>,- software.amazon.awssdk.core.async.SdkPublisher<ByteBuffer>
 
 public class CipherPublisher extends Object implements software.amazon.awssdk.core.async.SdkPublisher<ByteBuffer> A Publisher which encrypts and decrypts data as it passes through using a configured Cipher instance.
- 
- 
Constructor SummaryConstructors Constructor Description CipherPublisher(software.amazon.awssdk.core.async.SdkPublisher<ByteBuffer> wrappedPublisher, Long contentLength, long[] range, String contentRange, int cipherTagLengthBits, CryptographicMaterials materials, byte[] iv)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsubscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
 
- 
- 
- 
Constructor Detail- 
CipherPublisherpublic CipherPublisher(software.amazon.awssdk.core.async.SdkPublisher<ByteBuffer> wrappedPublisher, Long contentLength, long[] range, String contentRange, int cipherTagLengthBits, CryptographicMaterials materials, byte[] iv) 
 
- 
 - 
Method Detail- 
subscribepublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber) - Specified by:
- subscribein interface- org.reactivestreams.Publisher<ByteBuffer>
 
 
- 
 
-