public static final class RsaSsaPssParams.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<RsaSsaPssParams,RsaSsaPssParams.Builder> implements RsaSsaPssParamsOrBuilder
google.crypto.tink.RsaSsaPssParams| Modifier and Type | Method and Description |
|---|---|
RsaSsaPssParams.Builder |
clearMgf1Hash()
Hash function used in MGF1 (a mask generation function based on a
hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1).
|
RsaSsaPssParams.Builder |
clearSaltLength()
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
|
RsaSsaPssParams.Builder |
clearSigHash()
Hash function used in computing hash of the signing message
(see https://tools.ietf.org/html/rfc8017#section-9.1.1).
|
HashType |
getMgf1Hash()
Hash function used in MGF1 (a mask generation function based on a
hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1).
|
int |
getMgf1HashValue()
Hash function used in MGF1 (a mask generation function based on a
hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1).
|
int |
getSaltLength()
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
|
HashType |
getSigHash()
Hash function used in computing hash of the signing message
(see https://tools.ietf.org/html/rfc8017#section-9.1.1).
|
int |
getSigHashValue()
Hash function used in computing hash of the signing message
(see https://tools.ietf.org/html/rfc8017#section-9.1.1).
|
RsaSsaPssParams.Builder |
setMgf1Hash(HashType value)
Hash function used in MGF1 (a mask generation function based on a
hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1).
|
RsaSsaPssParams.Builder |
setMgf1HashValue(int value)
Hash function used in MGF1 (a mask generation function based on a
hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1).
|
RsaSsaPssParams.Builder |
setSaltLength(int value)
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
|
RsaSsaPssParams.Builder |
setSigHash(HashType value)
Hash function used in computing hash of the signing message
(see https://tools.ietf.org/html/rfc8017#section-9.1.1).
|
RsaSsaPssParams.Builder |
setSigHashValue(int value)
Hash function used in computing hash of the signing message
(see https://tools.ietf.org/html/rfc8017#section-9.1.1).
|
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 getSigHashValue()
Hash function used in computing hash of the signing message (see https://tools.ietf.org/html/rfc8017#section-9.1.1). Required.
.google.crypto.tink.HashType sig_hash = 1;getSigHashValue in interface RsaSsaPssParamsOrBuilderpublic RsaSsaPssParams.Builder setSigHashValue(int value)
Hash function used in computing hash of the signing message (see https://tools.ietf.org/html/rfc8017#section-9.1.1). Required.
.google.crypto.tink.HashType sig_hash = 1;value - The sigHash to set.public HashType getSigHash()
Hash function used in computing hash of the signing message (see https://tools.ietf.org/html/rfc8017#section-9.1.1). Required.
.google.crypto.tink.HashType sig_hash = 1;getSigHash in interface RsaSsaPssParamsOrBuilderpublic RsaSsaPssParams.Builder setSigHash(HashType value)
Hash function used in computing hash of the signing message (see https://tools.ietf.org/html/rfc8017#section-9.1.1). Required.
.google.crypto.tink.HashType sig_hash = 1;value - The enum numeric value on the wire for sigHash to set.public RsaSsaPssParams.Builder clearSigHash()
Hash function used in computing hash of the signing message (see https://tools.ietf.org/html/rfc8017#section-9.1.1). Required.
.google.crypto.tink.HashType sig_hash = 1;public int getMgf1HashValue()
Hash function used in MGF1 (a mask generation function based on a hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1). Required.
.google.crypto.tink.HashType mgf1_hash = 2;getMgf1HashValue in interface RsaSsaPssParamsOrBuilderpublic RsaSsaPssParams.Builder setMgf1HashValue(int value)
Hash function used in MGF1 (a mask generation function based on a hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1). Required.
.google.crypto.tink.HashType mgf1_hash = 2;value - The mgf1Hash to set.public HashType getMgf1Hash()
Hash function used in MGF1 (a mask generation function based on a hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1). Required.
.google.crypto.tink.HashType mgf1_hash = 2;getMgf1Hash in interface RsaSsaPssParamsOrBuilderpublic RsaSsaPssParams.Builder setMgf1Hash(HashType value)
Hash function used in MGF1 (a mask generation function based on a hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1). Required.
.google.crypto.tink.HashType mgf1_hash = 2;value - The enum numeric value on the wire for mgf1Hash to set.public RsaSsaPssParams.Builder clearMgf1Hash()
Hash function used in MGF1 (a mask generation function based on a hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1). Required.
.google.crypto.tink.HashType mgf1_hash = 2;public int getSaltLength()
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) Required.
int32 salt_length = 3;getSaltLength in interface RsaSsaPssParamsOrBuilderpublic RsaSsaPssParams.Builder setSaltLength(int value)
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) Required.
int32 salt_length = 3;value - The saltLength to set.public RsaSsaPssParams.Builder clearSaltLength()
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) Required.
int32 salt_length = 3;