Class: RSAPKCS1Algorithm

Inherits:
COSE::Algorithm::SignatureAlgorithm
  • Object
show all
Defined in:
lib/cose/rsapkcs1_algorithm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_functionObject (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