Make signing a method of DNSKEY

This commit is contained in:
Miek Gieben 2011-01-13 17:14:14 +01:00
parent af1d7ba702
commit 728b575b60
1 changed files with 5 additions and 0 deletions

View File

@ -110,6 +110,11 @@ func (k *RR_DNSKEY) ToDS(h int) *RR_DS {
return ds
}
// Sign rrset with k and return the signature RR.
func (k *RR_DNSKEY) Sign(rrset RRset) (*RR_RRSIG) {
return nil
}
// Validate an rrset with the signature and key. This is the
// cryptographic test, the validity period most be check separately.
func (s *RR_RRSIG) Verify(k *RR_DNSKEY, rrset RRset) bool {