コード例 #1
0
 public Hnshk(int segNum, string controlRef, string systemId, DateTime date, int blz, string userId)
 {
     Header                   = new SegmentHeader("HNSHK", 4, segNum);
     SecurityProfile          = new SecurityProfile(1, "PIN");
     SecurityFunction         = new AlphanumericElement("999");
     SecurityControlReference = new AlphanumericElement(controlRef);
     SecurityArea             = new AlphanumericElement("1");
     SecurityRole             = new AlphanumericElement("1");
     SecurityIdentification   = new SecurityIdentification(systemId);
     SecurityReferenceNumber  = new NumericElement(1);
     SecurityDateTime         = new SecurityDateTime(date);
     HashAlgorithm            = new HashAlgorithm();
     SignatureAlgorithm       = new SignatureAlgorithm();
     KeyName                  = new KeyName(blz, userId, "S");
 }
コード例 #2
0
ファイル: SecurityDateTime.cs プロジェクト: mode777/FinTs.Net
 public SecurityDateTime(DateTime time)
 {
     Type = new AlphanumericElement("1");
     Date = new DateElement(time);
     Time = new TimeElement(time);
 }