Example #1
0
 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;
 }
Example #2
0
 public HashAlgorithm()
 {
     Usage      = new NumericElement(1);
     Algorithm  = new NumericElement(999);
     Identifier = new NumericElement(1);
     Value      = null;
 }
Example #3
0
 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);
 }
Example #4
0
 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);
 }
Example #5
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;
 }
Example #6
0
 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);
 }
Example #7
0
 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;
 }
Example #8
0
 public BankId(int blz)
 {
     CountryCode = new NumericElement(280);
     BankCode    = new NumericElement(blz);
 }
Example #9
0
 public SignatureAlgorithm()
 {
     Usage         = new NumericElement(6);
     Algorithm     = new NumericElement(10);
     OperationMode = new NumericElement(16);
 }
Example #10
0
 public Hksyn(int segNum, Query query)
 {
     Header    = new SegmentHeader("HKSYN", 3, segNum);
     QueryType = new NumericElement((int)query);
 }
Example #11
0
 public SecurityProfile(int version, string method)
 {
     Method  = new AlphanumericElement(method);
     Version = new NumericElement(version);
 }
Example #12
0
 public Hnhbs(int number, int segmentNum)
 {
     Header        = new SegmentHeader("HNHBS", 1, segmentNum);
     MessageNumber = new NumericElement(number);
 }