Class DigestComputingSubscriber
java.lang.Object
software.amazon.awssdk.auth.signer.internal.DigestComputingSubscriber
- All Implemented Interfaces:
org.reactivestreams.Subscriber<ByteBuffer>
public final class DigestComputingSubscriber
extends Object
implements org.reactivestreams.Subscriber<ByteBuffer>
-
Constructor Summary
ConstructorsConstructorDescriptionDigestComputingSubscriber
(MessageDigest messageDigest, SdkChecksum sdkChecksum) -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture
<byte[]> static DigestComputingSubscriber
static DigestComputingSubscriber
forSha256
(SdkChecksum sdkChecksum) void
void
void
onNext
(ByteBuffer byteBuffer) void
onSubscribe
(org.reactivestreams.Subscription subscription)
-
Constructor Details
-
DigestComputingSubscriber
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribe
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onNext
- Specified by:
onNext
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onError
- Specified by:
onError
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onComplete
public void onComplete()- Specified by:
onComplete
in interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
digestBytes
-
forSha256
-
forSha256
-