public SegmentHeader(string id, int version, int number, int?reference = null) { Id = new AlphanumericElement(id); SegmentNumber = new NumericElement(number); Version = new NumericElement(version); Reference = reference.HasValue ? new NumericElement(reference.Value) : null; }
public HashAlgorithm() { Usage = new NumericElement(1); Algorithm = new NumericElement(999); Identifier = new NumericElement(1); Value = null; }
public Hkidn(int number, int blz, string userId, string systemId = "0") { Header = new SegmentHeader("HKIDN", 2, number); BankId = new BankId(blz); CustomerId = new AlphanumericElement(userId); SystemId = new AlphanumericElement(systemId); Status = new NumericElement(1); }
public KeyName(int blz, string userId, string keyType) { CountryCode = new NumericElement(280); BankId = new NumericElement(blz); UserId = new AlphanumericElement(userId); Type = new AlphanumericElement(keyType); Number = new NumericElement(0); Version = new NumericElement(0); }
public Hnhbk(int msgNum, int segNum = 1, int size = 0, string dialogId = "0", int hbciVer = 300) { Header = new SegmentHeader("HNHBK", 3, segNum); Size = new DigitElement(12, size); HbciVersion = new NumericElement(hbciVer); DialogId = new AlphanumericElement(dialogId); MessageNumber = new NumericElement(msgNum); Reference = null; }
public Hkvvb(int segNum, string productId, string productVersion) { Header = new SegmentHeader("HKVVB", 3, segNum); Bpd = new NumericElement(0); Upd = new NumericElement(0); Language = new NumericElement(0); ProductId = new AlphanumericElement(productId); ProductVersion = new AlphanumericElement(productVersion); }
public EncryptionAlgorithm() { Usage = new NumericElement(2); Mode = new NumericElement(2); Algorithm = new NumericElement(13); Data = new BinaryElement("00000000"); KeyId = new NumericElement(5); IvId = new NumericElement(1); Iv = null; }
public BankId(int blz) { CountryCode = new NumericElement(280); BankCode = new NumericElement(blz); }
public SignatureAlgorithm() { Usage = new NumericElement(6); Algorithm = new NumericElement(10); OperationMode = new NumericElement(16); }
public Hksyn(int segNum, Query query) { Header = new SegmentHeader("HKSYN", 3, segNum); QueryType = new NumericElement((int)query); }
public SecurityProfile(int version, string method) { Method = new AlphanumericElement(method); Version = new NumericElement(version); }
public Hnhbs(int number, int segmentNum) { Header = new SegmentHeader("HNHBS", 1, segmentNum); MessageNumber = new NumericElement(number); }