public static final class FabricCryptoConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder> implements FabricCryptoConfigOrBuilder
FabricCryptoConfig contains configuration parameters for the cryptographic algorithms used by the MSP this configuration refers toProtobuf type
msp.FabricCryptoConfig
Modifier and Type | Method and Description |
---|---|
FabricCryptoConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FabricCryptoConfig |
build() |
FabricCryptoConfig |
buildPartial() |
FabricCryptoConfig.Builder |
clear() |
FabricCryptoConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FabricCryptoConfig.Builder |
clearIdentityIdentifierHashFunction()
IdentityIdentifierHashFunction is a string representing the hash function
to be used during the computation of the identity identifier of an MSP identity.
|
FabricCryptoConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FabricCryptoConfig.Builder |
clearSignatureHashFamily()
SignatureHashFamily is a string representing the hash family to be used
during sign and verify operations.
|
FabricCryptoConfig.Builder |
clone() |
FabricCryptoConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getIdentityIdentifierHashFunction()
IdentityIdentifierHashFunction is a string representing the hash function
to be used during the computation of the identity identifier of an MSP identity.
|
com.google.protobuf.ByteString |
getIdentityIdentifierHashFunctionBytes()
IdentityIdentifierHashFunction is a string representing the hash function
to be used during the computation of the identity identifier of an MSP identity.
|
String |
getSignatureHashFamily()
SignatureHashFamily is a string representing the hash family to be used
during sign and verify operations.
|
com.google.protobuf.ByteString |
getSignatureHashFamilyBytes()
SignatureHashFamily is a string representing the hash family to be used
during sign and verify operations.
|
boolean |
isInitialized() |
FabricCryptoConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FabricCryptoConfig.Builder |
mergeFrom(FabricCryptoConfig other) |
FabricCryptoConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
FabricCryptoConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FabricCryptoConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FabricCryptoConfig.Builder |
setIdentityIdentifierHashFunction(String value)
IdentityIdentifierHashFunction is a string representing the hash function
to be used during the computation of the identity identifier of an MSP identity.
|
FabricCryptoConfig.Builder |
setIdentityIdentifierHashFunctionBytes(com.google.protobuf.ByteString value)
IdentityIdentifierHashFunction is a string representing the hash function
to be used during the computation of the identity identifier of an MSP identity.
|
FabricCryptoConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FabricCryptoConfig.Builder |
setSignatureHashFamily(String value)
SignatureHashFamily is a string representing the hash family to be used
during sign and verify operations.
|
FabricCryptoConfig.Builder |
setSignatureHashFamilyBytes(com.google.protobuf.ByteString value)
SignatureHashFamily is a string representing the hash family to be used
during sign and verify operations.
|
FabricCryptoConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public FabricCryptoConfig.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FabricCryptoConfig build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FabricCryptoConfig buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FabricCryptoConfig.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder mergeFrom(FabricCryptoConfig other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public FabricCryptoConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FabricCryptoConfig.Builder>
IOException
public String getSignatureHashFamily()
SignatureHashFamily is a string representing the hash family to be used during sign and verify operations. Allowed values are "SHA2" and "SHA3".
string signature_hash_family = 1 [json_name = "signatureHashFamily"];
getSignatureHashFamily
in interface FabricCryptoConfigOrBuilder
public com.google.protobuf.ByteString getSignatureHashFamilyBytes()
SignatureHashFamily is a string representing the hash family to be used during sign and verify operations. Allowed values are "SHA2" and "SHA3".
string signature_hash_family = 1 [json_name = "signatureHashFamily"];
getSignatureHashFamilyBytes
in interface FabricCryptoConfigOrBuilder
public FabricCryptoConfig.Builder setSignatureHashFamily(String value)
SignatureHashFamily is a string representing the hash family to be used during sign and verify operations. Allowed values are "SHA2" and "SHA3".
string signature_hash_family = 1 [json_name = "signatureHashFamily"];
value
- The signatureHashFamily to set.public FabricCryptoConfig.Builder clearSignatureHashFamily()
SignatureHashFamily is a string representing the hash family to be used during sign and verify operations. Allowed values are "SHA2" and "SHA3".
string signature_hash_family = 1 [json_name = "signatureHashFamily"];
public FabricCryptoConfig.Builder setSignatureHashFamilyBytes(com.google.protobuf.ByteString value)
SignatureHashFamily is a string representing the hash family to be used during sign and verify operations. Allowed values are "SHA2" and "SHA3".
string signature_hash_family = 1 [json_name = "signatureHashFamily"];
value
- The bytes for signatureHashFamily to set.public String getIdentityIdentifierHashFunction()
IdentityIdentifierHashFunction is a string representing the hash function to be used during the computation of the identity identifier of an MSP identity. Allowed values are "SHA256", "SHA384" and "SHA3_256", "SHA3_384".
string identity_identifier_hash_function = 2 [json_name = "identityIdentifierHashFunction"];
getIdentityIdentifierHashFunction
in interface FabricCryptoConfigOrBuilder
public com.google.protobuf.ByteString getIdentityIdentifierHashFunctionBytes()
IdentityIdentifierHashFunction is a string representing the hash function to be used during the computation of the identity identifier of an MSP identity. Allowed values are "SHA256", "SHA384" and "SHA3_256", "SHA3_384".
string identity_identifier_hash_function = 2 [json_name = "identityIdentifierHashFunction"];
getIdentityIdentifierHashFunctionBytes
in interface FabricCryptoConfigOrBuilder
public FabricCryptoConfig.Builder setIdentityIdentifierHashFunction(String value)
IdentityIdentifierHashFunction is a string representing the hash function to be used during the computation of the identity identifier of an MSP identity. Allowed values are "SHA256", "SHA384" and "SHA3_256", "SHA3_384".
string identity_identifier_hash_function = 2 [json_name = "identityIdentifierHashFunction"];
value
- The identityIdentifierHashFunction to set.public FabricCryptoConfig.Builder clearIdentityIdentifierHashFunction()
IdentityIdentifierHashFunction is a string representing the hash function to be used during the computation of the identity identifier of an MSP identity. Allowed values are "SHA256", "SHA384" and "SHA3_256", "SHA3_384".
string identity_identifier_hash_function = 2 [json_name = "identityIdentifierHashFunction"];
public FabricCryptoConfig.Builder setIdentityIdentifierHashFunctionBytes(com.google.protobuf.ByteString value)
IdentityIdentifierHashFunction is a string representing the hash function to be used during the computation of the identity identifier of an MSP identity. Allowed values are "SHA256", "SHA384" and "SHA3_256", "SHA3_384".
string identity_identifier_hash_function = 2 [json_name = "identityIdentifierHashFunction"];
value
- The bytes for identityIdentifierHashFunction to set.public final FabricCryptoConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
public final FabricCryptoConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FabricCryptoConfig.Builder>
Copyright © 2022. All rights reserved.