Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HmacAlgorithm ¶
type HmacAlgorithm int
const ( HmacUnsupported HmacAlgorithm = iota HmacSHA1 HmacSHA224 HmacSHA256 HmacSHA384 HmacSHA512 )
func NewHmac ¶
func NewHmac(algorithm string) (HmacAlgorithm, error)
type TsigKeyring ¶
func NewTsigKeyring ¶
func NewTsigKeyring() TsigKeyring
func (TsigKeyring) AddEncodedKey ¶
func (keyring TsigKeyring) AddEncodedKey(name string, key string) error
func (TsigKeyring) HasKey ¶
func (keyring TsigKeyring) HasKey(name string) bool
func (TsigKeyring) Key ¶
func (keyring TsigKeyring) Key(name string) TsigKey
type TsigProvider ¶
type TsigProvider struct {
// contains filtered or unexported fields
}
func NewTsigProvider ¶
func NewTsigProvider(keyring *TsigKeyring, logger *zap.SugaredLogger) *TsigProvider
Click to show internal directories.
Click to hide internal directories.