lib/cose/algorithm/rsa_pss.rb in cose-0.11.0 vs lib/cose/algorithm/rsa_pss.rb in cose-1.0.0

- old
+ new

@@ -18,9 +18,13 @@ @salt_length = salt_length end private + def valid_key?(key) + to_cose_key(key).is_a?(COSE::Key::RSA) + end + def signature_algorithm_class OpenSSL::SignatureAlgorithm::RSAPSS end def to_pkey(key)