Documentation ¶
Index ¶
- Variables
- type EncryptedKey
- type EncryptedNothing
- type Handshake
- func (hs *Handshake) ConsumeRecipientResponse(sSec *ppk.PrivateKey, rPubTmp *ppk.PublicKey, enc *EncryptedNothing) error
- func (hs *Handshake) Exchange(cPub *ppk.PublicKey, cPubEnc *EncryptedKey) error
- func (hs *Handshake) Finalize(send, recv *[ppk.KeySize]byte) error
- func (hs *Handshake) InitializeRecipient(rSec *ppk.PrivateKey, cPubTmp *ppk.PublicKey) error
- func (hs *Handshake) InitializeSender(rPub *ppk.PublicKey) error
- func (hs *Handshake) PrepareRecipientResponse(sPubTmp, sPub *ppk.PublicKey, enc *EncryptedNothing) error
- func (hs *Handshake) PublicKey() ppk.PublicKey
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Handshake ¶
type Handshake struct {
// contains filtered or unexported fields
}
Handshake ...
func (*Handshake) ConsumeRecipientResponse ¶
func (hs *Handshake) ConsumeRecipientResponse(sSec *ppk.PrivateKey, rPubTmp *ppk.PublicKey, enc *EncryptedNothing) error
ConsumeRecipientResponse ...
func (*Handshake) Exchange ¶
func (hs *Handshake) Exchange(cPub *ppk.PublicKey, cPubEnc *EncryptedKey) error
Exchange ...
func (*Handshake) Finalize ¶
Finalize ...
func (*Handshake) InitializeRecipient ¶
InitializeRecipient ...
func (*Handshake) InitializeSender ¶
InitializeSender ...
Click to show internal directories.
Click to hide internal directories.