예제 #1
0
파일: Hnvsk.cs 프로젝트: mode777/FinTs.Net
 public Hnvsk(DateTime date, int blz, string userId, string systemId)
 {
     Header              = new SegmentHeader("HNVSK", 3, 998);
     Profile             = new SecurityProfile(1, "PIN");
     SecurityFunction    = new NumericElement(998);
     SecurityRole        = new NumericElement(1);
     SecurityId          = new SecurityIdentification(systemId);
     SecurityDate        = new SecurityDateTime(date);
     Encryption          = new EncryptionAlgorithm();
     KeyName             = new KeyName(blz, userId, "V");
     CompressionFunction = new NumericElement(0);
     Certificate         = null;
 }
예제 #2
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");
 }