Class: FinTS::Segment::HNVSK
- Inherits:
-
BaseSegment
- Object
- BaseSegment
- FinTS::Segment::HNVSK
- Defined in:
- lib/fints/segment/hnvsk.rb
Overview
HNVSK (Verschlüsselungskopf) Section B.5.3
Constant Summary collapse
- COMPRESSION_NONE =
0- SECURITY_SUPPLIER_ROLE =
ISS
1
Instance Attribute Summary
Attributes inherited from BaseSegment
Instance Method Summary collapse
-
#initialize(segno, blz, username, system_id, profile_version) ⇒ HNVSK
constructor
A new instance of HNVSK.
Methods inherited from BaseSegment
Constructor Details
#initialize(segno, blz, username, system_id, profile_version) ⇒ HNVSK
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/fints/segment/hnvsk.rb', line 9 def initialize(segno, blz, username, system_id, profile_version) data = [ ['PIN', profile_version.to_s].join(':'), 998, SECURITY_SUPPLIER_ROLE, ['1', '', system_id.to_s].join(':'), ['1', Time.now.strftime('%Y%m%d'), Time.now.strftime('%H%M%S')].join(':'), ['2', '2', '13', '@8@00000000', '5', '1'].join(':'), [country_code.to_s, blz, Helper.fints_escape(username), 'S', '0', '0'].join(':'), COMPRESSION_NONE ] super(segno, data) end |