Class HmacKey.Builder (2.8.1)

public static class HmacKey.Builder

Builder for HmacKey objects. *

Inheritance

java.lang.Object > HmacKey.Builder

Methods

build()

public HmacKey build()

Creates an HmacKey object from this builder. *

Returns
Type Description
HmacKey

setMetadata(HmacKey.HmacKeyMetadata metadata)

public HmacKey.Builder setMetadata(HmacKey.HmacKeyMetadata metadata)
Parameter
Name Description
metadata HmacKey.HmacKeyMetadata
Returns
Type Description
HmacKey.Builder

setSecretKey(String secretKey)

public HmacKey.Builder setSecretKey(String secretKey)
Parameter
Name Description
secretKey String
Returns
Type Description
HmacKey.Builder