Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignInfoDTO" /> class.
 /// </summary>
 /// <param name="IsVerified">Signature is Verified.</param>
 /// <param name="Serial">Serial Number.</param>
 /// <param name="NotAfter">Validity Date From.</param>
 /// <param name="NotBefore">Validity Date To.</param>
 /// <param name="Version">Version.</param>
 /// <param name="SubjectPublicKeyInfo">Public Key Subject.</param>
 /// <param name="HashAlgorithm">algorithm of Hash.</param>
 /// <param name="SignatureAlgorithm">Algorithm of Signature.</param>
 /// <param name="Issuer">Issuer Information.</param>
 /// <param name="Subject">Subject.</param>
 /// <param name="OtherData">OtherData.</param>
 /// <param name="Extensions">Extensions.</param>
 /// <param name="SignDateTime">SignDateTime.</param>
 /// <param name="WarningMessage">WarningMessage.</param>
 /// <param name="SignDepth">SignDepth.</param>
 /// <param name="IsCounterSign">IsCounterSign.</param>
 /// <param name="TimestampInfo">TimestampInfo.</param>
 /// <param name="Id">Id.</param>
 /// <param name="ParentId">ParentId.</param>
 public SignInfoDTO(bool?IsVerified = default(bool?), string Serial = default(string), DateTime?NotAfter = default(DateTime?), DateTime?NotBefore = default(DateTime?), string Version = default(string), string SubjectPublicKeyInfo = default(string), string HashAlgorithm = default(string), string SignatureAlgorithm = default(string), CertifiedIdentityDTO Issuer = default(CertifiedIdentityDTO), CertifiedIdentityDTO Subject = default(CertifiedIdentityDTO), List <KeyValueElementDto> OtherData = default(List <KeyValueElementDto>), List <KeyValueElementDto> Extensions = default(List <KeyValueElementDto>), DateTime?SignDateTime = default(DateTime?), string WarningMessage = default(string), int?SignDepth = default(int?), bool?IsCounterSign = default(bool?), ArxTimeStampInfo TimestampInfo = default(ArxTimeStampInfo), int?Id = default(int?), int?ParentId = default(int?))
 {
     this.IsVerified           = IsVerified;
     this.Serial               = Serial;
     this.NotAfter             = NotAfter;
     this.NotBefore            = NotBefore;
     this.Version              = Version;
     this.SubjectPublicKeyInfo = SubjectPublicKeyInfo;
     this.HashAlgorithm        = HashAlgorithm;
     this.SignatureAlgorithm   = SignatureAlgorithm;
     this.Issuer               = Issuer;
     this.Subject              = Subject;
     this.OtherData            = OtherData;
     this.Extensions           = Extensions;
     this.SignDateTime         = SignDateTime;
     this.WarningMessage       = WarningMessage;
     this.SignDepth            = SignDepth;
     this.IsCounterSign        = IsCounterSign;
     this.TimestampInfo        = TimestampInfo;
     this.Id       = Id;
     this.ParentId = ParentId;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimestampInfoDTO" /> class.
 /// </summary>
 /// <param name="TimestampTime">Creation Date.</param>
 /// <param name="ValidTo">Validity Date To.</param>
 /// <param name="Serial">Serial Number.</param>
 /// <param name="Hash">Hash.</param>
 /// <param name="HashAlgorithm">Algorithm of Hash.</param>
 /// <param name="Version">Version.</param>
 /// <param name="ArxCertifiedIdentity">Identity of Certificate.</param>
 /// <param name="Depth">Depth.</param>
 /// <param name="IsVerified">Is Verified.</param>
 /// <param name="WarningMessage">Message of Warning.</param>
 public TimestampInfoDTO(DateTime?TimestampTime = default(DateTime?), DateTime?ValidTo = default(DateTime?), string Serial = default(string), string Hash = default(string), string HashAlgorithm = default(string), string Version = default(string), CertifiedIdentityDTO ArxCertifiedIdentity = default(CertifiedIdentityDTO), int?Depth = default(int?), bool?IsVerified = default(bool?), string WarningMessage = default(string))
 {
     this.TimestampTime        = TimestampTime;
     this.ValidTo              = ValidTo;
     this.Serial               = Serial;
     this.Hash                 = Hash;
     this.HashAlgorithm        = HashAlgorithm;
     this.Version              = Version;
     this.ArxCertifiedIdentity = ArxCertifiedIdentity;
     this.Depth                = Depth;
     this.IsVerified           = IsVerified;
     this.WarningMessage       = WarningMessage;
 }