Class: COSE::Algorithm::RSAPKCS1
- Inherits:
-
SignatureAlgorithm
- Object
- SignatureAlgorithm
- COSE::Algorithm::RSAPKCS1
- Defined in:
- lib/freedom_patches/cose_rsapkcs1.rb
Instance Attribute Summary collapse
-
#hash_function ⇒ Object
readonly
Returns the value of attribute hash_function.
Instance Method Summary collapse
-
#initialize(*args, hash_function:) ⇒ RSAPKCS1
constructor
A new instance of RSAPKCS1.
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_function ⇒ Object (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 |