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"); }