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 Details

  • Method Details

    • onSubscribe

      public void onSubscribe(org.reactivestreams.Subscription subscription)
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<ByteBuffer>
    • onNext

      public void onNext(ByteBuffer byteBuffer)
      Specified by:
      onNext in interface org.reactivestreams.Subscriber<ByteBuffer>
    • onError

      public void onError(Throwable throwable)
      Specified by:
      onError in interface org.reactivestreams.Subscriber<ByteBuffer>
    • onComplete

      public void onComplete()
      Specified by:
      onComplete in interface org.reactivestreams.Subscriber<ByteBuffer>
    • digestBytes

      public CompletableFuture<byte[]> digestBytes()
    • forSha256

      public static DigestComputingSubscriber forSha256()
    • forSha256

      public static DigestComputingSubscriber forSha256(SdkChecksum sdkChecksum)