Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocMsgCreateIdentity ¶
type DocMsgCreateIdentity struct { Id string `bson:"id"` PubKey *PubKeyInfo `bson:"pubkey"` Certificate string `bson:"certificate"` Credentials string `bson:"credentials"` Owner string `bson:"owner"` Data string `bson:"data"` ExTemporary ExTemporary `bson:"ex"` }
MsgCreateIdentity defines a message to create an identity
func (*DocMsgCreateIdentity) BuildMsg ¶
func (m *DocMsgCreateIdentity) BuildMsg(v interface{})
func (*DocMsgCreateIdentity) GetType ¶
func (m *DocMsgCreateIdentity) GetType() string
func (*DocMsgCreateIdentity) HandleTxMsg ¶
func (m *DocMsgCreateIdentity) HandleTxMsg(v SdkMsg) MsgDocInfo
type DocMsgUpdateIdentity ¶
type DocMsgUpdateIdentity struct { Id string `bson:"id"` PubKey *PubKeyInfo `bson:"pubkey"` Certificate string `bson:"certificate"` Credentials string `bson:"credentials"` Owner string `bson:"owner"` Data string `bson:"data"` ExTemporary ExTemporary `bson:"ex"` }
DocMsgUpdateIdentity MsgUpdateIdentity defines a message to update an identity
func (*DocMsgUpdateIdentity) BuildMsg ¶
func (m *DocMsgUpdateIdentity) BuildMsg(v interface{})
func (*DocMsgUpdateIdentity) GetType ¶
func (m *DocMsgUpdateIdentity) GetType() string
func (*DocMsgUpdateIdentity) HandleTxMsg ¶
func (m *DocMsgUpdateIdentity) HandleTxMsg(v SdkMsg) MsgDocInfo
type ExTemporary ¶
type ExTemporary struct {
CertPubKey PubKeyInfo `bson:"cert_pub_key"`
}
type IdentityClient ¶
type IdentityClient struct { }
func NewClient ¶
func NewClient() IdentityClient
func (IdentityClient) HandleTxMsg ¶
func (nft IdentityClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)
type PubKeyInfo ¶
PubKey represents a public key along with the corresponding algorithm
Click to show internal directories.
Click to hide internal directories.