Documentation ¶
Index ¶
- Variables
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)
- func (m *Credential) GetData() *Data
- func (m *Credential) GetVerification() *Verification
- func (*Credential) ProtoMessage()
- func (m *Credential) Reset()
- func (m *Credential) String() string
- func (m *Credential) XXX_DiscardUnknown()
- func (m *Credential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Credential) XXX_Merge(src proto.Message)
- func (m *Credential) XXX_Size() int
- func (m *Credential) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetCoreData() *_struct.Struct
- func (m *Data) GetDateEarned() string
- func (m *Data) GetRecipientPub() string
- func (m *Data) GetTemplate() *templates_pb.Template
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type Issue
- func (*Issue) Descriptor() ([]byte, []int)
- func (m *Issue) GetParams() *Credential
- func (m *Issue) GetTemplateAddress() string
- func (*Issue) ProtoMessage()
- func (m *Issue) Reset()
- func (m *Issue) String() string
- func (m *Issue) XXX_DiscardUnknown()
- func (m *Issue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Issue) XXX_Merge(src proto.Message)
- func (m *Issue) XXX_Size() int
- func (m *Issue) XXX_Unmarshal(b []byte) error
- type IssuingEngineReceipt
- func (*IssuingEngineReceipt) Descriptor() ([]byte, []int)
- func (m *IssuingEngineReceipt) GetCredential() *Credential
- func (m *IssuingEngineReceipt) GetDate() int64
- func (m *IssuingEngineReceipt) GetRpcMethod() Method
- func (m *IssuingEngineReceipt) GetStateAddress() string
- func (*IssuingEngineReceipt) ProtoMessage()
- func (m *IssuingEngineReceipt) Reset()
- func (m *IssuingEngineReceipt) String() string
- func (m *IssuingEngineReceipt) XXX_DiscardUnknown()
- func (m *IssuingEngineReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IssuingEngineReceipt) XXX_Merge(src proto.Message)
- func (m *IssuingEngineReceipt) XXX_Size() int
- func (m *IssuingEngineReceipt) XXX_Unmarshal(b []byte) error
- type Method
- type RPCRequest
- func (*RPCRequest) Descriptor() ([]byte, []int)
- func (m *RPCRequest) GetIssue() *Issue
- func (m *RPCRequest) GetMethod() isRPCRequest_Method
- func (m *RPCRequest) GetRevoke() *Revoke
- func (*RPCRequest) ProtoMessage()
- func (m *RPCRequest) Reset()
- func (m *RPCRequest) String() string
- func (m *RPCRequest) XXX_DiscardUnknown()
- func (m *RPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RPCRequest) XXX_Merge(src proto.Message)
- func (*RPCRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *RPCRequest) XXX_Size() int
- func (m *RPCRequest) XXX_Unmarshal(b []byte) error
- type RPCRequest_Issue
- type RPCRequest_Revoke
- type RevocationStatus
- func (*RevocationStatus) Descriptor() ([]byte, []int)
- func (m *RevocationStatus) GetIsRevoked() bool
- func (m *RevocationStatus) GetRevokedAt() *timestamp.Timestamp
- func (*RevocationStatus) ProtoMessage()
- func (m *RevocationStatus) Reset()
- func (m *RevocationStatus) String() string
- func (m *RevocationStatus) XXX_DiscardUnknown()
- func (m *RevocationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RevocationStatus) XXX_Merge(src proto.Message)
- func (m *RevocationStatus) XXX_Size() int
- func (m *RevocationStatus) XXX_Unmarshal(b []byte) error
- type Revoke
- func (*Revoke) Descriptor() ([]byte, []int)
- func (m *Revoke) GetAddresses() []string
- func (*Revoke) ProtoMessage()
- func (m *Revoke) Reset()
- func (m *Revoke) String() string
- func (m *Revoke) XXX_DiscardUnknown()
- func (m *Revoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Revoke) XXX_Merge(src proto.Message)
- func (m *Revoke) XXX_Size() int
- func (m *Revoke) XXX_Unmarshal(b []byte) error
- type Verification
- func (*Verification) Descriptor() ([]byte, []int)
- func (m *Verification) GetExpiration() *timestamp.Timestamp
- func (m *Verification) GetIpfsFileName() string
- func (m *Verification) GetIpfsHash() string
- func (m *Verification) GetIssuerPub() string
- func (m *Verification) GetProofOfIntegrityHash() string
- func (m *Verification) GetRecipientPub() string
- func (m *Verification) GetRevocationStatus() *RevocationStatus
- func (m *Verification) GetSignature() string
- func (*Verification) ProtoMessage()
- func (m *Verification) Reset()
- func (m *Verification) String() string
- func (m *Verification) XXX_DiscardUnknown()
- func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Verification) XXX_Merge(src proto.Message)
- func (m *Verification) XXX_Size() int
- func (m *Verification) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Method_name = map[int32]string{
0: "ISSUE",
1: "REVOKE",
}
View Source
var Method_value = map[string]int32{
"ISSUE": 0,
"REVOKE": 1,
}
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { Data *Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Verification *Verification `protobuf:"bytes,2,opt,name=verification,proto3" json:"verification,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Credential) Descriptor ¶
func (*Credential) Descriptor() ([]byte, []int)
func (*Credential) GetData ¶
func (m *Credential) GetData() *Data
func (*Credential) GetVerification ¶
func (m *Credential) GetVerification() *Verification
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) Reset ¶
func (m *Credential) Reset()
func (*Credential) String ¶
func (m *Credential) String() string
func (*Credential) XXX_DiscardUnknown ¶
func (m *Credential) XXX_DiscardUnknown()
func (*Credential) XXX_Marshal ¶
func (m *Credential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Credential) XXX_Merge ¶
func (dst *Credential) XXX_Merge(src proto.Message)
func (*Credential) XXX_Size ¶
func (m *Credential) XXX_Size() int
func (*Credential) XXX_Unmarshal ¶
func (m *Credential) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct { Template *templates_pb.Template `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` RecipientPub string `protobuf:"bytes,2,opt,name=recipient_pub,json=recipientPub,proto3" json:"recipient_pub,omitempty"` DateEarned string `protobuf:"bytes,3,opt,name=date_earned,json=dateEarned,proto3" json:"date_earned,omitempty"` CoreData *_struct.Struct `protobuf:"bytes,4,opt,name=core_data,json=coreData,proto3" json:"core_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Data) Descriptor ¶
func (*Data) GetCoreData ¶
func (*Data) GetDateEarned ¶
func (*Data) GetRecipientPub ¶
func (*Data) GetTemplate ¶
func (m *Data) GetTemplate() *templates_pb.Template
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type Issue ¶
type Issue struct { Params *Credential `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` TemplateAddress string `protobuf:"bytes,2,opt,name=template_address,json=templateAddress,proto3" json:"template_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Issue) Descriptor ¶
func (*Issue) GetParams ¶
func (m *Issue) GetParams() *Credential
func (*Issue) GetTemplateAddress ¶
func (*Issue) ProtoMessage ¶
func (*Issue) ProtoMessage()
func (*Issue) XXX_DiscardUnknown ¶
func (m *Issue) XXX_DiscardUnknown()
func (*Issue) XXX_Marshal ¶
func (*Issue) XXX_Unmarshal ¶
type IssuingEngineReceipt ¶
type IssuingEngineReceipt struct { Date int64 `protobuf:"varint,1,opt,name=date,proto3" json:"date,omitempty"` StateAddress string `protobuf:"bytes,2,opt,name=state_address,json=stateAddress,proto3" json:"state_address,omitempty"` RpcMethod Method `protobuf:"varint,3,opt,name=rpc_method,json=rpcMethod,proto3,enum=credential_pb.Method" json:"rpc_method,omitempty"` Credential *Credential `protobuf:"bytes,4,opt,name=credential,proto3" json:"credential,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IssuingEngineReceipt) Descriptor ¶
func (*IssuingEngineReceipt) Descriptor() ([]byte, []int)
func (*IssuingEngineReceipt) GetCredential ¶
func (m *IssuingEngineReceipt) GetCredential() *Credential
func (*IssuingEngineReceipt) GetDate ¶
func (m *IssuingEngineReceipt) GetDate() int64
func (*IssuingEngineReceipt) GetRpcMethod ¶
func (m *IssuingEngineReceipt) GetRpcMethod() Method
func (*IssuingEngineReceipt) GetStateAddress ¶
func (m *IssuingEngineReceipt) GetStateAddress() string
func (*IssuingEngineReceipt) ProtoMessage ¶
func (*IssuingEngineReceipt) ProtoMessage()
func (*IssuingEngineReceipt) Reset ¶
func (m *IssuingEngineReceipt) Reset()
func (*IssuingEngineReceipt) String ¶
func (m *IssuingEngineReceipt) String() string
func (*IssuingEngineReceipt) XXX_DiscardUnknown ¶
func (m *IssuingEngineReceipt) XXX_DiscardUnknown()
func (*IssuingEngineReceipt) XXX_Marshal ¶
func (m *IssuingEngineReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssuingEngineReceipt) XXX_Merge ¶
func (dst *IssuingEngineReceipt) XXX_Merge(src proto.Message)
func (*IssuingEngineReceipt) XXX_Size ¶
func (m *IssuingEngineReceipt) XXX_Size() int
func (*IssuingEngineReceipt) XXX_Unmarshal ¶
func (m *IssuingEngineReceipt) XXX_Unmarshal(b []byte) error
type RPCRequest ¶
type RPCRequest struct { // Types that are valid to be assigned to Method: // *RPCRequest_Issue // *RPCRequest_Revoke Method isRPCRequest_Method `protobuf_oneof:"method"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RPCRequest) Descriptor ¶
func (*RPCRequest) Descriptor() ([]byte, []int)
func (*RPCRequest) GetIssue ¶
func (m *RPCRequest) GetIssue() *Issue
func (*RPCRequest) GetMethod ¶
func (m *RPCRequest) GetMethod() isRPCRequest_Method
func (*RPCRequest) GetRevoke ¶
func (m *RPCRequest) GetRevoke() *Revoke
func (*RPCRequest) ProtoMessage ¶
func (*RPCRequest) ProtoMessage()
func (*RPCRequest) Reset ¶
func (m *RPCRequest) Reset()
func (*RPCRequest) String ¶
func (m *RPCRequest) String() string
func (*RPCRequest) XXX_DiscardUnknown ¶
func (m *RPCRequest) XXX_DiscardUnknown()
func (*RPCRequest) XXX_Marshal ¶
func (m *RPCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RPCRequest) XXX_Merge ¶
func (dst *RPCRequest) XXX_Merge(src proto.Message)
func (*RPCRequest) XXX_OneofFuncs ¶
func (*RPCRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*RPCRequest) XXX_Size ¶
func (m *RPCRequest) XXX_Size() int
func (*RPCRequest) XXX_Unmarshal ¶
func (m *RPCRequest) XXX_Unmarshal(b []byte) error
type RPCRequest_Issue ¶
type RPCRequest_Issue struct {
Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3,oneof"`
}
type RPCRequest_Revoke ¶
type RPCRequest_Revoke struct {
Revoke *Revoke `protobuf:"bytes,2,opt,name=revoke,proto3,oneof"`
}
type RevocationStatus ¶
type RevocationStatus struct { IsRevoked bool `protobuf:"varint,1,opt,name=isRevoked,proto3" json:"isRevoked,omitempty"` RevokedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=revokedAt,proto3" json:"revokedAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RevocationStatus) Descriptor ¶
func (*RevocationStatus) Descriptor() ([]byte, []int)
func (*RevocationStatus) GetIsRevoked ¶
func (m *RevocationStatus) GetIsRevoked() bool
func (*RevocationStatus) GetRevokedAt ¶
func (m *RevocationStatus) GetRevokedAt() *timestamp.Timestamp
func (*RevocationStatus) ProtoMessage ¶
func (*RevocationStatus) ProtoMessage()
func (*RevocationStatus) Reset ¶
func (m *RevocationStatus) Reset()
func (*RevocationStatus) String ¶
func (m *RevocationStatus) String() string
func (*RevocationStatus) XXX_DiscardUnknown ¶
func (m *RevocationStatus) XXX_DiscardUnknown()
func (*RevocationStatus) XXX_Marshal ¶
func (m *RevocationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevocationStatus) XXX_Merge ¶
func (dst *RevocationStatus) XXX_Merge(src proto.Message)
func (*RevocationStatus) XXX_Size ¶
func (m *RevocationStatus) XXX_Size() int
func (*RevocationStatus) XXX_Unmarshal ¶
func (m *RevocationStatus) XXX_Unmarshal(b []byte) error
type Revoke ¶
type Revoke struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Revoke) Descriptor ¶
func (*Revoke) GetAddresses ¶
func (*Revoke) ProtoMessage ¶
func (*Revoke) ProtoMessage()
func (*Revoke) XXX_DiscardUnknown ¶
func (m *Revoke) XXX_DiscardUnknown()
func (*Revoke) XXX_Marshal ¶
func (*Revoke) XXX_Unmarshal ¶
type Verification ¶
type Verification struct { RecipientPub string `protobuf:"bytes,1,opt,name=recipient_pub,json=recipientPub,proto3" json:"recipient_pub,omitempty"` IssuerPub string `protobuf:"bytes,2,opt,name=issuer_pub,json=issuerPub,proto3" json:"issuer_pub,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` ProofOfIntegrityHash string `protobuf:"bytes,4,opt,name=proof_of_integrity_hash,json=proofOfIntegrityHash,proto3" json:"proof_of_integrity_hash,omitempty"` Expiration *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` RevocationStatus *RevocationStatus `protobuf:"bytes,6,opt,name=revocation_status,json=revocationStatus,proto3" json:"revocation_status,omitempty"` IpfsHash string `protobuf:"bytes,7,opt,name=ipfs_hash,json=ipfsHash,proto3" json:"ipfs_hash,omitempty"` IpfsFileName string `protobuf:"bytes,8,opt,name=ipfs_file_name,json=ipfsFileName,proto3" json:"ipfs_file_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Verification) Descriptor ¶
func (*Verification) Descriptor() ([]byte, []int)
func (*Verification) GetExpiration ¶
func (m *Verification) GetExpiration() *timestamp.Timestamp
func (*Verification) GetIpfsFileName ¶
func (m *Verification) GetIpfsFileName() string
func (*Verification) GetIpfsHash ¶
func (m *Verification) GetIpfsHash() string
func (*Verification) GetIssuerPub ¶
func (m *Verification) GetIssuerPub() string
func (*Verification) GetProofOfIntegrityHash ¶
func (m *Verification) GetProofOfIntegrityHash() string
func (*Verification) GetRecipientPub ¶
func (m *Verification) GetRecipientPub() string
func (*Verification) GetRevocationStatus ¶
func (m *Verification) GetRevocationStatus() *RevocationStatus
func (*Verification) GetSignature ¶
func (m *Verification) GetSignature() string
func (*Verification) ProtoMessage ¶
func (*Verification) ProtoMessage()
func (*Verification) Reset ¶
func (m *Verification) Reset()
func (*Verification) String ¶
func (m *Verification) String() string
func (*Verification) XXX_DiscardUnknown ¶
func (m *Verification) XXX_DiscardUnknown()
func (*Verification) XXX_Marshal ¶
func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Verification) XXX_Merge ¶
func (dst *Verification) XXX_Merge(src proto.Message)
func (*Verification) XXX_Size ¶
func (m *Verification) XXX_Size() int
func (*Verification) XXX_Unmarshal ¶
func (m *Verification) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.