Sha256: cf5cd2fb5815db885ce2b48d7d4182e4f6694ac5814e1627309785ebeb39f5b5

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

module FinTS
  module Segment
    # HNSHA (Signaturabschluss)
    # Section B.5.2
    class HNSHA < BaseSegment
      SECURITY_FUNC = 999
      SECURITY_BOUNDARY = 1  # SHM
      SECURITY_SUPPLIER_ROLE = 1  # ISS
      PINTAN_VERSION = 1  # 1-step

      def initialize(segno, secref, pin)
        data = [secref, '', Helper.fints_escape(pin)]
        super(segno, data)
      end

      protected

      def type
        'HNSHA'
      end
      
      def version
        2
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_fints-0.0.4 lib/fints/segment/hnsha.rb
ruby_fints-0.0.3 lib/fints/segment/hnsha.rb
ruby_fints-0.0.2 lib/fints/segment/hnsha.rb