Class: COSE::Algorithm::RSAPKCS1

Inherits:
SignatureAlgorithm
  • Object
show all
Defined in:
lib/freedom_patches/cose_rsapkcs1.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args, hash_function:) ⇒ RSAPKCS1

Returns a new instance of RSAPKCS1.



18
19
20
21
22
# File 'lib/freedom_patches/cose_rsapkcs1.rb', line 18

def initialize(*args, hash_function:)
  super(*args)

  @hash_function = hash_function
end

Instance Attribute Details

#hash_functionObject (readonly)

Returns the value of attribute hash_function.



16
17
18
# File 'lib/freedom_patches/cose_rsapkcs1.rb', line 16

def hash_function
  @hash_function
end