public final class SerializedIdemixIdentity extends com.google.protobuf.GeneratedMessageV3 implements SerializedIdemixIdentityOrBuilder
This struct represents an Idemix Identity to be used to serialize it and deserialize it. The IdemixMSP will first serialize an idemix identity to bytes using this proto, and then uses these bytes as id_bytes in SerializedIdentityProtobuf type
msp.SerializedIdemixIdentity
Modifier and Type | Class and Description |
---|---|
static class |
SerializedIdemixIdentity.Builder
This struct represents an Idemix Identity
to be used to serialize it and deserialize it.
|
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 |
NYM_X_FIELD_NUMBER |
static int |
NYM_Y_FIELD_NUMBER |
static int |
OU_FIELD_NUMBER |
static int |
PROOF_FIELD_NUMBER |
static int |
ROLE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static SerializedIdemixIdentity |
getDefaultInstance() |
SerializedIdemixIdentity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getNymX()
nym_x is the X-component of the pseudonym elliptic curve point.
|
com.google.protobuf.ByteString |
getNymY()
nym_y is the Y-component of the pseudonym elliptic curve point.
|
com.google.protobuf.ByteString |
getOu()
ou contains the organizational unit of the idemix identity
|
com.google.protobuf.Parser<SerializedIdemixIdentity> |
getParserForType() |
com.google.protobuf.ByteString |
getProof()
proof contains the cryptographic evidence that this identity is valid
|
com.google.protobuf.ByteString |
getRole()
role contains the role of this identity (e.g., ADMIN or MEMBER)
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static SerializedIdemixIdentity.Builder |
newBuilder() |
static SerializedIdemixIdentity.Builder |
newBuilder(SerializedIdemixIdentity prototype) |
SerializedIdemixIdentity.Builder |
newBuilderForType() |
static SerializedIdemixIdentity |
parseDelimitedFrom(InputStream input) |
static SerializedIdemixIdentity |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SerializedIdemixIdentity |
parseFrom(byte[] data) |
static SerializedIdemixIdentity |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SerializedIdemixIdentity |
parseFrom(ByteBuffer data) |
static SerializedIdemixIdentity |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SerializedIdemixIdentity |
parseFrom(com.google.protobuf.ByteString data) |
static SerializedIdemixIdentity |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SerializedIdemixIdentity |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SerializedIdemixIdentity |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SerializedIdemixIdentity |
parseFrom(InputStream input) |
static SerializedIdemixIdentity |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SerializedIdemixIdentity> |
parser() |
SerializedIdemixIdentity.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 NYM_X_FIELD_NUMBER
public static final int NYM_Y_FIELD_NUMBER
public static final int OU_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
public static final int PROOF_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 com.google.protobuf.ByteString getNymX()
nym_x is the X-component of the pseudonym elliptic curve point. It is a []byte representation of an amcl.BIG The pseudonym can be seen as a public key of the identity, it is used to verify signatures.
bytes nym_x = 1 [json_name = "nymX"];
getNymX
in interface SerializedIdemixIdentityOrBuilder
public com.google.protobuf.ByteString getNymY()
nym_y is the Y-component of the pseudonym elliptic curve point. It is a []byte representation of an amcl.BIG The pseudonym can be seen as a public key of the identity, it is used to verify signatures.
bytes nym_y = 2 [json_name = "nymY"];
getNymY
in interface SerializedIdemixIdentityOrBuilder
public com.google.protobuf.ByteString getOu()
ou contains the organizational unit of the idemix identity
bytes ou = 3 [json_name = "ou"];
getOu
in interface SerializedIdemixIdentityOrBuilder
public com.google.protobuf.ByteString getRole()
role contains the role of this identity (e.g., ADMIN or MEMBER)
bytes role = 4 [json_name = "role"];
getRole
in interface SerializedIdemixIdentityOrBuilder
public com.google.protobuf.ByteString getProof()
proof contains the cryptographic evidence that this identity is valid
bytes proof = 5 [json_name = "proof"];
getProof
in interface SerializedIdemixIdentityOrBuilder
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 SerializedIdemixIdentity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SerializedIdemixIdentity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SerializedIdemixIdentity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SerializedIdemixIdentity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SerializedIdemixIdentity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SerializedIdemixIdentity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SerializedIdemixIdentity parseFrom(InputStream input) throws IOException
IOException
public static SerializedIdemixIdentity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SerializedIdemixIdentity parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SerializedIdemixIdentity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SerializedIdemixIdentity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SerializedIdemixIdentity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SerializedIdemixIdentity.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SerializedIdemixIdentity.Builder newBuilder()
public static SerializedIdemixIdentity.Builder newBuilder(SerializedIdemixIdentity prototype)
public SerializedIdemixIdentity.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static SerializedIdemixIdentity getDefaultInstance()
public static com.google.protobuf.Parser<SerializedIdemixIdentity> parser()
public com.google.protobuf.Parser<SerializedIdemixIdentity> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SerializedIdemixIdentity getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.