Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
messages.proto services.proto
It has these top-level messages:
Message ServiceInfo AcceptableCred AcceptableCreds Attribute IntAttribute StringAttribute CredAttribute CredStructure Status BigInt DoubleBigInt PedersenFirst PedersenDecommitment ECGroupElement Pair SchnorrProofRandomData SchnorrProofData FiatShamir FiatShamirAlsoNeg SchnorrECProofRandomData PseudonymsysNymGenProofRandomData PseudonymsysNymGenProofRandomDataEC PseudonymsysCACertificate PseudonymsysCACertificateEC PseudonymsysIssueProofRandomData PseudonymsysIssueProofRandomDataEC PseudonymsysTranscript PseudonymsysTranscriptEC PseudonymsysCredential PseudonymsysCredentialEC PseudonymsysTransferCredentialData PseudonymsysTransferCredentialDataEC CSPaillierSecretKey CSPaillierPubKey SessionKey RegKey CLCredReq CLCredential UpdateCLCredential ProveCLCredential
Index ¶
- func RegisterCLServer(s *grpc.Server, srv CLServer)
- func RegisterInfoServer(s *grpc.Server, srv InfoServer)
- func RegisterPseudonymSystemCAServer(s *grpc.Server, srv PseudonymSystemCAServer)
- func RegisterPseudonymSystemServer(s *grpc.Server, srv PseudonymSystemServer)
- type AcceptableCred
- type AcceptableCreds
- type Attribute
- type BigInt
- type CLClient
- type CLCredReq
- func (*CLCredReq) Descriptor() ([]byte, []int)
- func (m *CLCredReq) GetCommitmentsOfAttrs() [][]byte
- func (m *CLCredReq) GetCommitmentsOfAttrsProofs() []*FiatShamir
- func (m *CLCredReq) GetKnownAttrs() [][]byte
- func (r *CLCredReq) GetNativeType() (*cl.CredRequest, error)
- func (m *CLCredReq) GetNonce() []byte
- func (m *CLCredReq) GetNym() []byte
- func (m *CLCredReq) GetNymProof() *FiatShamir
- func (m *CLCredReq) GetU() []byte
- func (m *CLCredReq) GetUProof() *FiatShamirAlsoNeg
- func (*CLCredReq) ProtoMessage()
- func (m *CLCredReq) Reset()
- func (m *CLCredReq) String() string
- type CLCredential
- func (*CLCredential) Descriptor() ([]byte, []int)
- func (m *CLCredential) GetA() []byte
- func (m *CLCredential) GetAProof() *FiatShamirAlsoNeg
- func (m *CLCredential) GetE() []byte
- func (c *CLCredential) GetNativeType() (*cl.Cred, *qr.RepresentationProof, error)
- func (m *CLCredential) GetV11() []byte
- func (*CLCredential) ProtoMessage()
- func (m *CLCredential) Reset()
- func (m *CLCredential) String() string
- type CLServer
- type CL_IssueCredentialClient
- type CL_IssueCredentialServer
- type CL_ProveCredentialClient
- type CL_ProveCredentialServer
- type CL_UpdateCredentialClient
- type CL_UpdateCredentialServer
- type CSPaillierPubKey
- func (*CSPaillierPubKey) Descriptor() ([]byte, []int)
- func (m *CSPaillierPubKey) GetDLogG() []byte
- func (m *CSPaillierPubKey) GetDLogP() []byte
- func (m *CSPaillierPubKey) GetDLogQ() []byte
- func (m *CSPaillierPubKey) GetG() []byte
- func (m *CSPaillierPubKey) GetK() int32
- func (m *CSPaillierPubKey) GetK1() int32
- func (m *CSPaillierPubKey) GetN() []byte
- func (m *CSPaillierPubKey) GetVerifiableEncGroupG1() []byte
- func (m *CSPaillierPubKey) GetVerifiableEncGroupH1() []byte
- func (m *CSPaillierPubKey) GetVerifiableEncGroupN() []byte
- func (m *CSPaillierPubKey) GetY1() []byte
- func (m *CSPaillierPubKey) GetY2() []byte
- func (m *CSPaillierPubKey) GetY3() []byte
- func (*CSPaillierPubKey) ProtoMessage()
- func (m *CSPaillierPubKey) Reset()
- func (m *CSPaillierPubKey) String() string
- type CSPaillierSecretKey
- func (*CSPaillierSecretKey) Descriptor() ([]byte, []int)
- func (m *CSPaillierSecretKey) GetDLogG() []byte
- func (m *CSPaillierSecretKey) GetDLogP() []byte
- func (m *CSPaillierSecretKey) GetDLogQ() []byte
- func (m *CSPaillierSecretKey) GetG() []byte
- func (m *CSPaillierSecretKey) GetK() int32
- func (m *CSPaillierSecretKey) GetK1() int32
- func (m *CSPaillierSecretKey) GetN() []byte
- func (m *CSPaillierSecretKey) GetVerifiableEncGroupG1() []byte
- func (m *CSPaillierSecretKey) GetVerifiableEncGroupH1() []byte
- func (m *CSPaillierSecretKey) GetVerifiableEncGroupN() []byte
- func (m *CSPaillierSecretKey) GetX1() []byte
- func (m *CSPaillierSecretKey) GetX2() []byte
- func (m *CSPaillierSecretKey) GetX3() []byte
- func (*CSPaillierSecretKey) ProtoMessage()
- func (m *CSPaillierSecretKey) Reset()
- func (m *CSPaillierSecretKey) String() string
- type ClientStream
- type CredAttribute
- func (*CredAttribute) Descriptor() ([]byte, []int)
- func (m *CredAttribute) GetIntAttr() *IntAttribute
- func (m *CredAttribute) GetStringAttr() *StringAttribute
- func (m *CredAttribute) GetType() isCredAttribute_Type
- func (*CredAttribute) ProtoMessage()
- func (m *CredAttribute) Reset()
- func (m *CredAttribute) String() string
- func (*CredAttribute) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, ...)
- type CredAttribute_IntAttr
- type CredAttribute_StringAttr
- type CredStructure
- func (*CredStructure) Descriptor() ([]byte, []int)
- func (m *CredStructure) GetAttributes() []*CredAttribute
- func (m *CredStructure) GetNCommitted() int32
- func (m *CredStructure) GetNHidden() int32
- func (m *CredStructure) GetNKnown() int32
- func (*CredStructure) ProtoMessage()
- func (m *CredStructure) Reset()
- func (m *CredStructure) String() string
- type DoubleBigInt
- type ECGroupElement
- func (*ECGroupElement) Descriptor() ([]byte, []int)
- func (el *ECGroupElement) GetNativeType() *ec.GroupElement
- func (m *ECGroupElement) GetX() []byte
- func (m *ECGroupElement) GetY() []byte
- func (*ECGroupElement) ProtoMessage()
- func (m *ECGroupElement) Reset()
- func (m *ECGroupElement) String() string
- type FiatShamir
- type FiatShamirAlsoNeg
- func (*FiatShamirAlsoNeg) Descriptor() ([]byte, []int)
- func (m *FiatShamirAlsoNeg) GetChallenge() []byte
- func (m *FiatShamirAlsoNeg) GetProofData() []string
- func (m *FiatShamirAlsoNeg) GetProofRandomData() []byte
- func (*FiatShamirAlsoNeg) ProtoMessage()
- func (m *FiatShamirAlsoNeg) Reset()
- func (m *FiatShamirAlsoNeg) String() string
- type InfoClient
- type InfoServer
- type IntAttribute
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetBigint() *BigInt
- func (m *Message) GetCLCredReq() *CLCredReq
- func (m *Message) GetCLCredential() *CLCredential
- func (m *Message) GetClientId() int32
- func (m *Message) GetContent() isMessage_Content
- func (m *Message) GetDoubleBigint() *DoubleBigInt
- func (m *Message) GetEcGroupElement() *ECGroupElement
- func (m *Message) GetPedersenDecommitment() *PedersenDecommitment
- func (m *Message) GetPedersenFirst() *PedersenFirst
- func (m *Message) GetProveClCredential() *ProveCLCredential
- func (m *Message) GetPseudonymsysCaCertificate() *PseudonymsysCACertificate
- func (m *Message) GetPseudonymsysCaCertificateEc() *PseudonymsysCACertificateEC
- func (m *Message) GetPseudonymsysIssueProofRandomData() *PseudonymsysIssueProofRandomData
- func (m *Message) GetPseudonymsysIssueProofRandomDataEc() *PseudonymsysIssueProofRandomDataEC
- func (m *Message) GetPseudonymsysNymGenProofRandomData() *PseudonymsysNymGenProofRandomData
- func (m *Message) GetPseudonymsysNymGenProofRandomDataEc() *PseudonymsysNymGenProofRandomDataEC
- func (m *Message) GetPseudonymsysTransferCredentialData() *PseudonymsysTransferCredentialData
- func (m *Message) GetPseudonymsysTransferCredentialDataEc() *PseudonymsysTransferCredentialDataEC
- func (m *Message) GetRegKey() *RegKey
- func (m *Message) GetSchnorrEcProofRandomData() *SchnorrECProofRandomData
- func (m *Message) GetSchnorrProofData() *SchnorrProofData
- func (m *Message) GetSchnorrProofRandomData() *SchnorrProofRandomData
- func (m *Message) GetSessionKey() *SessionKey
- func (m *Message) GetStatus() *Status
- func (m *Message) GetUpdateClCredential() *UpdateCLCredential
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (*Message) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, ...)
- type Message_Bigint
- type Message_CLCredReq
- type Message_CLCredential
- type Message_DoubleBigint
- type Message_EcGroupElement
- type Message_PedersenDecommitment
- type Message_PedersenFirst
- type Message_ProveClCredential
- type Message_PseudonymsysCaCertificate
- type Message_PseudonymsysCaCertificateEc
- type Message_PseudonymsysIssueProofRandomData
- type Message_PseudonymsysIssueProofRandomDataEc
- type Message_PseudonymsysNymGenProofRandomData
- type Message_PseudonymsysNymGenProofRandomDataEc
- type Message_PseudonymsysTransferCredentialData
- type Message_PseudonymsysTransferCredentialDataEc
- type Message_RegKey
- type Message_SchnorrEcProofRandomData
- type Message_SchnorrProofData
- type Message_SchnorrProofRandomData
- type Message_SessionKey
- type Message_Status
- type Message_UpdateClCredential
- type Pair
- type PbConvertibleType
- type PedersenDecommitment
- type PedersenFirst
- type ProveCLCredential
- func (*ProveCLCredential) Descriptor() ([]byte, []int)
- func (m *ProveCLCredential) GetA() []byte
- func (m *ProveCLCredential) GetCommitmentsOfAttrs() [][]byte
- func (m *ProveCLCredential) GetKnownAttrs() [][]byte
- func (p *ProveCLCredential) GetNativeType() (*big.Int, *qr.RepresentationProof, []*big.Int, []*big.Int, []int, []int, error)
- func (m *ProveCLCredential) GetProof() *FiatShamirAlsoNeg
- func (m *ProveCLCredential) GetRevealedCommitmentsOfAttrs() []int32
- func (m *ProveCLCredential) GetRevealedKnownAttrs() []int32
- func (*ProveCLCredential) ProtoMessage()
- func (m *ProveCLCredential) Reset()
- func (m *ProveCLCredential) String() string
- type PseudonymSystemCAClient
- type PseudonymSystemCAServer
- type PseudonymSystemCA_GenerateCertificateClient
- type PseudonymSystemCA_GenerateCertificateServer
- type PseudonymSystemCA_GenerateCertificate_ECClient
- type PseudonymSystemCA_GenerateCertificate_ECServer
- type PseudonymSystemClient
- type PseudonymSystemServer
- type PseudonymSystem_GenerateNymClient
- type PseudonymSystem_GenerateNymServer
- type PseudonymSystem_GenerateNym_ECClient
- type PseudonymSystem_GenerateNym_ECServer
- type PseudonymSystem_ObtainCredentialClient
- type PseudonymSystem_ObtainCredentialServer
- type PseudonymSystem_ObtainCredential_ECClient
- type PseudonymSystem_ObtainCredential_ECServer
- type PseudonymSystem_TransferCredentialClient
- type PseudonymSystem_TransferCredentialServer
- type PseudonymSystem_TransferCredential_ECClient
- type PseudonymSystem_TransferCredential_ECServer
- type PseudonymsysCACertificate
- func (*PseudonymsysCACertificate) Descriptor() ([]byte, []int)
- func (m *PseudonymsysCACertificate) GetBlindedA() []byte
- func (m *PseudonymsysCACertificate) GetBlindedB() []byte
- func (m *PseudonymsysCACertificate) GetR() []byte
- func (m *PseudonymsysCACertificate) GetS() []byte
- func (*PseudonymsysCACertificate) ProtoMessage()
- func (m *PseudonymsysCACertificate) Reset()
- func (m *PseudonymsysCACertificate) String() string
- type PseudonymsysCACertificateEC
- func (*PseudonymsysCACertificateEC) Descriptor() ([]byte, []int)
- func (m *PseudonymsysCACertificateEC) GetBlindedA() *ECGroupElement
- func (m *PseudonymsysCACertificateEC) GetBlindedB() *ECGroupElement
- func (m *PseudonymsysCACertificateEC) GetR() []byte
- func (m *PseudonymsysCACertificateEC) GetS() []byte
- func (*PseudonymsysCACertificateEC) ProtoMessage()
- func (m *PseudonymsysCACertificateEC) Reset()
- func (m *PseudonymsysCACertificateEC) String() string
- type PseudonymsysCredential
- func (*PseudonymsysCredential) Descriptor() ([]byte, []int)
- func (m *PseudonymsysCredential) GetAToGamma() []byte
- func (m *PseudonymsysCredential) GetBToGamma() []byte
- func (m *PseudonymsysCredential) GetSmallAToGamma() []byte
- func (m *PseudonymsysCredential) GetSmallBToGamma() []byte
- func (m *PseudonymsysCredential) GetT1() *PseudonymsysTranscript
- func (m *PseudonymsysCredential) GetT2() *PseudonymsysTranscript
- func (*PseudonymsysCredential) ProtoMessage()
- func (m *PseudonymsysCredential) Reset()
- func (m *PseudonymsysCredential) String() string
- type PseudonymsysCredentialEC
- func (*PseudonymsysCredentialEC) Descriptor() ([]byte, []int)
- func (m *PseudonymsysCredentialEC) GetAToGamma() *ECGroupElement
- func (m *PseudonymsysCredentialEC) GetBToGamma() *ECGroupElement
- func (m *PseudonymsysCredentialEC) GetSmallAToGamma() *ECGroupElement
- func (m *PseudonymsysCredentialEC) GetSmallBToGamma() *ECGroupElement
- func (m *PseudonymsysCredentialEC) GetT1() *PseudonymsysTranscriptEC
- func (m *PseudonymsysCredentialEC) GetT2() *PseudonymsysTranscriptEC
- func (*PseudonymsysCredentialEC) ProtoMessage()
- func (m *PseudonymsysCredentialEC) Reset()
- func (m *PseudonymsysCredentialEC) String() string
- type PseudonymsysIssueProofRandomData
- func (*PseudonymsysIssueProofRandomData) Descriptor() ([]byte, []int)
- func (m *PseudonymsysIssueProofRandomData) GetA() []byte
- func (m *PseudonymsysIssueProofRandomData) GetB() []byte
- func (m *PseudonymsysIssueProofRandomData) GetX11() []byte
- func (m *PseudonymsysIssueProofRandomData) GetX12() []byte
- func (m *PseudonymsysIssueProofRandomData) GetX21() []byte
- func (m *PseudonymsysIssueProofRandomData) GetX22() []byte
- func (*PseudonymsysIssueProofRandomData) ProtoMessage()
- func (m *PseudonymsysIssueProofRandomData) Reset()
- func (m *PseudonymsysIssueProofRandomData) String() string
- type PseudonymsysIssueProofRandomDataEC
- func (*PseudonymsysIssueProofRandomDataEC) Descriptor() ([]byte, []int)
- func (m *PseudonymsysIssueProofRandomDataEC) GetA() *ECGroupElement
- func (m *PseudonymsysIssueProofRandomDataEC) GetB() *ECGroupElement
- func (m *PseudonymsysIssueProofRandomDataEC) GetX11() *ECGroupElement
- func (m *PseudonymsysIssueProofRandomDataEC) GetX12() *ECGroupElement
- func (m *PseudonymsysIssueProofRandomDataEC) GetX21() *ECGroupElement
- func (m *PseudonymsysIssueProofRandomDataEC) GetX22() *ECGroupElement
- func (*PseudonymsysIssueProofRandomDataEC) ProtoMessage()
- func (m *PseudonymsysIssueProofRandomDataEC) Reset()
- func (m *PseudonymsysIssueProofRandomDataEC) String() string
- type PseudonymsysNymGenProofRandomData
- func (*PseudonymsysNymGenProofRandomData) Descriptor() ([]byte, []int)
- func (m *PseudonymsysNymGenProofRandomData) GetA1() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetA2() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetB1() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetB2() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetR() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetRegKey() string
- func (m *PseudonymsysNymGenProofRandomData) GetS() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetX1() []byte
- func (m *PseudonymsysNymGenProofRandomData) GetX2() []byte
- func (*PseudonymsysNymGenProofRandomData) ProtoMessage()
- func (m *PseudonymsysNymGenProofRandomData) Reset()
- func (m *PseudonymsysNymGenProofRandomData) String() string
- type PseudonymsysNymGenProofRandomDataEC
- func (*PseudonymsysNymGenProofRandomDataEC) Descriptor() ([]byte, []int)
- func (m *PseudonymsysNymGenProofRandomDataEC) GetA1() *ECGroupElement
- func (m *PseudonymsysNymGenProofRandomDataEC) GetA2() *ECGroupElement
- func (m *PseudonymsysNymGenProofRandomDataEC) GetB1() *ECGroupElement
- func (m *PseudonymsysNymGenProofRandomDataEC) GetB2() *ECGroupElement
- func (m *PseudonymsysNymGenProofRandomDataEC) GetR() []byte
- func (m *PseudonymsysNymGenProofRandomDataEC) GetRegKey() string
- func (m *PseudonymsysNymGenProofRandomDataEC) GetS() []byte
- func (m *PseudonymsysNymGenProofRandomDataEC) GetX1() *ECGroupElement
- func (m *PseudonymsysNymGenProofRandomDataEC) GetX2() *ECGroupElement
- func (*PseudonymsysNymGenProofRandomDataEC) ProtoMessage()
- func (m *PseudonymsysNymGenProofRandomDataEC) Reset()
- func (m *PseudonymsysNymGenProofRandomDataEC) String() string
- type PseudonymsysTranscript
- func (*PseudonymsysTranscript) Descriptor() ([]byte, []int)
- func (m *PseudonymsysTranscript) GetA() []byte
- func (m *PseudonymsysTranscript) GetB() []byte
- func (m *PseudonymsysTranscript) GetHash() []byte
- func (m *PseudonymsysTranscript) GetZAlpha() []byte
- func (*PseudonymsysTranscript) ProtoMessage()
- func (m *PseudonymsysTranscript) Reset()
- func (m *PseudonymsysTranscript) String() string
- type PseudonymsysTranscriptEC
- func (*PseudonymsysTranscriptEC) Descriptor() ([]byte, []int)
- func (m *PseudonymsysTranscriptEC) GetA() *ECGroupElement
- func (m *PseudonymsysTranscriptEC) GetB() *ECGroupElement
- func (m *PseudonymsysTranscriptEC) GetHash() []byte
- func (m *PseudonymsysTranscriptEC) GetZAlpha() []byte
- func (*PseudonymsysTranscriptEC) ProtoMessage()
- func (m *PseudonymsysTranscriptEC) Reset()
- func (m *PseudonymsysTranscriptEC) String() string
- type PseudonymsysTransferCredentialData
- func (*PseudonymsysTransferCredentialData) Descriptor() ([]byte, []int)
- func (m *PseudonymsysTransferCredentialData) GetCredential() *PseudonymsysCredential
- func (m *PseudonymsysTransferCredentialData) GetNymA() []byte
- func (m *PseudonymsysTransferCredentialData) GetNymB() []byte
- func (m *PseudonymsysTransferCredentialData) GetOrgName() string
- func (m *PseudonymsysTransferCredentialData) GetX1() []byte
- func (m *PseudonymsysTransferCredentialData) GetX2() []byte
- func (*PseudonymsysTransferCredentialData) ProtoMessage()
- func (m *PseudonymsysTransferCredentialData) Reset()
- func (m *PseudonymsysTransferCredentialData) String() string
- type PseudonymsysTransferCredentialDataEC
- func (*PseudonymsysTransferCredentialDataEC) Descriptor() ([]byte, []int)
- func (m *PseudonymsysTransferCredentialDataEC) GetCredential() *PseudonymsysCredentialEC
- func (m *PseudonymsysTransferCredentialDataEC) GetNymA() *ECGroupElement
- func (m *PseudonymsysTransferCredentialDataEC) GetNymB() *ECGroupElement
- func (m *PseudonymsysTransferCredentialDataEC) GetOrgName() string
- func (m *PseudonymsysTransferCredentialDataEC) GetX1() *ECGroupElement
- func (m *PseudonymsysTransferCredentialDataEC) GetX2() *ECGroupElement
- func (*PseudonymsysTransferCredentialDataEC) ProtoMessage()
- func (m *PseudonymsysTransferCredentialDataEC) Reset()
- func (m *PseudonymsysTransferCredentialDataEC) String() string
- type RegKey
- type SchnorrECProofRandomData
- func (*SchnorrECProofRandomData) Descriptor() ([]byte, []int)
- func (m *SchnorrECProofRandomData) GetA() *ECGroupElement
- func (m *SchnorrECProofRandomData) GetB() *ECGroupElement
- func (m *SchnorrECProofRandomData) GetX() *ECGroupElement
- func (*SchnorrECProofRandomData) ProtoMessage()
- func (m *SchnorrECProofRandomData) Reset()
- func (m *SchnorrECProofRandomData) String() string
- type SchnorrProofData
- type SchnorrProofRandomData
- func (*SchnorrProofRandomData) Descriptor() ([]byte, []int)
- func (m *SchnorrProofRandomData) GetA() []byte
- func (m *SchnorrProofRandomData) GetB() []byte
- func (m *SchnorrProofRandomData) GetX() []byte
- func (*SchnorrProofRandomData) ProtoMessage()
- func (m *SchnorrProofRandomData) Reset()
- func (m *SchnorrProofRandomData) String() string
- type ServerStream
- type ServiceInfo
- type SessionKey
- type Status
- type StringAttribute
- type UpdateCLCredential
- func (*UpdateCLCredential) Descriptor() ([]byte, []int)
- func (u *UpdateCLCredential) GetNativeType() (*big.Int, *big.Int, []*big.Int)
- func (m *UpdateCLCredential) GetNewKnownAttrs() [][]byte
- func (m *UpdateCLCredential) GetNonce() []byte
- func (m *UpdateCLCredential) GetNym() []byte
- func (*UpdateCLCredential) ProtoMessage()
- func (m *UpdateCLCredential) Reset()
- func (m *UpdateCLCredential) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCLServer ¶
func RegisterInfoServer ¶
func RegisterInfoServer(s *grpc.Server, srv InfoServer)
func RegisterPseudonymSystemCAServer ¶
func RegisterPseudonymSystemCAServer(s *grpc.Server, srv PseudonymSystemCAServer)
func RegisterPseudonymSystemServer ¶
func RegisterPseudonymSystemServer(s *grpc.Server, srv PseudonymSystemServer)
Types ¶
type AcceptableCred ¶
type AcceptableCred struct { OrgName string `protobuf:"bytes,1,opt,name=orgName" json:"orgName,omitempty"` RevealedAttrs []string `protobuf:"bytes,2,rep,name=revealedAttrs" json:"revealedAttrs,omitempty"` }
func (*AcceptableCred) Descriptor ¶
func (*AcceptableCred) Descriptor() ([]byte, []int)
func (*AcceptableCred) GetOrgName ¶
func (m *AcceptableCred) GetOrgName() string
func (*AcceptableCred) GetRevealedAttrs ¶
func (m *AcceptableCred) GetRevealedAttrs() []string
func (*AcceptableCred) ProtoMessage ¶
func (*AcceptableCred) ProtoMessage()
func (*AcceptableCred) Reset ¶
func (m *AcceptableCred) Reset()
func (*AcceptableCred) String ¶
func (m *AcceptableCred) String() string
type AcceptableCreds ¶
type AcceptableCreds struct {
Creds []*AcceptableCred `protobuf:"bytes,1,rep,name=creds" json:"creds,omitempty"`
}
func (*AcceptableCreds) Descriptor ¶
func (*AcceptableCreds) Descriptor() ([]byte, []int)
func (*AcceptableCreds) GetCreds ¶
func (m *AcceptableCreds) GetCreds() []*AcceptableCred
func (*AcceptableCreds) ProtoMessage ¶
func (*AcceptableCreds) ProtoMessage()
func (*AcceptableCreds) Reset ¶
func (m *AcceptableCreds) Reset()
func (*AcceptableCreds) String ¶
func (m *AcceptableCreds) String() string
type Attribute ¶
type Attribute struct { Index int32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Known bool `protobuf:"varint,4,opt,name=known" json:"known,omitempty"` }
func (*Attribute) Descriptor ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
type BigInt ¶
type BigInt struct {
X1 []byte `protobuf:"bytes,1,opt,name=X1,proto3" json:"X1,omitempty"`
}
func (*BigInt) Descriptor ¶
func (*BigInt) ProtoMessage ¶
func (*BigInt) ProtoMessage()
type CLClient ¶
type CLClient interface { GetCredentialStructure(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*CredStructure, error) GetAcceptableCredentials(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*AcceptableCreds, error) IssueCredential(ctx context.Context, opts ...grpc.CallOption) (CL_IssueCredentialClient, error) UpdateCredential(ctx context.Context, opts ...grpc.CallOption) (CL_UpdateCredentialClient, error) ProveCredential(ctx context.Context, opts ...grpc.CallOption) (CL_ProveCredentialClient, error) }
func NewCLClient ¶
func NewCLClient(cc *grpc.ClientConn) CLClient
type CLCredReq ¶
type CLCredReq struct { Nym []byte `protobuf:"bytes,1,opt,name=Nym,proto3" json:"Nym,omitempty"` KnownAttrs [][]byte `protobuf:"bytes,2,rep,name=KnownAttrs,proto3" json:"KnownAttrs,omitempty"` CommitmentsOfAttrs [][]byte `protobuf:"bytes,3,rep,name=CommitmentsOfAttrs,proto3" json:"CommitmentsOfAttrs,omitempty"` NymProof *FiatShamir `protobuf:"bytes,4,opt,name=NymProof" json:"NymProof,omitempty"` U []byte `protobuf:"bytes,5,opt,name=U,proto3" json:"U,omitempty"` UProof *FiatShamirAlsoNeg `protobuf:"bytes,6,opt,name=UProof" json:"UProof,omitempty"` CommitmentsOfAttrsProofs []*FiatShamir `protobuf:"bytes,7,rep,name=CommitmentsOfAttrsProofs" json:"CommitmentsOfAttrsProofs,omitempty"` Nonce []byte `protobuf:"bytes,8,opt,name=Nonce,proto3" json:"Nonce,omitempty"` }
func ToPbCredRequest ¶
func ToPbCredRequest(r *cl.CredRequest) *CLCredReq
func (*CLCredReq) Descriptor ¶
func (*CLCredReq) GetCommitmentsOfAttrs ¶
func (*CLCredReq) GetCommitmentsOfAttrsProofs ¶
func (m *CLCredReq) GetCommitmentsOfAttrsProofs() []*FiatShamir
func (*CLCredReq) GetKnownAttrs ¶
func (*CLCredReq) GetNativeType ¶
func (r *CLCredReq) GetNativeType() (*cl.CredRequest, error)
func (*CLCredReq) GetNymProof ¶
func (m *CLCredReq) GetNymProof() *FiatShamir
func (*CLCredReq) GetUProof ¶
func (m *CLCredReq) GetUProof() *FiatShamirAlsoNeg
func (*CLCredReq) ProtoMessage ¶
func (*CLCredReq) ProtoMessage()
type CLCredential ¶
type CLCredential struct { A []byte `protobuf:"bytes,1,opt,name=A,proto3" json:"A,omitempty"` E []byte `protobuf:"bytes,2,opt,name=E,proto3" json:"E,omitempty"` V11 []byte `protobuf:"bytes,3,opt,name=V11,proto3" json:"V11,omitempty"` AProof *FiatShamirAlsoNeg `protobuf:"bytes,4,opt,name=AProof" json:"AProof,omitempty"` }
func ToPbCLCredential ¶
func ToPbCLCredential(c *cl.Cred, AProof *qr.RepresentationProof) *CLCredential
func (*CLCredential) Descriptor ¶
func (*CLCredential) Descriptor() ([]byte, []int)
func (*CLCredential) GetA ¶
func (m *CLCredential) GetA() []byte
func (*CLCredential) GetAProof ¶
func (m *CLCredential) GetAProof() *FiatShamirAlsoNeg
func (*CLCredential) GetE ¶
func (m *CLCredential) GetE() []byte
func (*CLCredential) GetNativeType ¶
func (c *CLCredential) GetNativeType() (*cl.Cred, *qr.RepresentationProof, error)
func (*CLCredential) GetV11 ¶
func (m *CLCredential) GetV11() []byte
func (*CLCredential) ProtoMessage ¶
func (*CLCredential) ProtoMessage()
func (*CLCredential) Reset ¶
func (m *CLCredential) Reset()
func (*CLCredential) String ¶
func (m *CLCredential) String() string
type CLServer ¶
type CLServer interface { GetCredentialStructure(context.Context, *google_protobuf.Empty) (*CredStructure, error) GetAcceptableCredentials(context.Context, *google_protobuf.Empty) (*AcceptableCreds, error) IssueCredential(CL_IssueCredentialServer) error UpdateCredential(CL_UpdateCredentialServer) error ProveCredential(CL_ProveCredentialServer) error }
type CSPaillierPubKey ¶
type CSPaillierPubKey struct { N []byte `protobuf:"bytes,1,opt,name=N,proto3" json:"N,omitempty"` G []byte `protobuf:"bytes,2,opt,name=G,proto3" json:"G,omitempty"` Y1 []byte `protobuf:"bytes,3,opt,name=Y1,proto3" json:"Y1,omitempty"` Y2 []byte `protobuf:"bytes,4,opt,name=Y2,proto3" json:"Y2,omitempty"` Y3 []byte `protobuf:"bytes,5,opt,name=Y3,proto3" json:"Y3,omitempty"` DLogP []byte `protobuf:"bytes,6,opt,name=DLogP,proto3" json:"DLogP,omitempty"` DLogG []byte `protobuf:"bytes,7,opt,name=DLogG,proto3" json:"DLogG,omitempty"` DLogQ []byte `protobuf:"bytes,8,opt,name=DLogQ,proto3" json:"DLogQ,omitempty"` VerifiableEncGroupN []byte `protobuf:"bytes,9,opt,name=VerifiableEncGroupN,proto3" json:"VerifiableEncGroupN,omitempty"` VerifiableEncGroupG1 []byte `protobuf:"bytes,10,opt,name=VerifiableEncGroupG1,proto3" json:"VerifiableEncGroupG1,omitempty"` VerifiableEncGroupH1 []byte `protobuf:"bytes,11,opt,name=VerifiableEncGroupH1,proto3" json:"VerifiableEncGroupH1,omitempty"` K int32 `protobuf:"varint,12,opt,name=K" json:"K,omitempty"` K1 int32 `protobuf:"varint,13,opt,name=K1" json:"K1,omitempty"` }
func (*CSPaillierPubKey) Descriptor ¶
func (*CSPaillierPubKey) Descriptor() ([]byte, []int)
func (*CSPaillierPubKey) GetDLogG ¶
func (m *CSPaillierPubKey) GetDLogG() []byte
func (*CSPaillierPubKey) GetDLogP ¶
func (m *CSPaillierPubKey) GetDLogP() []byte
func (*CSPaillierPubKey) GetDLogQ ¶
func (m *CSPaillierPubKey) GetDLogQ() []byte
func (*CSPaillierPubKey) GetG ¶
func (m *CSPaillierPubKey) GetG() []byte
func (*CSPaillierPubKey) GetK ¶
func (m *CSPaillierPubKey) GetK() int32
func (*CSPaillierPubKey) GetK1 ¶
func (m *CSPaillierPubKey) GetK1() int32
func (*CSPaillierPubKey) GetN ¶
func (m *CSPaillierPubKey) GetN() []byte
func (*CSPaillierPubKey) GetVerifiableEncGroupG1 ¶
func (m *CSPaillierPubKey) GetVerifiableEncGroupG1() []byte
func (*CSPaillierPubKey) GetVerifiableEncGroupH1 ¶
func (m *CSPaillierPubKey) GetVerifiableEncGroupH1() []byte
func (*CSPaillierPubKey) GetVerifiableEncGroupN ¶
func (m *CSPaillierPubKey) GetVerifiableEncGroupN() []byte
func (*CSPaillierPubKey) GetY1 ¶
func (m *CSPaillierPubKey) GetY1() []byte
func (*CSPaillierPubKey) GetY2 ¶
func (m *CSPaillierPubKey) GetY2() []byte
func (*CSPaillierPubKey) GetY3 ¶
func (m *CSPaillierPubKey) GetY3() []byte
func (*CSPaillierPubKey) ProtoMessage ¶
func (*CSPaillierPubKey) ProtoMessage()
func (*CSPaillierPubKey) Reset ¶
func (m *CSPaillierPubKey) Reset()
func (*CSPaillierPubKey) String ¶
func (m *CSPaillierPubKey) String() string
type CSPaillierSecretKey ¶
type CSPaillierSecretKey struct { N []byte `protobuf:"bytes,1,opt,name=N,proto3" json:"N,omitempty"` G []byte `protobuf:"bytes,2,opt,name=G,proto3" json:"G,omitempty"` X1 []byte `protobuf:"bytes,3,opt,name=X1,proto3" json:"X1,omitempty"` X2 []byte `protobuf:"bytes,4,opt,name=X2,proto3" json:"X2,omitempty"` X3 []byte `protobuf:"bytes,5,opt,name=X3,proto3" json:"X3,omitempty"` DLogP []byte `protobuf:"bytes,6,opt,name=DLogP,proto3" json:"DLogP,omitempty"` DLogG []byte `protobuf:"bytes,7,opt,name=DLogG,proto3" json:"DLogG,omitempty"` DLogQ []byte `protobuf:"bytes,8,opt,name=DLogQ,proto3" json:"DLogQ,omitempty"` VerifiableEncGroupN []byte `protobuf:"bytes,9,opt,name=VerifiableEncGroupN,proto3" json:"VerifiableEncGroupN,omitempty"` VerifiableEncGroupG1 []byte `protobuf:"bytes,10,opt,name=VerifiableEncGroupG1,proto3" json:"VerifiableEncGroupG1,omitempty"` VerifiableEncGroupH1 []byte `protobuf:"bytes,11,opt,name=VerifiableEncGroupH1,proto3" json:"VerifiableEncGroupH1,omitempty"` K int32 `protobuf:"varint,12,opt,name=K" json:"K,omitempty"` K1 int32 `protobuf:"varint,13,opt,name=K1" json:"K1,omitempty"` }
func (*CSPaillierSecretKey) Descriptor ¶
func (*CSPaillierSecretKey) Descriptor() ([]byte, []int)
func (*CSPaillierSecretKey) GetDLogG ¶
func (m *CSPaillierSecretKey) GetDLogG() []byte
func (*CSPaillierSecretKey) GetDLogP ¶
func (m *CSPaillierSecretKey) GetDLogP() []byte
func (*CSPaillierSecretKey) GetDLogQ ¶
func (m *CSPaillierSecretKey) GetDLogQ() []byte
func (*CSPaillierSecretKey) GetG ¶
func (m *CSPaillierSecretKey) GetG() []byte
func (*CSPaillierSecretKey) GetK ¶
func (m *CSPaillierSecretKey) GetK() int32
func (*CSPaillierSecretKey) GetK1 ¶
func (m *CSPaillierSecretKey) GetK1() int32
func (*CSPaillierSecretKey) GetN ¶
func (m *CSPaillierSecretKey) GetN() []byte
func (*CSPaillierSecretKey) GetVerifiableEncGroupG1 ¶
func (m *CSPaillierSecretKey) GetVerifiableEncGroupG1() []byte
func (*CSPaillierSecretKey) GetVerifiableEncGroupH1 ¶
func (m *CSPaillierSecretKey) GetVerifiableEncGroupH1() []byte
func (*CSPaillierSecretKey) GetVerifiableEncGroupN ¶
func (m *CSPaillierSecretKey) GetVerifiableEncGroupN() []byte
func (*CSPaillierSecretKey) GetX1 ¶
func (m *CSPaillierSecretKey) GetX1() []byte
func (*CSPaillierSecretKey) GetX2 ¶
func (m *CSPaillierSecretKey) GetX2() []byte
func (*CSPaillierSecretKey) GetX3 ¶
func (m *CSPaillierSecretKey) GetX3() []byte
func (*CSPaillierSecretKey) ProtoMessage ¶
func (*CSPaillierSecretKey) ProtoMessage()
func (*CSPaillierSecretKey) Reset ¶
func (m *CSPaillierSecretKey) Reset()
func (*CSPaillierSecretKey) String ¶
func (m *CSPaillierSecretKey) String() string
type ClientStream ¶
ClientStream is an interface that fits all the auto-generated client stream interfaces declared within this package.
type CredAttribute ¶
type CredAttribute struct { // Types that are valid to be assigned to Type: // *CredAttribute_StringAttr // *CredAttribute_IntAttr Type isCredAttribute_Type `protobuf_oneof:"type"` }
func (*CredAttribute) Descriptor ¶
func (*CredAttribute) Descriptor() ([]byte, []int)
func (*CredAttribute) GetIntAttr ¶
func (m *CredAttribute) GetIntAttr() *IntAttribute
func (*CredAttribute) GetStringAttr ¶
func (m *CredAttribute) GetStringAttr() *StringAttribute
func (*CredAttribute) GetType ¶
func (m *CredAttribute) GetType() isCredAttribute_Type
func (*CredAttribute) ProtoMessage ¶
func (*CredAttribute) ProtoMessage()
func (*CredAttribute) Reset ¶
func (m *CredAttribute) Reset()
func (*CredAttribute) String ¶
func (m *CredAttribute) String() string
func (*CredAttribute) XXX_OneofFuncs ¶
func (*CredAttribute) XXX_OneofFuncs() (func(msg proto1.Message, b *proto1.Buffer) error, func(msg proto1.Message, tag, wire int, b *proto1.Buffer) (bool, error), func(msg proto1.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type CredAttribute_IntAttr ¶
type CredAttribute_IntAttr struct {
IntAttr *IntAttribute `protobuf:"bytes,2,opt,name=intAttr,oneof"`
}
type CredAttribute_StringAttr ¶
type CredAttribute_StringAttr struct {
StringAttr *StringAttribute `protobuf:"bytes,1,opt,name=stringAttr,oneof"`
}
type CredStructure ¶
type CredStructure struct { NKnown int32 `protobuf:"varint,1,opt,name=nKnown" json:"nKnown,omitempty"` NCommitted int32 `protobuf:"varint,2,opt,name=nCommitted" json:"nCommitted,omitempty"` NHidden int32 `protobuf:"varint,3,opt,name=nHidden" json:"nHidden,omitempty"` Attributes []*CredAttribute `protobuf:"bytes,4,rep,name=attributes" json:"attributes,omitempty"` }
func (*CredStructure) Descriptor ¶
func (*CredStructure) Descriptor() ([]byte, []int)
func (*CredStructure) GetAttributes ¶
func (m *CredStructure) GetAttributes() []*CredAttribute
func (*CredStructure) GetNCommitted ¶
func (m *CredStructure) GetNCommitted() int32
func (*CredStructure) GetNHidden ¶
func (m *CredStructure) GetNHidden() int32
func (*CredStructure) GetNKnown ¶
func (m *CredStructure) GetNKnown() int32
func (*CredStructure) ProtoMessage ¶
func (*CredStructure) ProtoMessage()
func (*CredStructure) Reset ¶
func (m *CredStructure) Reset()
func (*CredStructure) String ¶
func (m *CredStructure) String() string
type DoubleBigInt ¶
type DoubleBigInt struct { X1 []byte `protobuf:"bytes,1,opt,name=X1,proto3" json:"X1,omitempty"` X2 []byte `protobuf:"bytes,2,opt,name=X2,proto3" json:"X2,omitempty"` }
func (*DoubleBigInt) Descriptor ¶
func (*DoubleBigInt) Descriptor() ([]byte, []int)
func (*DoubleBigInt) GetX1 ¶
func (m *DoubleBigInt) GetX1() []byte
func (*DoubleBigInt) GetX2 ¶
func (m *DoubleBigInt) GetX2() []byte
func (*DoubleBigInt) ProtoMessage ¶
func (*DoubleBigInt) ProtoMessage()
func (*DoubleBigInt) Reset ¶
func (m *DoubleBigInt) Reset()
func (*DoubleBigInt) String ¶
func (m *DoubleBigInt) String() string
type ECGroupElement ¶
type ECGroupElement struct { X []byte `protobuf:"bytes,1,opt,name=X,proto3" json:"X,omitempty"` Y []byte `protobuf:"bytes,2,opt,name=Y,proto3" json:"Y,omitempty"` }
func ToPbECGroupElement ¶
func ToPbECGroupElement(el *ec.GroupElement) *ECGroupElement
func (*ECGroupElement) Descriptor ¶
func (*ECGroupElement) Descriptor() ([]byte, []int)
func (*ECGroupElement) GetNativeType ¶
func (el *ECGroupElement) GetNativeType() *ec.GroupElement
func (*ECGroupElement) GetX ¶
func (m *ECGroupElement) GetX() []byte
func (*ECGroupElement) GetY ¶
func (m *ECGroupElement) GetY() []byte
func (*ECGroupElement) ProtoMessage ¶
func (*ECGroupElement) ProtoMessage()
func (*ECGroupElement) Reset ¶
func (m *ECGroupElement) Reset()
func (*ECGroupElement) String ¶
func (m *ECGroupElement) String() string
type FiatShamir ¶
type FiatShamir struct { // Used for example for SchnorrProof and RepresentationProof where challenge is constructed by prover // using hash function. // Note that here we don't have A and B as in SchnorrProofRandomData because usually when proving // the knowledge of X such that A^X = B, A is known beforehand (as part of public key). // So here ProofRandomData is actually only X. ProofRandomData []byte `protobuf:"bytes,1,opt,name=ProofRandomData,proto3" json:"ProofRandomData,omitempty"` Challenge []byte `protobuf:"bytes,2,opt,name=Challenge,proto3" json:"Challenge,omitempty"` ProofData [][]byte `protobuf:"bytes,3,rep,name=ProofData,proto3" json:"ProofData,omitempty"` }
func (*FiatShamir) Descriptor ¶
func (*FiatShamir) Descriptor() ([]byte, []int)
func (*FiatShamir) GetChallenge ¶
func (m *FiatShamir) GetChallenge() []byte
func (*FiatShamir) GetProofData ¶
func (m *FiatShamir) GetProofData() [][]byte
func (*FiatShamir) GetProofRandomData ¶
func (m *FiatShamir) GetProofRandomData() []byte
func (*FiatShamir) ProtoMessage ¶
func (*FiatShamir) ProtoMessage()
func (*FiatShamir) Reset ¶
func (m *FiatShamir) Reset()
func (*FiatShamir) String ¶
func (m *FiatShamir) String() string
type FiatShamirAlsoNeg ¶
type FiatShamirAlsoNeg struct { // For proofs where proof data can be negative (see RepresentationProof). ProofRandomData []byte `protobuf:"bytes,1,opt,name=ProofRandomData,proto3" json:"ProofRandomData,omitempty"` Challenge []byte `protobuf:"bytes,2,opt,name=Challenge,proto3" json:"Challenge,omitempty"` ProofData []string `protobuf:"bytes,3,rep,name=ProofData" json:"ProofData,omitempty"` }
func (*FiatShamirAlsoNeg) Descriptor ¶
func (*FiatShamirAlsoNeg) Descriptor() ([]byte, []int)
func (*FiatShamirAlsoNeg) GetChallenge ¶
func (m *FiatShamirAlsoNeg) GetChallenge() []byte
func (*FiatShamirAlsoNeg) GetProofData ¶
func (m *FiatShamirAlsoNeg) GetProofData() []string
func (*FiatShamirAlsoNeg) GetProofRandomData ¶
func (m *FiatShamirAlsoNeg) GetProofRandomData() []byte
func (*FiatShamirAlsoNeg) ProtoMessage ¶
func (*FiatShamirAlsoNeg) ProtoMessage()
func (*FiatShamirAlsoNeg) Reset ¶
func (m *FiatShamirAlsoNeg) Reset()
func (*FiatShamirAlsoNeg) String ¶
func (m *FiatShamirAlsoNeg) String() string
type InfoClient ¶
type InfoClient interface {
GetServiceInfo(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*ServiceInfo, error)
}
func NewInfoClient ¶
func NewInfoClient(cc *grpc.ClientConn) InfoClient
type InfoServer ¶
type InfoServer interface {
GetServiceInfo(context.Context, *google_protobuf.Empty) (*ServiceInfo, error)
}
type IntAttribute ¶
type IntAttribute struct {
Attr *Attribute `protobuf:"bytes,1,opt,name=attr" json:"attr,omitempty"`
}
func (*IntAttribute) Descriptor ¶
func (*IntAttribute) Descriptor() ([]byte, []int)
func (*IntAttribute) GetAttr ¶
func (m *IntAttribute) GetAttr() *Attribute
func (*IntAttribute) ProtoMessage ¶
func (*IntAttribute) ProtoMessage()
func (*IntAttribute) Reset ¶
func (m *IntAttribute) Reset()
func (*IntAttribute) String ¶
func (m *IntAttribute) String() string
type Message ¶
type Message struct { // Types that are valid to be assigned to Content: // *Message_Bigint // *Message_EcGroupElement // *Message_Status // *Message_PedersenFirst // *Message_PedersenDecommitment // *Message_SchnorrProofData // *Message_SchnorrProofRandomData // *Message_SchnorrEcProofRandomData // *Message_PseudonymsysCaCertificate // *Message_PseudonymsysNymGenProofRandomData // *Message_PseudonymsysIssueProofRandomData // *Message_DoubleBigint // *Message_PseudonymsysTransferCredentialData // *Message_PseudonymsysCaCertificateEc // *Message_PseudonymsysNymGenProofRandomDataEc // *Message_PseudonymsysIssueProofRandomDataEc // *Message_PseudonymsysTransferCredentialDataEc // *Message_SessionKey // *Message_CLCredReq // *Message_CLCredential // *Message_UpdateClCredential // *Message_ProveClCredential // *Message_RegKey Content isMessage_Content `protobuf_oneof:"content"` ClientId int32 `protobuf:"varint,28,opt,name=clientId" json:"clientId,omitempty"` }
A generic message
func (*Message) Descriptor ¶
func (*Message) GetCLCredReq ¶
func (*Message) GetCLCredential ¶
func (m *Message) GetCLCredential() *CLCredential
func (*Message) GetClientId ¶
func (*Message) GetContent ¶
func (m *Message) GetContent() isMessage_Content
func (*Message) GetDoubleBigint ¶
func (m *Message) GetDoubleBigint() *DoubleBigInt
func (*Message) GetEcGroupElement ¶
func (m *Message) GetEcGroupElement() *ECGroupElement
func (*Message) GetPedersenDecommitment ¶
func (m *Message) GetPedersenDecommitment() *PedersenDecommitment
func (*Message) GetPedersenFirst ¶
func (m *Message) GetPedersenFirst() *PedersenFirst
func (*Message) GetProveClCredential ¶
func (m *Message) GetProveClCredential() *ProveCLCredential
func (*Message) GetPseudonymsysCaCertificate ¶
func (m *Message) GetPseudonymsysCaCertificate() *PseudonymsysCACertificate
func (*Message) GetPseudonymsysCaCertificateEc ¶
func (m *Message) GetPseudonymsysCaCertificateEc() *PseudonymsysCACertificateEC
func (*Message) GetPseudonymsysIssueProofRandomData ¶
func (m *Message) GetPseudonymsysIssueProofRandomData() *PseudonymsysIssueProofRandomData
func (*Message) GetPseudonymsysIssueProofRandomDataEc ¶
func (m *Message) GetPseudonymsysIssueProofRandomDataEc() *PseudonymsysIssueProofRandomDataEC
func (*Message) GetPseudonymsysNymGenProofRandomData ¶
func (m *Message) GetPseudonymsysNymGenProofRandomData() *PseudonymsysNymGenProofRandomData
func (*Message) GetPseudonymsysNymGenProofRandomDataEc ¶
func (m *Message) GetPseudonymsysNymGenProofRandomDataEc() *PseudonymsysNymGenProofRandomDataEC
func (*Message) GetPseudonymsysTransferCredentialData ¶
func (m *Message) GetPseudonymsysTransferCredentialData() *PseudonymsysTransferCredentialData
func (*Message) GetPseudonymsysTransferCredentialDataEc ¶
func (m *Message) GetPseudonymsysTransferCredentialDataEc() *PseudonymsysTransferCredentialDataEC
func (*Message) GetSchnorrEcProofRandomData ¶
func (m *Message) GetSchnorrEcProofRandomData() *SchnorrECProofRandomData
func (*Message) GetSchnorrProofData ¶
func (m *Message) GetSchnorrProofData() *SchnorrProofData
func (*Message) GetSchnorrProofRandomData ¶
func (m *Message) GetSchnorrProofRandomData() *SchnorrProofRandomData
func (*Message) GetSessionKey ¶
func (m *Message) GetSessionKey() *SessionKey
func (*Message) GetUpdateClCredential ¶
func (m *Message) GetUpdateClCredential() *UpdateCLCredential
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Message_Bigint ¶
type Message_Bigint struct {
Bigint *BigInt `protobuf:"bytes,4,opt,name=bigint,oneof"`
}
type Message_CLCredReq ¶
type Message_CLCredReq struct {
CLCredReq *CLCredReq `protobuf:"bytes,31,opt,name=CLCredReq,oneof"`
}
type Message_CLCredential ¶
type Message_CLCredential struct {
CLCredential *CLCredential `protobuf:"bytes,32,opt,name=CLCredential,oneof"`
}
type Message_DoubleBigint ¶
type Message_DoubleBigint struct {
DoubleBigint *DoubleBigInt `protobuf:"bytes,18,opt,name=double_bigint,json=doubleBigint,oneof"`
}
type Message_EcGroupElement ¶
type Message_EcGroupElement struct {
EcGroupElement *ECGroupElement `protobuf:"bytes,5,opt,name=ec_group_element,json=ecGroupElement,oneof"`
}
type Message_PedersenDecommitment ¶
type Message_PedersenDecommitment struct {
PedersenDecommitment *PedersenDecommitment `protobuf:"bytes,8,opt,name=pedersen_decommitment,json=pedersenDecommitment,oneof"`
}
type Message_PedersenFirst ¶
type Message_PedersenFirst struct {
PedersenFirst *PedersenFirst `protobuf:"bytes,7,opt,name=pedersen_first,json=pedersenFirst,oneof"`
}
type Message_ProveClCredential ¶
type Message_ProveClCredential struct {
ProveClCredential *ProveCLCredential `protobuf:"bytes,34,opt,name=prove_cl_credential,json=proveClCredential,oneof"`
}
type Message_PseudonymsysCaCertificate ¶
type Message_PseudonymsysCaCertificate struct {
PseudonymsysCaCertificate *PseudonymsysCACertificate `protobuf:"bytes,15,opt,name=pseudonymsys_ca_certificate,json=pseudonymsysCaCertificate,oneof"`
}
type Message_PseudonymsysCaCertificateEc ¶
type Message_PseudonymsysCaCertificateEc struct {
PseudonymsysCaCertificateEc *PseudonymsysCACertificateEC `protobuf:"bytes,20,opt,name=pseudonymsys_ca_certificate_ec,json=pseudonymsysCaCertificateEc,oneof"`
}
type Message_PseudonymsysIssueProofRandomData ¶
type Message_PseudonymsysIssueProofRandomData struct {
PseudonymsysIssueProofRandomData *PseudonymsysIssueProofRandomData `protobuf:"bytes,17,opt,name=pseudonymsys_issue_proof_random_data,json=pseudonymsysIssueProofRandomData,oneof"`
}
type Message_PseudonymsysIssueProofRandomDataEc ¶
type Message_PseudonymsysIssueProofRandomDataEc struct {
PseudonymsysIssueProofRandomDataEc *PseudonymsysIssueProofRandomDataEC `protobuf:"bytes,22,opt,name=pseudonymsys_issue_proof_random_data_ec,json=pseudonymsysIssueProofRandomDataEc,oneof"`
}
type Message_PseudonymsysNymGenProofRandomData ¶
type Message_PseudonymsysNymGenProofRandomData struct {
PseudonymsysNymGenProofRandomData *PseudonymsysNymGenProofRandomData `protobuf:"bytes,16,opt,name=pseudonymsys_nym_gen_proof_random_data,json=pseudonymsysNymGenProofRandomData,oneof"`
}
type Message_PseudonymsysNymGenProofRandomDataEc ¶
type Message_PseudonymsysNymGenProofRandomDataEc struct {
PseudonymsysNymGenProofRandomDataEc *PseudonymsysNymGenProofRandomDataEC `protobuf:"bytes,21,opt,name=pseudonymsys_nym_gen_proof_random_data_ec,json=pseudonymsysNymGenProofRandomDataEc,oneof"`
}
type Message_PseudonymsysTransferCredentialData ¶
type Message_PseudonymsysTransferCredentialData struct {
PseudonymsysTransferCredentialData *PseudonymsysTransferCredentialData `protobuf:"bytes,19,opt,name=pseudonymsys_transfer_credential_data,json=pseudonymsysTransferCredentialData,oneof"`
}
type Message_PseudonymsysTransferCredentialDataEc ¶
type Message_PseudonymsysTransferCredentialDataEc struct {
PseudonymsysTransferCredentialDataEc *PseudonymsysTransferCredentialDataEC `protobuf:"bytes,23,opt,name=pseudonymsys_transfer_credential_data_ec,json=pseudonymsysTransferCredentialDataEc,oneof"`
}
type Message_RegKey ¶
type Message_RegKey struct {
RegKey *RegKey `protobuf:"bytes,35,opt,name=RegKey,oneof"`
}
type Message_SchnorrEcProofRandomData ¶
type Message_SchnorrEcProofRandomData struct {
SchnorrEcProofRandomData *SchnorrECProofRandomData `protobuf:"bytes,11,opt,name=schnorr_ec_proof_random_data,json=schnorrEcProofRandomData,oneof"`
}
type Message_SchnorrProofData ¶
type Message_SchnorrProofData struct {
SchnorrProofData *SchnorrProofData `protobuf:"bytes,9,opt,name=schnorr_proof_data,json=schnorrProofData,oneof"`
}
type Message_SchnorrProofRandomData ¶
type Message_SchnorrProofRandomData struct {
SchnorrProofRandomData *SchnorrProofRandomData `protobuf:"bytes,10,opt,name=schnorr_proof_random_data,json=schnorrProofRandomData,oneof"`
}
type Message_SessionKey ¶
type Message_SessionKey struct {
SessionKey *SessionKey `protobuf:"bytes,30,opt,name=SessionKey,oneof"`
}
type Message_Status ¶
type Message_Status struct {
Status *Status `protobuf:"bytes,6,opt,name=status,oneof"`
}
type Message_UpdateClCredential ¶
type Message_UpdateClCredential struct {
UpdateClCredential *UpdateCLCredential `protobuf:"bytes,33,opt,name=update_cl_credential,json=updateClCredential,oneof"`
}
type Pair ¶
type Pair struct { A []byte `protobuf:"bytes,1,opt,name=A,proto3" json:"A,omitempty"` B []byte `protobuf:"bytes,2,opt,name=B,proto3" json:"B,omitempty"` }
func (*Pair) Descriptor ¶
func (*Pair) GetNativeType ¶
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
type PbConvertibleType ¶
type PbConvertibleType interface {
GetNativeType() interface{}
}
type PedersenDecommitment ¶
type PedersenDecommitment struct { X []byte `protobuf:"bytes,1,opt,name=X,proto3" json:"X,omitempty"` R []byte `protobuf:"bytes,2,opt,name=R,proto3" json:"R,omitempty"` }
func (*PedersenDecommitment) Descriptor ¶
func (*PedersenDecommitment) Descriptor() ([]byte, []int)
func (*PedersenDecommitment) GetR ¶
func (m *PedersenDecommitment) GetR() []byte
func (*PedersenDecommitment) GetX ¶
func (m *PedersenDecommitment) GetX() []byte
func (*PedersenDecommitment) ProtoMessage ¶
func (*PedersenDecommitment) ProtoMessage()
func (*PedersenDecommitment) Reset ¶
func (m *PedersenDecommitment) Reset()
func (*PedersenDecommitment) String ¶
func (m *PedersenDecommitment) String() string
type PedersenFirst ¶
type PedersenFirst struct {
H []byte `protobuf:"bytes,1,opt,name=H,proto3" json:"H,omitempty"`
}
func (*PedersenFirst) Descriptor ¶
func (*PedersenFirst) Descriptor() ([]byte, []int)
func (*PedersenFirst) GetH ¶
func (m *PedersenFirst) GetH() []byte
func (*PedersenFirst) ProtoMessage ¶
func (*PedersenFirst) ProtoMessage()
func (*PedersenFirst) Reset ¶
func (m *PedersenFirst) Reset()
func (*PedersenFirst) String ¶
func (m *PedersenFirst) String() string
type ProveCLCredential ¶
type ProveCLCredential struct { A []byte `protobuf:"bytes,1,opt,name=A,proto3" json:"A,omitempty"` Proof *FiatShamirAlsoNeg `protobuf:"bytes,2,opt,name=Proof" json:"Proof,omitempty"` KnownAttrs [][]byte `protobuf:"bytes,3,rep,name=KnownAttrs,proto3" json:"KnownAttrs,omitempty"` CommitmentsOfAttrs [][]byte `protobuf:"bytes,4,rep,name=CommitmentsOfAttrs,proto3" json:"CommitmentsOfAttrs,omitempty"` RevealedKnownAttrs []int32 `protobuf:"varint,5,rep,packed,name=RevealedKnownAttrs" json:"RevealedKnownAttrs,omitempty"` RevealedCommitmentsOfAttrs []int32 `protobuf:"varint,6,rep,packed,name=RevealedCommitmentsOfAttrs" json:"RevealedCommitmentsOfAttrs,omitempty"` }
func ToPbProveCLCredential ¶
func ToPbProveCLCredential(A *big.Int, proof *qr.RepresentationProof, knownAttrs, commitmentsOfAttrs []*big.Int, revealedKnownAttrsIndices, revealedCommitmentsOfAttrsIndices []int) *ProveCLCredential
func (*ProveCLCredential) Descriptor ¶
func (*ProveCLCredential) Descriptor() ([]byte, []int)
func (*ProveCLCredential) GetA ¶
func (m *ProveCLCredential) GetA() []byte
func (*ProveCLCredential) GetCommitmentsOfAttrs ¶
func (m *ProveCLCredential) GetCommitmentsOfAttrs() [][]byte
func (*ProveCLCredential) GetKnownAttrs ¶
func (m *ProveCLCredential) GetKnownAttrs() [][]byte
func (*ProveCLCredential) GetNativeType ¶
func (*ProveCLCredential) GetProof ¶
func (m *ProveCLCredential) GetProof() *FiatShamirAlsoNeg
func (*ProveCLCredential) GetRevealedCommitmentsOfAttrs ¶
func (m *ProveCLCredential) GetRevealedCommitmentsOfAttrs() []int32
func (*ProveCLCredential) GetRevealedKnownAttrs ¶
func (m *ProveCLCredential) GetRevealedKnownAttrs() []int32
func (*ProveCLCredential) ProtoMessage ¶
func (*ProveCLCredential) ProtoMessage()
func (*ProveCLCredential) Reset ¶
func (m *ProveCLCredential) Reset()
func (*ProveCLCredential) String ¶
func (m *ProveCLCredential) String() string
type PseudonymSystemCAClient ¶
type PseudonymSystemCAClient interface { GenerateCertificate(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystemCA_GenerateCertificateClient, error) GenerateCertificate_EC(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystemCA_GenerateCertificate_ECClient, error) }
func NewPseudonymSystemCAClient ¶
func NewPseudonymSystemCAClient(cc *grpc.ClientConn) PseudonymSystemCAClient
type PseudonymSystemCAServer ¶
type PseudonymSystemCAServer interface { GenerateCertificate(PseudonymSystemCA_GenerateCertificateServer) error GenerateCertificate_EC(PseudonymSystemCA_GenerateCertificate_ECServer) error }
type PseudonymSystemClient ¶
type PseudonymSystemClient interface { GenerateNym(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystem_GenerateNymClient, error) GenerateNym_EC(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystem_GenerateNym_ECClient, error) ObtainCredential(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystem_ObtainCredentialClient, error) ObtainCredential_EC(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystem_ObtainCredential_ECClient, error) TransferCredential(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystem_TransferCredentialClient, error) TransferCredential_EC(ctx context.Context, opts ...grpc.CallOption) (PseudonymSystem_TransferCredential_ECClient, error) }
func NewPseudonymSystemClient ¶
func NewPseudonymSystemClient(cc *grpc.ClientConn) PseudonymSystemClient
type PseudonymSystemServer ¶
type PseudonymSystemServer interface { GenerateNym(PseudonymSystem_GenerateNymServer) error GenerateNym_EC(PseudonymSystem_GenerateNym_ECServer) error ObtainCredential(PseudonymSystem_ObtainCredentialServer) error ObtainCredential_EC(PseudonymSystem_ObtainCredential_ECServer) error TransferCredential(PseudonymSystem_TransferCredentialServer) error TransferCredential_EC(PseudonymSystem_TransferCredential_ECServer) error }
type PseudonymsysCACertificate ¶
type PseudonymsysCACertificate struct { BlindedA []byte `protobuf:"bytes,1,opt,name=BlindedA,proto3" json:"BlindedA,omitempty"` BlindedB []byte `protobuf:"bytes,2,opt,name=BlindedB,proto3" json:"BlindedB,omitempty"` R []byte `protobuf:"bytes,3,opt,name=R,proto3" json:"R,omitempty"` S []byte `protobuf:"bytes,4,opt,name=S,proto3" json:"S,omitempty"` }
func (*PseudonymsysCACertificate) Descriptor ¶
func (*PseudonymsysCACertificate) Descriptor() ([]byte, []int)
func (*PseudonymsysCACertificate) GetBlindedA ¶
func (m *PseudonymsysCACertificate) GetBlindedA() []byte
func (*PseudonymsysCACertificate) GetBlindedB ¶
func (m *PseudonymsysCACertificate) GetBlindedB() []byte
func (*PseudonymsysCACertificate) GetR ¶
func (m *PseudonymsysCACertificate) GetR() []byte
func (*PseudonymsysCACertificate) GetS ¶
func (m *PseudonymsysCACertificate) GetS() []byte
func (*PseudonymsysCACertificate) ProtoMessage ¶
func (*PseudonymsysCACertificate) ProtoMessage()
func (*PseudonymsysCACertificate) Reset ¶
func (m *PseudonymsysCACertificate) Reset()
func (*PseudonymsysCACertificate) String ¶
func (m *PseudonymsysCACertificate) String() string
type PseudonymsysCACertificateEC ¶
type PseudonymsysCACertificateEC struct { BlindedA *ECGroupElement `protobuf:"bytes,1,opt,name=BlindedA" json:"BlindedA,omitempty"` BlindedB *ECGroupElement `protobuf:"bytes,2,opt,name=BlindedB" json:"BlindedB,omitempty"` R []byte `protobuf:"bytes,3,opt,name=R,proto3" json:"R,omitempty"` S []byte `protobuf:"bytes,4,opt,name=S,proto3" json:"S,omitempty"` }
func (*PseudonymsysCACertificateEC) Descriptor ¶
func (*PseudonymsysCACertificateEC) Descriptor() ([]byte, []int)
func (*PseudonymsysCACertificateEC) GetBlindedA ¶
func (m *PseudonymsysCACertificateEC) GetBlindedA() *ECGroupElement
func (*PseudonymsysCACertificateEC) GetBlindedB ¶
func (m *PseudonymsysCACertificateEC) GetBlindedB() *ECGroupElement
func (*PseudonymsysCACertificateEC) GetR ¶
func (m *PseudonymsysCACertificateEC) GetR() []byte
func (*PseudonymsysCACertificateEC) GetS ¶
func (m *PseudonymsysCACertificateEC) GetS() []byte
func (*PseudonymsysCACertificateEC) ProtoMessage ¶
func (*PseudonymsysCACertificateEC) ProtoMessage()
func (*PseudonymsysCACertificateEC) Reset ¶
func (m *PseudonymsysCACertificateEC) Reset()
func (*PseudonymsysCACertificateEC) String ¶
func (m *PseudonymsysCACertificateEC) String() string
type PseudonymsysCredential ¶
type PseudonymsysCredential struct { SmallAToGamma []byte `protobuf:"bytes,1,opt,name=SmallAToGamma,proto3" json:"SmallAToGamma,omitempty"` SmallBToGamma []byte `protobuf:"bytes,2,opt,name=SmallBToGamma,proto3" json:"SmallBToGamma,omitempty"` AToGamma []byte `protobuf:"bytes,3,opt,name=AToGamma,proto3" json:"AToGamma,omitempty"` BToGamma []byte `protobuf:"bytes,4,opt,name=BToGamma,proto3" json:"BToGamma,omitempty"` T1 *PseudonymsysTranscript `protobuf:"bytes,5,opt,name=T1" json:"T1,omitempty"` T2 *PseudonymsysTranscript `protobuf:"bytes,6,opt,name=T2" json:"T2,omitempty"` }
func (*PseudonymsysCredential) Descriptor ¶
func (*PseudonymsysCredential) Descriptor() ([]byte, []int)
func (*PseudonymsysCredential) GetAToGamma ¶
func (m *PseudonymsysCredential) GetAToGamma() []byte
func (*PseudonymsysCredential) GetBToGamma ¶
func (m *PseudonymsysCredential) GetBToGamma() []byte
func (*PseudonymsysCredential) GetSmallAToGamma ¶
func (m *PseudonymsysCredential) GetSmallAToGamma() []byte
func (*PseudonymsysCredential) GetSmallBToGamma ¶
func (m *PseudonymsysCredential) GetSmallBToGamma() []byte
func (*PseudonymsysCredential) GetT1 ¶
func (m *PseudonymsysCredential) GetT1() *PseudonymsysTranscript
func (*PseudonymsysCredential) GetT2 ¶
func (m *PseudonymsysCredential) GetT2() *PseudonymsysTranscript
func (*PseudonymsysCredential) ProtoMessage ¶
func (*PseudonymsysCredential) ProtoMessage()
func (*PseudonymsysCredential) Reset ¶
func (m *PseudonymsysCredential) Reset()
func (*PseudonymsysCredential) String ¶
func (m *PseudonymsysCredential) String() string
type PseudonymsysCredentialEC ¶
type PseudonymsysCredentialEC struct { SmallAToGamma *ECGroupElement `protobuf:"bytes,1,opt,name=SmallAToGamma" json:"SmallAToGamma,omitempty"` SmallBToGamma *ECGroupElement `protobuf:"bytes,2,opt,name=SmallBToGamma" json:"SmallBToGamma,omitempty"` AToGamma *ECGroupElement `protobuf:"bytes,3,opt,name=AToGamma" json:"AToGamma,omitempty"` BToGamma *ECGroupElement `protobuf:"bytes,4,opt,name=BToGamma" json:"BToGamma,omitempty"` T1 *PseudonymsysTranscriptEC `protobuf:"bytes,5,opt,name=T1" json:"T1,omitempty"` T2 *PseudonymsysTranscriptEC `protobuf:"bytes,6,opt,name=T2" json:"T2,omitempty"` }
func (*PseudonymsysCredentialEC) Descriptor ¶
func (*PseudonymsysCredentialEC) Descriptor() ([]byte, []int)
func (*PseudonymsysCredentialEC) GetAToGamma ¶
func (m *PseudonymsysCredentialEC) GetAToGamma() *ECGroupElement
func (*PseudonymsysCredentialEC) GetBToGamma ¶
func (m *PseudonymsysCredentialEC) GetBToGamma() *ECGroupElement
func (*PseudonymsysCredentialEC) GetSmallAToGamma ¶
func (m *PseudonymsysCredentialEC) GetSmallAToGamma() *ECGroupElement
func (*PseudonymsysCredentialEC) GetSmallBToGamma ¶
func (m *PseudonymsysCredentialEC) GetSmallBToGamma() *ECGroupElement
func (*PseudonymsysCredentialEC) GetT1 ¶
func (m *PseudonymsysCredentialEC) GetT1() *PseudonymsysTranscriptEC
func (*PseudonymsysCredentialEC) GetT2 ¶
func (m *PseudonymsysCredentialEC) GetT2() *PseudonymsysTranscriptEC
func (*PseudonymsysCredentialEC) ProtoMessage ¶
func (*PseudonymsysCredentialEC) ProtoMessage()
func (*PseudonymsysCredentialEC) Reset ¶
func (m *PseudonymsysCredentialEC) Reset()
func (*PseudonymsysCredentialEC) String ¶
func (m *PseudonymsysCredentialEC) String() string
type PseudonymsysIssueProofRandomData ¶
type PseudonymsysIssueProofRandomData struct { X11 []byte `protobuf:"bytes,1,opt,name=X11,proto3" json:"X11,omitempty"` X12 []byte `protobuf:"bytes,2,opt,name=X12,proto3" json:"X12,omitempty"` X21 []byte `protobuf:"bytes,3,opt,name=X21,proto3" json:"X21,omitempty"` X22 []byte `protobuf:"bytes,4,opt,name=X22,proto3" json:"X22,omitempty"` A []byte `protobuf:"bytes,5,opt,name=A,proto3" json:"A,omitempty"` B []byte `protobuf:"bytes,6,opt,name=B,proto3" json:"B,omitempty"` }
func (*PseudonymsysIssueProofRandomData) Descriptor ¶
func (*PseudonymsysIssueProofRandomData) Descriptor() ([]byte, []int)
func (*PseudonymsysIssueProofRandomData) GetA ¶
func (m *PseudonymsysIssueProofRandomData) GetA() []byte
func (*PseudonymsysIssueProofRandomData) GetB ¶
func (m *PseudonymsysIssueProofRandomData) GetB() []byte
func (*PseudonymsysIssueProofRandomData) GetX11 ¶
func (m *PseudonymsysIssueProofRandomData) GetX11() []byte
func (*PseudonymsysIssueProofRandomData) GetX12 ¶
func (m *PseudonymsysIssueProofRandomData) GetX12() []byte
func (*PseudonymsysIssueProofRandomData) GetX21 ¶
func (m *PseudonymsysIssueProofRandomData) GetX21() []byte
func (*PseudonymsysIssueProofRandomData) GetX22 ¶
func (m *PseudonymsysIssueProofRandomData) GetX22() []byte
func (*PseudonymsysIssueProofRandomData) ProtoMessage ¶
func (*PseudonymsysIssueProofRandomData) ProtoMessage()
func (*PseudonymsysIssueProofRandomData) Reset ¶
func (m *PseudonymsysIssueProofRandomData) Reset()
func (*PseudonymsysIssueProofRandomData) String ¶
func (m *PseudonymsysIssueProofRandomData) String() string
type PseudonymsysIssueProofRandomDataEC ¶
type PseudonymsysIssueProofRandomDataEC struct { X11 *ECGroupElement `protobuf:"bytes,1,opt,name=X11" json:"X11,omitempty"` X12 *ECGroupElement `protobuf:"bytes,2,opt,name=X12" json:"X12,omitempty"` X21 *ECGroupElement `protobuf:"bytes,3,opt,name=X21" json:"X21,omitempty"` X22 *ECGroupElement `protobuf:"bytes,4,opt,name=X22" json:"X22,omitempty"` A *ECGroupElement `protobuf:"bytes,5,opt,name=A" json:"A,omitempty"` B *ECGroupElement `protobuf:"bytes,6,opt,name=B" json:"B,omitempty"` }
func (*PseudonymsysIssueProofRandomDataEC) Descriptor ¶
func (*PseudonymsysIssueProofRandomDataEC) Descriptor() ([]byte, []int)
func (*PseudonymsysIssueProofRandomDataEC) GetA ¶
func (m *PseudonymsysIssueProofRandomDataEC) GetA() *ECGroupElement
func (*PseudonymsysIssueProofRandomDataEC) GetB ¶
func (m *PseudonymsysIssueProofRandomDataEC) GetB() *ECGroupElement
func (*PseudonymsysIssueProofRandomDataEC) GetX11 ¶
func (m *PseudonymsysIssueProofRandomDataEC) GetX11() *ECGroupElement
func (*PseudonymsysIssueProofRandomDataEC) GetX12 ¶
func (m *PseudonymsysIssueProofRandomDataEC) GetX12() *ECGroupElement
func (*PseudonymsysIssueProofRandomDataEC) GetX21 ¶
func (m *PseudonymsysIssueProofRandomDataEC) GetX21() *ECGroupElement
func (*PseudonymsysIssueProofRandomDataEC) GetX22 ¶
func (m *PseudonymsysIssueProofRandomDataEC) GetX22() *ECGroupElement
func (*PseudonymsysIssueProofRandomDataEC) ProtoMessage ¶
func (*PseudonymsysIssueProofRandomDataEC) ProtoMessage()
func (*PseudonymsysIssueProofRandomDataEC) Reset ¶
func (m *PseudonymsysIssueProofRandomDataEC) Reset()
func (*PseudonymsysIssueProofRandomDataEC) String ¶
func (m *PseudonymsysIssueProofRandomDataEC) String() string
type PseudonymsysNymGenProofRandomData ¶
type PseudonymsysNymGenProofRandomData struct { X1 []byte `protobuf:"bytes,1,opt,name=X1,proto3" json:"X1,omitempty"` A1 []byte `protobuf:"bytes,2,opt,name=A1,proto3" json:"A1,omitempty"` B1 []byte `protobuf:"bytes,3,opt,name=B1,proto3" json:"B1,omitempty"` X2 []byte `protobuf:"bytes,4,opt,name=X2,proto3" json:"X2,omitempty"` A2 []byte `protobuf:"bytes,5,opt,name=A2,proto3" json:"A2,omitempty"` B2 []byte `protobuf:"bytes,6,opt,name=B2,proto3" json:"B2,omitempty"` R []byte `protobuf:"bytes,7,opt,name=R,proto3" json:"R,omitempty"` S []byte `protobuf:"bytes,8,opt,name=S,proto3" json:"S,omitempty"` RegKey string `protobuf:"bytes,9,opt,name=RegKey" json:"RegKey,omitempty"` }
func (*PseudonymsysNymGenProofRandomData) Descriptor ¶
func (*PseudonymsysNymGenProofRandomData) Descriptor() ([]byte, []int)
func (*PseudonymsysNymGenProofRandomData) GetA1 ¶
func (m *PseudonymsysNymGenProofRandomData) GetA1() []byte
func (*PseudonymsysNymGenProofRandomData) GetA2 ¶
func (m *PseudonymsysNymGenProofRandomData) GetA2() []byte
func (*PseudonymsysNymGenProofRandomData) GetB1 ¶
func (m *PseudonymsysNymGenProofRandomData) GetB1() []byte
func (*PseudonymsysNymGenProofRandomData) GetB2 ¶
func (m *PseudonymsysNymGenProofRandomData) GetB2() []byte
func (*PseudonymsysNymGenProofRandomData) GetR ¶
func (m *PseudonymsysNymGenProofRandomData) GetR() []byte
func (*PseudonymsysNymGenProofRandomData) GetRegKey ¶
func (m *PseudonymsysNymGenProofRandomData) GetRegKey() string
func (*PseudonymsysNymGenProofRandomData) GetS ¶
func (m *PseudonymsysNymGenProofRandomData) GetS() []byte
func (*PseudonymsysNymGenProofRandomData) GetX1 ¶
func (m *PseudonymsysNymGenProofRandomData) GetX1() []byte
func (*PseudonymsysNymGenProofRandomData) GetX2 ¶
func (m *PseudonymsysNymGenProofRandomData) GetX2() []byte
func (*PseudonymsysNymGenProofRandomData) ProtoMessage ¶
func (*PseudonymsysNymGenProofRandomData) ProtoMessage()
func (*PseudonymsysNymGenProofRandomData) Reset ¶
func (m *PseudonymsysNymGenProofRandomData) Reset()
func (*PseudonymsysNymGenProofRandomData) String ¶
func (m *PseudonymsysNymGenProofRandomData) String() string
type PseudonymsysNymGenProofRandomDataEC ¶
type PseudonymsysNymGenProofRandomDataEC struct { X1 *ECGroupElement `protobuf:"bytes,1,opt,name=X1" json:"X1,omitempty"` A1 *ECGroupElement `protobuf:"bytes,2,opt,name=A1" json:"A1,omitempty"` B1 *ECGroupElement `protobuf:"bytes,3,opt,name=B1" json:"B1,omitempty"` X2 *ECGroupElement `protobuf:"bytes,4,opt,name=X2" json:"X2,omitempty"` A2 *ECGroupElement `protobuf:"bytes,5,opt,name=A2" json:"A2,omitempty"` B2 *ECGroupElement `protobuf:"bytes,6,opt,name=B2" json:"B2,omitempty"` R []byte `protobuf:"bytes,7,opt,name=R,proto3" json:"R,omitempty"` S []byte `protobuf:"bytes,8,opt,name=S,proto3" json:"S,omitempty"` RegKey string `protobuf:"bytes,9,opt,name=RegKey" json:"RegKey,omitempty"` }
func (*PseudonymsysNymGenProofRandomDataEC) Descriptor ¶
func (*PseudonymsysNymGenProofRandomDataEC) Descriptor() ([]byte, []int)
func (*PseudonymsysNymGenProofRandomDataEC) GetA1 ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetA1() *ECGroupElement
func (*PseudonymsysNymGenProofRandomDataEC) GetA2 ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetA2() *ECGroupElement
func (*PseudonymsysNymGenProofRandomDataEC) GetB1 ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetB1() *ECGroupElement
func (*PseudonymsysNymGenProofRandomDataEC) GetB2 ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetB2() *ECGroupElement
func (*PseudonymsysNymGenProofRandomDataEC) GetR ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetR() []byte
func (*PseudonymsysNymGenProofRandomDataEC) GetRegKey ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetRegKey() string
func (*PseudonymsysNymGenProofRandomDataEC) GetS ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetS() []byte
func (*PseudonymsysNymGenProofRandomDataEC) GetX1 ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetX1() *ECGroupElement
func (*PseudonymsysNymGenProofRandomDataEC) GetX2 ¶
func (m *PseudonymsysNymGenProofRandomDataEC) GetX2() *ECGroupElement
func (*PseudonymsysNymGenProofRandomDataEC) ProtoMessage ¶
func (*PseudonymsysNymGenProofRandomDataEC) ProtoMessage()
func (*PseudonymsysNymGenProofRandomDataEC) Reset ¶
func (m *PseudonymsysNymGenProofRandomDataEC) Reset()
func (*PseudonymsysNymGenProofRandomDataEC) String ¶
func (m *PseudonymsysNymGenProofRandomDataEC) String() string
type PseudonymsysTranscript ¶
type PseudonymsysTranscript struct { A []byte `protobuf:"bytes,1,opt,name=A,proto3" json:"A,omitempty"` B []byte `protobuf:"bytes,2,opt,name=B,proto3" json:"B,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=Hash,proto3" json:"Hash,omitempty"` ZAlpha []byte `protobuf:"bytes,4,opt,name=ZAlpha,proto3" json:"ZAlpha,omitempty"` }
func (*PseudonymsysTranscript) Descriptor ¶
func (*PseudonymsysTranscript) Descriptor() ([]byte, []int)
func (*PseudonymsysTranscript) GetA ¶
func (m *PseudonymsysTranscript) GetA() []byte
func (*PseudonymsysTranscript) GetB ¶
func (m *PseudonymsysTranscript) GetB() []byte
func (*PseudonymsysTranscript) GetHash ¶
func (m *PseudonymsysTranscript) GetHash() []byte
func (*PseudonymsysTranscript) GetZAlpha ¶
func (m *PseudonymsysTranscript) GetZAlpha() []byte
func (*PseudonymsysTranscript) ProtoMessage ¶
func (*PseudonymsysTranscript) ProtoMessage()
func (*PseudonymsysTranscript) Reset ¶
func (m *PseudonymsysTranscript) Reset()
func (*PseudonymsysTranscript) String ¶
func (m *PseudonymsysTranscript) String() string
type PseudonymsysTranscriptEC ¶
type PseudonymsysTranscriptEC struct { A *ECGroupElement `protobuf:"bytes,1,opt,name=A" json:"A,omitempty"` B *ECGroupElement `protobuf:"bytes,2,opt,name=B" json:"B,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=Hash,proto3" json:"Hash,omitempty"` ZAlpha []byte `protobuf:"bytes,4,opt,name=ZAlpha,proto3" json:"ZAlpha,omitempty"` }
func (*PseudonymsysTranscriptEC) Descriptor ¶
func (*PseudonymsysTranscriptEC) Descriptor() ([]byte, []int)
func (*PseudonymsysTranscriptEC) GetA ¶
func (m *PseudonymsysTranscriptEC) GetA() *ECGroupElement
func (*PseudonymsysTranscriptEC) GetB ¶
func (m *PseudonymsysTranscriptEC) GetB() *ECGroupElement
func (*PseudonymsysTranscriptEC) GetHash ¶
func (m *PseudonymsysTranscriptEC) GetHash() []byte
func (*PseudonymsysTranscriptEC) GetZAlpha ¶
func (m *PseudonymsysTranscriptEC) GetZAlpha() []byte
func (*PseudonymsysTranscriptEC) ProtoMessage ¶
func (*PseudonymsysTranscriptEC) ProtoMessage()
func (*PseudonymsysTranscriptEC) Reset ¶
func (m *PseudonymsysTranscriptEC) Reset()
func (*PseudonymsysTranscriptEC) String ¶
func (m *PseudonymsysTranscriptEC) String() string
type PseudonymsysTransferCredentialData ¶
type PseudonymsysTransferCredentialData struct { OrgName string `protobuf:"bytes,1,opt,name=OrgName" json:"OrgName,omitempty"` X1 []byte `protobuf:"bytes,2,opt,name=X1,proto3" json:"X1,omitempty"` X2 []byte `protobuf:"bytes,3,opt,name=X2,proto3" json:"X2,omitempty"` NymA []byte `protobuf:"bytes,4,opt,name=NymA,proto3" json:"NymA,omitempty"` NymB []byte `protobuf:"bytes,5,opt,name=NymB,proto3" json:"NymB,omitempty"` Credential *PseudonymsysCredential `protobuf:"bytes,6,opt,name=Credential" json:"Credential,omitempty"` }
func (*PseudonymsysTransferCredentialData) Descriptor ¶
func (*PseudonymsysTransferCredentialData) Descriptor() ([]byte, []int)
func (*PseudonymsysTransferCredentialData) GetCredential ¶
func (m *PseudonymsysTransferCredentialData) GetCredential() *PseudonymsysCredential
func (*PseudonymsysTransferCredentialData) GetNymA ¶
func (m *PseudonymsysTransferCredentialData) GetNymA() []byte
func (*PseudonymsysTransferCredentialData) GetNymB ¶
func (m *PseudonymsysTransferCredentialData) GetNymB() []byte
func (*PseudonymsysTransferCredentialData) GetOrgName ¶
func (m *PseudonymsysTransferCredentialData) GetOrgName() string
func (*PseudonymsysTransferCredentialData) GetX1 ¶
func (m *PseudonymsysTransferCredentialData) GetX1() []byte
func (*PseudonymsysTransferCredentialData) GetX2 ¶
func (m *PseudonymsysTransferCredentialData) GetX2() []byte
func (*PseudonymsysTransferCredentialData) ProtoMessage ¶
func (*PseudonymsysTransferCredentialData) ProtoMessage()
func (*PseudonymsysTransferCredentialData) Reset ¶
func (m *PseudonymsysTransferCredentialData) Reset()
func (*PseudonymsysTransferCredentialData) String ¶
func (m *PseudonymsysTransferCredentialData) String() string
type PseudonymsysTransferCredentialDataEC ¶
type PseudonymsysTransferCredentialDataEC struct { OrgName string `protobuf:"bytes,1,opt,name=OrgName" json:"OrgName,omitempty"` X1 *ECGroupElement `protobuf:"bytes,2,opt,name=X1" json:"X1,omitempty"` X2 *ECGroupElement `protobuf:"bytes,3,opt,name=X2" json:"X2,omitempty"` NymA *ECGroupElement `protobuf:"bytes,4,opt,name=NymA" json:"NymA,omitempty"` NymB *ECGroupElement `protobuf:"bytes,5,opt,name=NymB" json:"NymB,omitempty"` Credential *PseudonymsysCredentialEC `protobuf:"bytes,6,opt,name=Credential" json:"Credential,omitempty"` }
func (*PseudonymsysTransferCredentialDataEC) Descriptor ¶
func (*PseudonymsysTransferCredentialDataEC) Descriptor() ([]byte, []int)
func (*PseudonymsysTransferCredentialDataEC) GetCredential ¶
func (m *PseudonymsysTransferCredentialDataEC) GetCredential() *PseudonymsysCredentialEC
func (*PseudonymsysTransferCredentialDataEC) GetNymA ¶
func (m *PseudonymsysTransferCredentialDataEC) GetNymA() *ECGroupElement
func (*PseudonymsysTransferCredentialDataEC) GetNymB ¶
func (m *PseudonymsysTransferCredentialDataEC) GetNymB() *ECGroupElement
func (*PseudonymsysTransferCredentialDataEC) GetOrgName ¶
func (m *PseudonymsysTransferCredentialDataEC) GetOrgName() string
func (*PseudonymsysTransferCredentialDataEC) GetX1 ¶
func (m *PseudonymsysTransferCredentialDataEC) GetX1() *ECGroupElement
func (*PseudonymsysTransferCredentialDataEC) GetX2 ¶
func (m *PseudonymsysTransferCredentialDataEC) GetX2() *ECGroupElement
func (*PseudonymsysTransferCredentialDataEC) ProtoMessage ¶
func (*PseudonymsysTransferCredentialDataEC) ProtoMessage()
func (*PseudonymsysTransferCredentialDataEC) Reset ¶
func (m *PseudonymsysTransferCredentialDataEC) Reset()
func (*PseudonymsysTransferCredentialDataEC) String ¶
func (m *PseudonymsysTransferCredentialDataEC) String() string
type RegKey ¶
type RegKey struct {
RegKey string `protobuf:"bytes,1,opt,name=RegKey" json:"RegKey,omitempty"`
}
func (*RegKey) Descriptor ¶
func (*RegKey) ProtoMessage ¶
func (*RegKey) ProtoMessage()
type SchnorrECProofRandomData ¶
type SchnorrECProofRandomData struct { X *ECGroupElement `protobuf:"bytes,1,opt,name=X" json:"X,omitempty"` A *ECGroupElement `protobuf:"bytes,2,opt,name=A" json:"A,omitempty"` B *ECGroupElement `protobuf:"bytes,3,opt,name=B" json:"B,omitempty"` }
func (*SchnorrECProofRandomData) Descriptor ¶
func (*SchnorrECProofRandomData) Descriptor() ([]byte, []int)
func (*SchnorrECProofRandomData) GetA ¶
func (m *SchnorrECProofRandomData) GetA() *ECGroupElement
func (*SchnorrECProofRandomData) GetB ¶
func (m *SchnorrECProofRandomData) GetB() *ECGroupElement
func (*SchnorrECProofRandomData) GetX ¶
func (m *SchnorrECProofRandomData) GetX() *ECGroupElement
func (*SchnorrECProofRandomData) ProtoMessage ¶
func (*SchnorrECProofRandomData) ProtoMessage()
func (*SchnorrECProofRandomData) Reset ¶
func (m *SchnorrECProofRandomData) Reset()
func (*SchnorrECProofRandomData) String ¶
func (m *SchnorrECProofRandomData) String() string
type SchnorrProofData ¶
type SchnorrProofData struct {
Z []byte `protobuf:"bytes,1,opt,name=Z,proto3" json:"Z,omitempty"`
}
func (*SchnorrProofData) Descriptor ¶
func (*SchnorrProofData) Descriptor() ([]byte, []int)
func (*SchnorrProofData) GetZ ¶
func (m *SchnorrProofData) GetZ() []byte
func (*SchnorrProofData) ProtoMessage ¶
func (*SchnorrProofData) ProtoMessage()
func (*SchnorrProofData) Reset ¶
func (m *SchnorrProofData) Reset()
func (*SchnorrProofData) String ¶
func (m *SchnorrProofData) String() string
type SchnorrProofRandomData ¶
type SchnorrProofRandomData struct { X []byte `protobuf:"bytes,1,opt,name=X,proto3" json:"X,omitempty"` A []byte `protobuf:"bytes,2,opt,name=A,proto3" json:"A,omitempty"` B []byte `protobuf:"bytes,3,opt,name=B,proto3" json:"B,omitempty"` }
func (*SchnorrProofRandomData) Descriptor ¶
func (*SchnorrProofRandomData) Descriptor() ([]byte, []int)
func (*SchnorrProofRandomData) GetA ¶
func (m *SchnorrProofRandomData) GetA() []byte
func (*SchnorrProofRandomData) GetB ¶
func (m *SchnorrProofRandomData) GetB() []byte
func (*SchnorrProofRandomData) GetX ¶
func (m *SchnorrProofRandomData) GetX() []byte
func (*SchnorrProofRandomData) ProtoMessage ¶
func (*SchnorrProofRandomData) ProtoMessage()
func (*SchnorrProofRandomData) Reset ¶
func (m *SchnorrProofRandomData) Reset()
func (*SchnorrProofRandomData) String ¶
func (m *SchnorrProofRandomData) String() string
type ServerStream ¶
ServerStream is an interface that fits all the auto-generated server stream interfaces declared within this package.
type ServiceInfo ¶
type ServiceInfo struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider" json:"provider,omitempty"` }
func (*ServiceInfo) Descriptor ¶
func (*ServiceInfo) Descriptor() ([]byte, []int)
func (*ServiceInfo) GetDescription ¶
func (m *ServiceInfo) GetDescription() string
func (*ServiceInfo) GetName ¶
func (m *ServiceInfo) GetName() string
func (*ServiceInfo) GetProvider ¶
func (m *ServiceInfo) GetProvider() string
func (*ServiceInfo) ProtoMessage ¶
func (*ServiceInfo) ProtoMessage()
func (*ServiceInfo) Reset ¶
func (m *ServiceInfo) Reset()
func (*ServiceInfo) String ¶
func (m *ServiceInfo) String() string
type SessionKey ¶
type SessionKey struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
func (*SessionKey) Descriptor ¶
func (*SessionKey) Descriptor() ([]byte, []int)
func (*SessionKey) GetValue ¶
func (m *SessionKey) GetValue() string
func (*SessionKey) ProtoMessage ¶
func (*SessionKey) ProtoMessage()
func (*SessionKey) Reset ¶
func (m *SessionKey) Reset()
func (*SessionKey) String ¶
func (m *SessionKey) String() string
type Status ¶
type Status struct {
Success bool `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
}
func (*Status) Descriptor ¶
func (*Status) GetSuccess ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
type StringAttribute ¶
type StringAttribute struct {
Attr *Attribute `protobuf:"bytes,2,opt,name=attr" json:"attr,omitempty"`
}
func (*StringAttribute) Descriptor ¶
func (*StringAttribute) Descriptor() ([]byte, []int)
func (*StringAttribute) GetAttr ¶
func (m *StringAttribute) GetAttr() *Attribute
func (*StringAttribute) ProtoMessage ¶
func (*StringAttribute) ProtoMessage()
func (*StringAttribute) Reset ¶
func (m *StringAttribute) Reset()
func (*StringAttribute) String ¶
func (m *StringAttribute) String() string
type UpdateCLCredential ¶
type UpdateCLCredential struct { Nym []byte `protobuf:"bytes,1,opt,name=Nym,proto3" json:"Nym,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=Nonce,proto3" json:"Nonce,omitempty"` NewKnownAttrs [][]byte `protobuf:"bytes,3,rep,name=NewKnownAttrs,proto3" json:"NewKnownAttrs,omitempty"` }
func ToPbUpdateCLCredential ¶
func ToPbUpdateCLCredential(nym, nonce *big.Int, newKnownAttrs []*big.Int) *UpdateCLCredential
func (*UpdateCLCredential) Descriptor ¶
func (*UpdateCLCredential) Descriptor() ([]byte, []int)
func (*UpdateCLCredential) GetNativeType ¶
func (*UpdateCLCredential) GetNewKnownAttrs ¶
func (m *UpdateCLCredential) GetNewKnownAttrs() [][]byte
func (*UpdateCLCredential) GetNonce ¶
func (m *UpdateCLCredential) GetNonce() []byte
func (*UpdateCLCredential) GetNym ¶
func (m *UpdateCLCredential) GetNym() []byte
func (*UpdateCLCredential) ProtoMessage ¶
func (*UpdateCLCredential) ProtoMessage()
func (*UpdateCLCredential) Reset ¶
func (m *UpdateCLCredential) Reset()
func (*UpdateCLCredential) String ¶
func (m *UpdateCLCredential) String() string
Click to show internal directories.
Click to hide internal directories.