Documentation ¶
Index ¶
- func CheckHmacSig(sigCovered enc.Wire, sigValue []byte, key []byte) bool
- func NewEmptySigner() ndn.Signer
- func NewHmacIntSigner(key []byte, timer ndn.Timer) ndn.Signer
- func NewHmacSigner(keyName enc.Name, key []byte, forCert bool, expireTime time.Duration) ndn.Signer
- func NewSha256IntSigner(timer ndn.Timer) ndn.Signer
- func NewSha256Signer() ndn.Signer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHmacSig ¶ added in v0.0.2
func NewEmptySigner ¶
NewEmptySigner creates an empty signer for test.
func NewHmacIntSigner ¶ added in v0.0.2
NewHmacIntSigner creates an Interest signer that uses DigestSha256.
func NewHmacSigner ¶ added in v0.0.2
NewHmacSigner creates a Data signer that uses DigestSha256.
func NewSha256IntSigner ¶
NewSha256IntSigner creates an Interest signer that uses DigestSha256.
func NewSha256Signer ¶
NewSha256Signer creates a Data signer that uses DigestSha256.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.