/// <summary>
        /// Accept message from client.
        /// </summary>
        /// <param name="message">Request message.</param>
        public override void AcceptMessage(StreamMessage message)
        {
            base.AcceptMessage(message);
            if (XmlParseResult != ErrorCodes.ER_00_NO_ERROR)
            {
                return;
            }

            _targetKey = KeyValues.ItemCombination("ZPK Scheme", "ZPK");
            _pbFormat  = KeyValues.Item("PIN Block Format Code");
            _acct      = KeyValues.Item("Account Number");
            _pin       = KeyValues.Item("PIN");
        }
        /// <summary>
        /// Accept message from client.
        /// </summary>
        /// <param name="message">Request message.</param>
        public override void AcceptMessage(StreamMessage message)
        {
            base.AcceptMessage(message);

            if (XmlParseResult != ErrorCodes.ER_00_NO_ERROR)
            {
                return;
            }

            _keyType   = KeyValues.Item("Key Type");
            _zmk       = KeyValues.ItemCombination("ZMK Scheme", "ZMK");
            _key       = KeyValues.ItemCombination("Key Scheme", "Key");
            _zmkScheme = KeyValues.Item("Key Scheme ZMK");
        }
        /// <summary>
        /// Accept message from client.
        /// </summary>
        /// <param name="message">Request message.</param>
        public override void AcceptMessage(StreamMessage message)
        {
            base.AcceptMessage(message);
            if (XmlParseResult != ErrorCodes.ER_00_NO_ERROR)
            {
                return;
            }

            _pvkPair     = KeyValues.ItemCombination("PVK Scheme", "PVK");
            _offsetValue = KeyValues.Item("Offset");
            _checkLen    = KeyValues.Item("Check Length");
            _acct        = KeyValues.Item("Account Number");
            _decTable    = KeyValues.Item("Decimalisation Table");
            _pinValData  = KeyValues.Item("PIN Validation Data");
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Accept message from client.
 /// </summary>
 /// <param name="message">Request message.</param>
 public override void AcceptMessage(StreamMessage message)
 {
     base.AcceptMessage(message);
     if (XmlParseResult != ErrorCodes.ER_00_NO_ERROR)
     {
         return;
     }
     _nbrComponents  = KeyValues.Item("Number of Components");
     _iNbrComponents = Convert.ToInt32(_nbrComponents);
     for (var i = 1; i <= _iNbrComponents; i++)
     {
         _comps[i - 1] = KeyValues.ItemCombination("ZMK Component Scheme #" + i.ToString(),
                                                   "ZMK Component #" + i.ToString());
     }
     _lmkScheme     = KeyValues.ItemOptional("Key Scheme LMK");
     _keyCheckValue = KeyValues.ItemOptional("Key Check Value Type");
 }
        /// <summary>
        /// Accept message from client.
        /// </summary>
        /// <param name="message">Request message.</param>
        public override void AcceptMessage(StreamMessage message)
        {
            base.AcceptMessage(message);
            if (XmlParseResult != ErrorCodes.ER_00_NO_ERROR)
            {
                return;
            }

            _blockNumber = KeyValues.Item("Message Block");
            _keyType     = KeyValues.Item("Key Type");
            _keyLength   = KeyValues.Item("Key Length");
            _messageType = KeyValues.Item("Message Type");
            _key         = KeyValues.ItemCombination("Key Scheme", "Key");
            _iv          = KeyValues.ItemOptional("IV");
            _msgLength   = KeyValues.Item("Message Length");
            _strMsg      = KeyValues.Item("Message");
        }