start with nsec3 proving
This commit is contained in:
parent
af63a2f45d
commit
c5c1a0eecc
16
nsec3.go
16
nsec3.go
|
@ -5,6 +5,7 @@ import (
|
|||
"hash"
|
||||
"strings"
|
||||
"crypto/sha1"
|
||||
"os"
|
||||
)
|
||||
|
||||
type saltWireFmt struct {
|
||||
|
@ -57,3 +58,18 @@ func (nsec3 *RR_NSEC3) HashNames() {
|
|||
nsec3.Header().Name = HashName(nsec3.Header().Name, int(nsec3.Hash), int(nsec3.Iterations), nsec3.Salt)
|
||||
nsec3.NextDomain = HashName(nsec3.NextDomain, int(nsec3.Hash), int(nsec3.Iterations), nsec3.Salt)
|
||||
}
|
||||
|
||||
// NsecVerify verifies the negative response (NXDOMAIN/NODATA) in
|
||||
// the message m.
|
||||
// NsecVerify returns nil when the NSECs in the message contain
|
||||
// the correct proof. This function does not validates the NSECs
|
||||
func (m *Msg) NsecVerify(q Question) os.Error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// Nsec3Verify verifies ...
|
||||
func (m *Msg) Nsec3Verify(q Question) os.Error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue