lib/cose/key/base.rb in cose-0.4.0 vs lib/cose/key/base.rb in cose-0.4.1
- old
+ new
@@ -3,9 +3,11 @@
require "cbor"
module COSE
module Key
class Base
+ LABEL_KTY = 1
+
def self.deserialize(cbor)
from_map(CBOR.decode(cbor))
end
def self.enforce_type(map, kty, error_message)