Add const for KSK/ZSK and REVOKE

This commit is contained in:
Miek Gieben 2011-03-03 11:45:33 +01:00
parent 47d5db5392
commit 115309962a
1 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,13 @@ const (
HashGOST94
)
// DNSKEY flags values.
const (
KSK = 1
ZSK = 1 << 8
REVOKE = 1 << 7
)
// The RRSIG needs to be converted to wireformat with some of
// the rdata (the signature) missing. Use this struct to easy
// the conversion (and re-use the pack/unpack functions).