Story #107192666 - refactor, make data decl in Depp discript.+id, single point of modification

This commit is contained in:
Matt Farnsworth 2015-11-23 15:16:31 +02:00
parent 99f1a62518
commit 6c46daaa55

View file

@ -17,7 +17,7 @@ class Dnskey < ActiveRecord::Base
end
}
ALGORITHMS = %w(3 5 6 7 8 10 13 14)
ALGORITHMS = Depp::Dnskey::ALGORITHMS.map {|pair| pair[1].to_s}.freeze # IANA numbers, single authority list
PROTOCOLS = %w(3)
FLAGS = %w(0 256 257) # 256 = ZSK, 257 = KSK