Class HmacKey.Builder (2.22.3)

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
TypeDescription
HmacKey

setMetadata(HmacKey.HmacKeyMetadata metadata)

public HmacKey.Builder setMetadata(HmacKey.HmacKeyMetadata metadata)
Parameter
NameDescription
metadataHmacKey.HmacKeyMetadata
Returns
TypeDescription
HmacKey.Builder

setSecretKey(String secretKey)

public HmacKey.Builder setSecretKey(String secretKey)
Parameter
NameDescription
secretKeyString
Returns
TypeDescription
HmacKey.Builder