Class DigestComputingSubscriber
java.lang.Object
software.amazon.awssdk.auth.signer.internal.DigestComputingSubscriber
- All Implemented Interfaces:
org.reactivestreams.Subscriber<ByteBuffer>
@SdkInternalApi
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 DigestComputingSubscriberstatic DigestComputingSubscriberforSha256(SdkChecksum sdkChecksum) voidvoidvoidonNext(ByteBuffer byteBuffer) voidonSubscribe(org.reactivestreams.Subscription subscription)
-
Constructor Details
-
DigestComputingSubscriber
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription subscription) - Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onNext
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<ByteBuffer>
-
digestBytes
-
forSha256
-
forSha256
-