HmacSha256.Builder

public static class HmacSha256.Builder extends Object

Public Method Summary

HmacSha256
T extends Builder
setKey(byte[] key)
Sets the signer key for the HMAC hash algorithm.

Protected Method Summary

HmacSha256.Builder

Inherited Method Summary

Public Methods

public HmacSha256build()

public T extends Builder setKey(byte[] key)

Sets the signer key for the HMAC hash algorithm. Required field.

Parameters
keySigner key as a byte array.
Returns
  • This builder.

Protected Methods

protected HmacSha256.BuildergetInstance()