message

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL