public static final class HkdfPrfParams.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<HkdfPrfParams,HkdfPrfParams.Builder> implements HkdfPrfParamsOrBuilder
google.crypto.tink.HkdfPrfParams| Modifier and Type | Method and Description |
|---|---|
HkdfPrfParams.Builder |
clearHash()
.google.crypto.tink.HashType hash = 1; |
HkdfPrfParams.Builder |
clearSalt()
Optional.
|
HashType |
getHash()
.google.crypto.tink.HashType hash = 1; |
int |
getHashValue()
.google.crypto.tink.HashType hash = 1; |
com.google.protobuf.ByteString |
getSalt()
Optional.
|
HkdfPrfParams.Builder |
setHash(HashType value)
.google.crypto.tink.HashType hash = 1; |
HkdfPrfParams.Builder |
setHashValue(int value)
.google.crypto.tink.HashType hash = 1; |
HkdfPrfParams.Builder |
setSalt(com.google.protobuf.ByteString value)
Optional.
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic int getHashValue()
.google.crypto.tink.HashType hash = 1;getHashValue in interface HkdfPrfParamsOrBuilderpublic HkdfPrfParams.Builder setHashValue(int value)
.google.crypto.tink.HashType hash = 1;value - The hash to set.public HashType getHash()
.google.crypto.tink.HashType hash = 1;getHash in interface HkdfPrfParamsOrBuilderpublic HkdfPrfParams.Builder setHash(HashType value)
.google.crypto.tink.HashType hash = 1;value - The enum numeric value on the wire for hash to set.public HkdfPrfParams.Builder clearHash()
.google.crypto.tink.HashType hash = 1;public com.google.protobuf.ByteString getSalt()
Optional. An unspecified or zero-length value is equivalent to a sequence of zeros (0x00) with a length equal to the output size of hash. See https://rfc-editor.org/rfc/rfc5869.
bytes salt = 2;getSalt in interface HkdfPrfParamsOrBuilderpublic HkdfPrfParams.Builder setSalt(com.google.protobuf.ByteString value)
Optional. An unspecified or zero-length value is equivalent to a sequence of zeros (0x00) with a length equal to the output size of hash. See https://rfc-editor.org/rfc/rfc5869.
bytes salt = 2;value - The salt to set.public HkdfPrfParams.Builder clearSalt()
Optional. An unspecified or zero-length value is equivalent to a sequence of zeros (0x00) with a length equal to the output size of hash. See https://rfc-editor.org/rfc/rfc5869.
bytes salt = 2;