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 Summary
Constructors Constructor Description CipherPublisher(software.amazon.awssdk.core.async.SdkPublisher<ByteBuffer> wrappedPublisher, Long contentLength, long[] range, String contentRange, int cipherTagLengthBits, CryptographicMaterials materials, byte[] iv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
-
-
-
Constructor Detail
-
CipherPublisher
public CipherPublisher(software.amazon.awssdk.core.async.SdkPublisher<ByteBuffer> wrappedPublisher, Long contentLength, long[] range, String contentRange, int cipherTagLengthBits, CryptographicMaterials materials, byte[] iv)
-
-
Method Detail
-
subscribe
public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
- Specified by:
subscribe
in interfaceorg.reactivestreams.Publisher<ByteBuffer>
-
-