Class: COSE::Algorithm::RSAPSS
- Inherits:
-
SignatureAlgorithm
- Object
- Base
- SignatureAlgorithm
- COSE::Algorithm::RSAPSS
- Defined in:
- lib/cose/algorithm/rsa_pss.rb
Instance Attribute Summary collapse
-
#hash_function ⇒ Object
readonly
Returns the value of attribute hash_function.
-
#salt_length ⇒ Object
readonly
Returns the value of attribute salt_length.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(*args, hash_function:, salt_length:) ⇒ RSAPSS
constructor
A new instance of RSAPSS.
Methods inherited from SignatureAlgorithm
Constructor Details
#initialize(*args, hash_function:, salt_length:) ⇒ RSAPSS
Returns a new instance of RSAPSS.
14 15 16 17 18 19 |
# File 'lib/cose/algorithm/rsa_pss.rb', line 14 def initialize(*args, hash_function:, salt_length:) super(*args) @hash_function = hash_function @salt_length = salt_length end |
Instance Attribute Details
#hash_function ⇒ Object (readonly)
Returns the value of attribute hash_function.
12 13 14 |
# File 'lib/cose/algorithm/rsa_pss.rb', line 12 def hash_function @hash_function end |
#salt_length ⇒ Object (readonly)
Returns the value of attribute salt_length.
12 13 14 |
# File 'lib/cose/algorithm/rsa_pss.rb', line 12 def salt_length @salt_length end |