Documentation ¶
Overview ¶
Package opaque holds the functions and structures to perform OPAQUE registration and authentication https://github.com/cfrg/draft-irtf-cfrg-opaque
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opaque ¶
type Opaque struct { Type Type // The type of OPAQUE message from the constants Payload []byte // OPAQUE payload data }
Opaque is a structure embedded into Merlin Base messages as a payload used to complete OPAQUE registration and authentication
type Type ¶
type Type int
Type represents the type of OPAQUE message
const ( // Undefined is the default value when a Type was not set Undefined Type = iota // RegInit is used to denote that the embedded payload contains data for the OPAQUE protocol Registration Initialization step RegInit // RegComplete is used to denote that the embedded payload contains data for the OPAQUE protocol Registration Complete step RegComplete // AuthInit is used to denote that the embedded payload contains data for the OPAQUE protocol Authorization Initialization step AuthInit // AuthComplete is used to denote that the embedded payload contains data for the OPAQUE protocol Authorization Complete step AuthComplete // ReRegister is used to instruct the Agent it needs to execute the OPAQUE Registration process with the server ReRegister // ReAuthenticate is used to instruct the Agent it needs to execute the OPAQUE Authentication process with the server ReAuthenticate )
Click to show internal directories.
Click to hide internal directories.