Class: RSAPKCS1Algorithm
- Inherits:
-
COSE::Algorithm::SignatureAlgorithm
- Object
- COSE::Algorithm::SignatureAlgorithm
- RSAPKCS1Algorithm
- Defined in:
- lib/cose/rsapkcs1_algorithm.rb
Instance Attribute Summary collapse
-
#hash_function ⇒ Object
readonly
Returns the value of attribute hash_function.
Instance Method Summary collapse
-
#initialize(*args, hash_function:) ⇒ RSAPKCS1Algorithm
constructor
A new instance of RSAPKCS1Algorithm.
Constructor Details
#initialize(*args, hash_function:) ⇒ RSAPKCS1Algorithm
Returns a new instance of RSAPKCS1Algorithm.
12 13 14 15 16 |
# File 'lib/cose/rsapkcs1_algorithm.rb', line 12 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.
10 11 12 |
# File 'lib/cose/rsapkcs1_algorithm.rb', line 10 def hash_function @hash_function end |