generic

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deriver

type Deriver struct {
	Proto drkey.Protocol
}

Deriver implements the level 2/3 generic drkey derivation.

func (Deriver) DeriveASHost

func (d Deriver) DeriveASHost(
	dstHost string,
	key drkey.Key,
) (drkey.Key, error)

DeriveASHost returns the ASHost derived key.

func (Deriver) DeriveHostAS

func (d Deriver) DeriveHostAS(
	srcHost string,
	key drkey.Key,
) (drkey.Key, error)

DeriveHostAS returns the HostAS derived key.

func (Deriver) DeriveHostHost

func (d Deriver) DeriveHostHost(
	dstHost string,
	key drkey.Key,
) (drkey.Key, error)

DeriveHostHost returns the HostHost derived key.

Jump to

Keyboard shortcuts

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