Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RegInit is used to denote that the embedded payload contains data for the OPAQUE protocol Registration Initialization step RegInit = 1 // RegComplete is used to denote that the embedded payload contains data for the OPAQUE protocol Registration Complete step RegComplete = 2 // AuthInit is used to denote that the embedded payload contains data for the OPAQUE protocol Authorization Initialization step AuthInit = 3 // AuthComplete is used to denote that the embedded payload contains data for the OPAQUE protocol Authorization Complete step AuthComplete = 4 // ReRegister is used to instruct the Agent it needs to execute the OPAQUE Registration process with the server ReRegister = 5 // ReAuthenticate is used to instruct the Agent it needs to execute the OPAQUE Authentication process with the server ReAuthenticate = 6 )
Variables ¶
This section is empty.
Functions ¶
func ServerAuthenticateComplete ¶
ServerAuthenticateComplete consumes the Agent's authentication messages and finishes the authentication and key exchange
Types ¶
type Opaque ¶
type Opaque struct { Type int // The type of OPAQUE message from the constants Payload []byte // OPAQUE payload data }
Opaque is a structure that is embedded into Merlin messages as a payload used to complete OPAQUE registration and authentication
func ServerAuthenticateInit ¶
ServerAuthenticateInit is used to authenticate an agent leveraging the OPAQUE Password Authenticated Key Exchange (PAKE) protocol
type Server ¶
type Server struct { Kex *gopaque.KeyExchangeSigma // contains filtered or unexported fields }
Server is the structure that holds information for the various steps of the OPAQUE protocol as the server
Click to show internal directories.
Click to hide internal directories.