// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: proto/rsa_ssa_pss.proto

package com.google.crypto.tink.proto;

Protobuf type google.crypto.tink.RsaSsaPssParams
/** * Protobuf type {@code google.crypto.tink.RsaSsaPssParams} */
public final class RsaSsaPssParams extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.crypto.tink.RsaSsaPssParams) RsaSsaPssParamsOrBuilder { private static final long serialVersionUID = 0L; // Use RsaSsaPssParams.newBuilder() to construct. private RsaSsaPssParams(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { super(builder); } private RsaSsaPssParams() { sigHash_ = 0; mgf1Hash_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RsaSsaPssParams(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RsaSsaPssParams( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); sigHash_ = rawValue; break; } case 16: { int rawValue = input.readEnum(); mgf1Hash_ = rawValue; break; } case 24: { saltLength_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.crypto.tink.proto.RsaSsaPss.internal_static_google_crypto_tink_RsaSsaPssParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.crypto.tink.proto.RsaSsaPss.internal_static_google_crypto_tink_RsaSsaPssParams_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.crypto.tink.proto.RsaSsaPssParams.class, com.google.crypto.tink.proto.RsaSsaPssParams.Builder.class); } public static final int SIG_HASH_FIELD_NUMBER = 1; private int sigHash_;
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;
Returns:The enum numeric value on the wire for sigHash.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @return The enum numeric value on the wire for sigHash. */
public int getSigHashValue() { return sigHash_; }
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;
Returns:The sigHash.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @return The sigHash. */
public com.google.crypto.tink.proto.HashType getSigHash() { @SuppressWarnings("deprecation") com.google.crypto.tink.proto.HashType result = com.google.crypto.tink.proto.HashType.valueOf(sigHash_); return result == null ? com.google.crypto.tink.proto.HashType.UNRECOGNIZED : result; } public static final int MGF1_HASH_FIELD_NUMBER = 2; private int mgf1Hash_;
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;
Returns:The enum numeric value on the wire for mgf1Hash.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @return The enum numeric value on the wire for mgf1Hash. */
public int getMgf1HashValue() { return mgf1Hash_; }
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;
Returns:The mgf1Hash.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @return The mgf1Hash. */
public com.google.crypto.tink.proto.HashType getMgf1Hash() { @SuppressWarnings("deprecation") com.google.crypto.tink.proto.HashType result = com.google.crypto.tink.proto.HashType.valueOf(mgf1Hash_); return result == null ? com.google.crypto.tink.proto.HashType.UNRECOGNIZED : result; } public static final int SALT_LENGTH_FIELD_NUMBER = 3; private int saltLength_;
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
int32 salt_length = 3;
Returns:The saltLength.
/** * <pre> * Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) * Required. * </pre> * * <code>int32 salt_length = 3;</code> * @return The saltLength. */
public int getSaltLength() { return saltLength_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sigHash_ != com.google.crypto.tink.proto.HashType.UNKNOWN_HASH.getNumber()) { output.writeEnum(1, sigHash_); } if (mgf1Hash_ != com.google.crypto.tink.proto.HashType.UNKNOWN_HASH.getNumber()) { output.writeEnum(2, mgf1Hash_); } if (saltLength_ != 0) { output.writeInt32(3, saltLength_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sigHash_ != com.google.crypto.tink.proto.HashType.UNKNOWN_HASH.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, sigHash_); } if (mgf1Hash_ != com.google.crypto.tink.proto.HashType.UNKNOWN_HASH.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, mgf1Hash_); } if (saltLength_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, saltLength_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.crypto.tink.proto.RsaSsaPssParams)) { return super.equals(obj); } com.google.crypto.tink.proto.RsaSsaPssParams other = (com.google.crypto.tink.proto.RsaSsaPssParams) obj; if (sigHash_ != other.sigHash_) return false; if (mgf1Hash_ != other.mgf1Hash_) return false; if (getSaltLength() != other.getSaltLength()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIG_HASH_FIELD_NUMBER; hash = (53 * hash) + sigHash_; hash = (37 * hash) + MGF1_HASH_FIELD_NUMBER; hash = (53 * hash) + mgf1Hash_; hash = (37 * hash) + SALT_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getSaltLength(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.crypto.tink.proto.RsaSsaPssParams parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.crypto.tink.proto.RsaSsaPssParams prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; }
Protobuf type google.crypto.tink.RsaSsaPssParams
/** * Protobuf type {@code google.crypto.tink.RsaSsaPssParams} */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:google.crypto.tink.RsaSsaPssParams) com.google.crypto.tink.proto.RsaSsaPssParamsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.crypto.tink.proto.RsaSsaPss.internal_static_google_crypto_tink_RsaSsaPssParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.crypto.tink.proto.RsaSsaPss.internal_static_google_crypto_tink_RsaSsaPssParams_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.crypto.tink.proto.RsaSsaPssParams.class, com.google.crypto.tink.proto.RsaSsaPssParams.Builder.class); } // Construct using com.google.crypto.tink.proto.RsaSsaPssParams.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); sigHash_ = 0; mgf1Hash_ = 0; saltLength_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.crypto.tink.proto.RsaSsaPss.internal_static_google_crypto_tink_RsaSsaPssParams_descriptor; } @java.lang.Override public com.google.crypto.tink.proto.RsaSsaPssParams getDefaultInstanceForType() { return com.google.crypto.tink.proto.RsaSsaPssParams.getDefaultInstance(); } @java.lang.Override public com.google.crypto.tink.proto.RsaSsaPssParams build() { com.google.crypto.tink.proto.RsaSsaPssParams result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.crypto.tink.proto.RsaSsaPssParams buildPartial() { com.google.crypto.tink.proto.RsaSsaPssParams result = new com.google.crypto.tink.proto.RsaSsaPssParams(this); result.sigHash_ = sigHash_; result.mgf1Hash_ = mgf1Hash_; result.saltLength_ = saltLength_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.crypto.tink.proto.RsaSsaPssParams) { return mergeFrom((com.google.crypto.tink.proto.RsaSsaPssParams)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.crypto.tink.proto.RsaSsaPssParams other) { if (other == com.google.crypto.tink.proto.RsaSsaPssParams.getDefaultInstance()) return this; if (other.sigHash_ != 0) { setSigHashValue(other.getSigHashValue()); } if (other.mgf1Hash_ != 0) { setMgf1HashValue(other.getMgf1HashValue()); } if (other.getSaltLength() != 0) { setSaltLength(other.getSaltLength()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.crypto.tink.proto.RsaSsaPssParams parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.crypto.tink.proto.RsaSsaPssParams) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int sigHash_ = 0;
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;
Returns:The enum numeric value on the wire for sigHash.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @return The enum numeric value on the wire for sigHash. */
public int getSigHashValue() { return sigHash_; }
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;
Params:
  • value – The enum numeric value on the wire for sigHash to set.
Returns:This builder for chaining.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @param value The enum numeric value on the wire for sigHash to set. * @return This builder for chaining. */
public Builder setSigHashValue(int value) { sigHash_ = value; onChanged(); return this; }
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;
Returns:The sigHash.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @return The sigHash. */
public com.google.crypto.tink.proto.HashType getSigHash() { @SuppressWarnings("deprecation") com.google.crypto.tink.proto.HashType result = com.google.crypto.tink.proto.HashType.valueOf(sigHash_); return result == null ? com.google.crypto.tink.proto.HashType.UNRECOGNIZED : result; }
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;
Params:
  • value – The sigHash to set.
Returns:This builder for chaining.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @param value The sigHash to set. * @return This builder for chaining. */
public Builder setSigHash(com.google.crypto.tink.proto.HashType value) { if (value == null) { throw new NullPointerException(); } sigHash_ = value.getNumber(); onChanged(); return this; }
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;
Returns:This builder for chaining.
/** * <pre> * Hash function used in computing hash of the signing message * (see https://tools.ietf.org/html/rfc8017#section-9.1.1). * Required. * </pre> * * <code>.google.crypto.tink.HashType sig_hash = 1;</code> * @return This builder for chaining. */
public Builder clearSigHash() { sigHash_ = 0; onChanged(); return this; } private int mgf1Hash_ = 0;
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;
Returns:The enum numeric value on the wire for mgf1Hash.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @return The enum numeric value on the wire for mgf1Hash. */
public int getMgf1HashValue() { return mgf1Hash_; }
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;
Params:
  • value – The enum numeric value on the wire for mgf1Hash to set.
Returns:This builder for chaining.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @param value The enum numeric value on the wire for mgf1Hash to set. * @return This builder for chaining. */
public Builder setMgf1HashValue(int value) { mgf1Hash_ = value; onChanged(); return this; }
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;
Returns:The mgf1Hash.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @return The mgf1Hash. */
public com.google.crypto.tink.proto.HashType getMgf1Hash() { @SuppressWarnings("deprecation") com.google.crypto.tink.proto.HashType result = com.google.crypto.tink.proto.HashType.valueOf(mgf1Hash_); return result == null ? com.google.crypto.tink.proto.HashType.UNRECOGNIZED : result; }
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;
Params:
  • value – The mgf1Hash to set.
Returns:This builder for chaining.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @param value The mgf1Hash to set. * @return This builder for chaining. */
public Builder setMgf1Hash(com.google.crypto.tink.proto.HashType value) { if (value == null) { throw new NullPointerException(); } mgf1Hash_ = value.getNumber(); onChanged(); return this; }
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;
Returns:This builder for chaining.
/** * <pre> * 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. * </pre> * * <code>.google.crypto.tink.HashType mgf1_hash = 2;</code> * @return This builder for chaining. */
public Builder clearMgf1Hash() { mgf1Hash_ = 0; onChanged(); return this; } private int saltLength_ ;
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
int32 salt_length = 3;
Returns:The saltLength.
/** * <pre> * Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) * Required. * </pre> * * <code>int32 salt_length = 3;</code> * @return The saltLength. */
public int getSaltLength() { return saltLength_; }
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
int32 salt_length = 3;
Params:
  • value – The saltLength to set.
Returns:This builder for chaining.
/** * <pre> * Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) * Required. * </pre> * * <code>int32 salt_length = 3;</code> * @param value The saltLength to set. * @return This builder for chaining. */
public Builder setSaltLength(int value) { saltLength_ = value; onChanged(); return this; }
Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1)
Required.
int32 salt_length = 3;
Returns:This builder for chaining.
/** * <pre> * Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) * Required. * </pre> * * <code>int32 salt_length = 3;</code> * @return This builder for chaining. */
public Builder clearSaltLength() { saltLength_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.crypto.tink.RsaSsaPssParams) } // @@protoc_insertion_point(class_scope:google.crypto.tink.RsaSsaPssParams) private static final com.google.crypto.tink.proto.RsaSsaPssParams DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.crypto.tink.proto.RsaSsaPssParams(); } public static com.google.crypto.tink.proto.RsaSsaPssParams getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser<RsaSsaPssParams> PARSER = new com.google.protobuf.AbstractParser<RsaSsaPssParams>() { @java.lang.Override public RsaSsaPssParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RsaSsaPssParams(input, extensionRegistry); } }; public static com.google.protobuf.Parser<RsaSsaPssParams> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<RsaSsaPssParams> getParserForType() { return PARSER; } @java.lang.Override public com.google.crypto.tink.proto.RsaSsaPssParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }