public final class IdemixMSPConfig extends com.google.protobuf.GeneratedMessageV3 implements IdemixMSPConfigOrBuilder
IdemixMSPConfig collects all the configuration information for an Idemix MSP.Protobuf type
msp.IdemixMSPConfig
Modifier and Type | Class and Description |
---|---|
static class |
IdemixMSPConfig.Builder
IdemixMSPConfig collects all the configuration information for
an Idemix MSP.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
EPOCH_FIELD_NUMBER |
static int |
IPK_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REVOCATION_PK_FIELD_NUMBER |
static int |
SIGNER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static IdemixMSPConfig |
getDefaultInstance() |
IdemixMSPConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEpoch()
epoch represents the current epoch (time interval) used for revocation
|
com.google.protobuf.ByteString |
getIpk()
ipk represents the (serialized) issuer public key
|
String |
getName()
Name holds the identifier of the MSP
|
com.google.protobuf.ByteString |
getNameBytes()
Name holds the identifier of the MSP
|
com.google.protobuf.Parser<IdemixMSPConfig> |
getParserForType() |
com.google.protobuf.ByteString |
getRevocationPk()
revocation_pk is the public key used for revocation of credentials
|
int |
getSerializedSize() |
IdemixMSPSignerConfig |
getSigner()
signer may contain crypto material to configure a default signer
|
IdemixMSPSignerConfigOrBuilder |
getSignerOrBuilder()
signer may contain crypto material to configure a default signer
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSigner()
signer may contain crypto material to configure a default signer
|
boolean |
isInitialized() |
static IdemixMSPConfig.Builder |
newBuilder() |
static IdemixMSPConfig.Builder |
newBuilder(IdemixMSPConfig prototype) |
IdemixMSPConfig.Builder |
newBuilderForType() |
static IdemixMSPConfig |
parseDelimitedFrom(InputStream input) |
static IdemixMSPConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdemixMSPConfig |
parseFrom(byte[] data) |
static IdemixMSPConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdemixMSPConfig |
parseFrom(ByteBuffer data) |
static IdemixMSPConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdemixMSPConfig |
parseFrom(com.google.protobuf.ByteString data) |
static IdemixMSPConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdemixMSPConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IdemixMSPConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IdemixMSPConfig |
parseFrom(InputStream input) |
static IdemixMSPConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IdemixMSPConfig> |
parser() |
IdemixMSPConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int IPK_FIELD_NUMBER
public static final int SIGNER_FIELD_NUMBER
public static final int REVOCATION_PK_FIELD_NUMBER
public static final int EPOCH_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public String getName()
Name holds the identifier of the MSP
string name = 1 [json_name = "name"];
getName
in interface IdemixMSPConfigOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Name holds the identifier of the MSP
string name = 1 [json_name = "name"];
getNameBytes
in interface IdemixMSPConfigOrBuilder
public com.google.protobuf.ByteString getIpk()
ipk represents the (serialized) issuer public key
bytes ipk = 2 [json_name = "ipk"];
getIpk
in interface IdemixMSPConfigOrBuilder
public boolean hasSigner()
signer may contain crypto material to configure a default signer
.msp.IdemixMSPSignerConfig signer = 3 [json_name = "signer"];
hasSigner
in interface IdemixMSPConfigOrBuilder
public IdemixMSPSignerConfig getSigner()
signer may contain crypto material to configure a default signer
.msp.IdemixMSPSignerConfig signer = 3 [json_name = "signer"];
getSigner
in interface IdemixMSPConfigOrBuilder
public IdemixMSPSignerConfigOrBuilder getSignerOrBuilder()
signer may contain crypto material to configure a default signer
.msp.IdemixMSPSignerConfig signer = 3 [json_name = "signer"];
getSignerOrBuilder
in interface IdemixMSPConfigOrBuilder
public com.google.protobuf.ByteString getRevocationPk()
revocation_pk is the public key used for revocation of credentials
bytes revocation_pk = 4 [json_name = "revocationPk"];
getRevocationPk
in interface IdemixMSPConfigOrBuilder
public long getEpoch()
epoch represents the current epoch (time interval) used for revocation
int64 epoch = 5 [json_name = "epoch"];
getEpoch
in interface IdemixMSPConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static IdemixMSPConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdemixMSPConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdemixMSPConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdemixMSPConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdemixMSPConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdemixMSPConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static IdemixMSPConfig parseFrom(InputStream input) throws IOException
IOException
public static IdemixMSPConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static IdemixMSPConfig parseDelimitedFrom(InputStream input) throws IOException
IOException
public static IdemixMSPConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static IdemixMSPConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static IdemixMSPConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public IdemixMSPConfig.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static IdemixMSPConfig.Builder newBuilder()
public static IdemixMSPConfig.Builder newBuilder(IdemixMSPConfig prototype)
public IdemixMSPConfig.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static IdemixMSPConfig getDefaultInstance()
public static com.google.protobuf.Parser<IdemixMSPConfig> parser()
public com.google.protobuf.Parser<IdemixMSPConfig> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public IdemixMSPConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.