Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DHNIKE = &dhNIKE{}
DHNIKE is essentially a factory type that builds various types related to the DiffieHellman NIKE interface implementation.
Functions ¶
This section is empty.
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
func (*PrivateKey) Bytes ¶
func (p *PrivateKey) Bytes() []byte
func (*PrivateKey) CyclicInt ¶
func (p *PrivateKey) CyclicInt() *cyclic.Int
func (*PrivateKey) DeriveSecret ¶
func (p *PrivateKey) DeriveSecret(pubKey nike.PublicKey) []byte
func (*PrivateKey) FromBytes ¶
func (p *PrivateKey) FromBytes(data []byte) error
func (*PrivateKey) Reset ¶
func (p *PrivateKey) Reset()
func (*PrivateKey) Scheme ¶
func (p *PrivateKey) Scheme() nike.Nike
Click to show internal directories.
Click to hide internal directories.