Documentation ¶
Overview ¶
Package message provides the internal credential recovery messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialRequest ¶
type CredentialRequest struct {
Data []byte `json:"data"`
}
CredentialRequest represents credential request message.
func (*CredentialRequest) Serialize ¶
func (c *CredentialRequest) Serialize() []byte
Serialize returns the byte encoding of CredentialRequest.
type CredentialResponse ¶
type CredentialResponse struct { Data []byte `json:"data"` MaskingNonce []byte `json:"mn"` MaskedResponse []byte `json:"mr"` }
CredentialResponse represents credential response message.
func (*CredentialResponse) Serialize ¶
func (c *CredentialResponse) Serialize() []byte
Serialize returns the byte encoding of CredentialResponse.
Click to show internal directories.
Click to hide internal directories.