security

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHmacSig added in v0.0.2

func CheckHmacSig(sigCovered enc.Wire, sigValue []byte, key []byte) bool

func NewEmptySigner

func NewEmptySigner() ndn.Signer

NewEmptySigner creates an empty signer for test.

func NewHmacIntSigner added in v0.0.2

func NewHmacIntSigner(key []byte, timer ndn.Timer) ndn.Signer

NewHmacIntSigner creates an Interest signer that uses DigestSha256.

func NewHmacSigner added in v0.0.2

func NewHmacSigner(keyName enc.Name, key []byte, forCert bool, expireTime time.Duration) ndn.Signer

NewHmacSigner creates a Data signer that uses DigestSha256.

func NewSha256IntSigner

func NewSha256IntSigner(timer ndn.Timer) ndn.Signer

NewSha256IntSigner creates an Interest signer that uses DigestSha256.

func NewSha256Signer

func NewSha256Signer() ndn.Signer

NewSha256Signer creates a Data signer that uses DigestSha256.

Types

This section is empty.

Jump to

Keyboard shortcuts

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