Class: Xmldsign::Algorithms::Gostr3411
- Inherits:
-
Object
- Object
- Xmldsign::Algorithms::Gostr3411
- Defined in:
- lib/xmldsign/algorithms.rb
Instance Method Summary collapse
- #execute(xml) ⇒ Object
-
#initialize(transform_node) ⇒ Gostr3411
constructor
A new instance of Gostr3411.
- #openssl ⇒ Object
Constructor Details
#initialize(transform_node) ⇒ Gostr3411
Returns a new instance of Gostr3411.
8 9 |
# File 'lib/xmldsign/algorithms.rb', line 8 def initialize(transform_node) end |
Instance Method Details
#execute(xml) ⇒ Object
11 12 13 |
# File 'lib/xmldsign/algorithms.rb', line 11 def execute(xml) Digests::Gost.base64(xml) end |
#openssl ⇒ Object
15 16 17 |
# File 'lib/xmldsign/algorithms.rb', line 15 def openssl @engine.digest(KEY) end |