Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CertificateInfoDTO" /> class.
 /// </summary>
 /// <param name="signAlgorithm">signAlgorithm.</param>
 /// <param name="keyBitLength">keyBitLength.</param>
 /// <param name="serialNumber">serialNumber.</param>
 /// <param name="thumbprintAlgorithm">thumbprintAlgorithm.</param>
 /// <param name="thumbprint">thumbprint.</param>
 /// <param name="trustLevel">trustLevel.</param>
 /// <param name="keyUsageList">keyUsageList.</param>
 /// <param name="extendedKeyUsageList">extendedKeyUsageList.</param>
 /// <param name="validNotBeforeUtc">validNotBeforeUtc.</param>
 /// <param name="validNotAfterUtc">validNotAfterUtc.</param>
 /// <param name="subjectKeyIdentifier">subjectKeyIdentifier.</param>
 /// <param name="subjectAlternativeName">subjectAlternativeName.</param>
 /// <param name="subjectUniqueId">subjectUniqueId.</param>
 /// <param name="subjectInfoList">subjectInfoList.</param>
 /// <param name="version">version.</param>
 /// <param name="issuerUniqueId">issuerUniqueId.</param>
 /// <param name="issuerAlternativeName">issuerAlternativeName.</param>
 /// <param name="issuerInfoList">issuerInfoList.</param>
 /// <param name="authorityInfoAccessOcsp">authorityInfoAccessOcsp.</param>
 /// <param name="crlDistributionPoints">crlDistributionPoints.</param>
 /// <param name="validationMessageList">validationMessageList.</param>
 /// <param name="certificatePolicies">certificatePolicies.</param>
 /// <param name="qcStatementList">qcStatementList.</param>
 /// <param name="isTrusted">isTrusted.</param>
 /// <param name="trustValidationMessageList">trustValidationMessageList.</param>
 /// <param name="isValid">isValid.</param>
 /// <param name="certificateB64">certificateB64.</param>
 /// <param name="verifyCondition">verifyCondition.</param>
 public CertificateInfoDTO(IdValuePairDTO signAlgorithm = default(IdValuePairDTO), int?keyBitLength = default(int?), string serialNumber = default(string), IdValuePairDTO thumbprintAlgorithm = default(IdValuePairDTO), string thumbprint = default(string), string trustLevel = default(string), List <int?> keyUsageList = default(List <int?>), List <IdValuePairDTO> extendedKeyUsageList = default(List <IdValuePairDTO>), DateTime?validNotBeforeUtc = default(DateTime?), DateTime?validNotAfterUtc = default(DateTime?), string subjectKeyIdentifier = default(string), string subjectAlternativeName = default(string), string subjectUniqueId = default(string), List <IdValuePairDTO> subjectInfoList = default(List <IdValuePairDTO>), int?version = default(int?), string issuerUniqueId = default(string), string issuerAlternativeName = default(string), List <IdValuePairDTO> issuerInfoList = default(List <IdValuePairDTO>), List <string> authorityInfoAccessOcsp = default(List <string>), List <string> crlDistributionPoints = default(List <string>), List <ValidationMessageDTO> validationMessageList = default(List <ValidationMessageDTO>), List <CertificatePolicyInfoDTO> certificatePolicies = default(List <CertificatePolicyInfoDTO>), List <SignatureAttributeDTO> qcStatementList = default(List <SignatureAttributeDTO>), bool?isTrusted = default(bool?), List <ValidationMessageDTO> trustValidationMessageList = default(List <ValidationMessageDTO>), bool?isValid = default(bool?), string certificateB64 = default(string), VerifyConditionDTO verifyCondition = default(VerifyConditionDTO))
 {
     this.SignAlgorithm          = signAlgorithm;
     this.KeyBitLength           = keyBitLength;
     this.SerialNumber           = serialNumber;
     this.ThumbprintAlgorithm    = thumbprintAlgorithm;
     this.Thumbprint             = thumbprint;
     this.TrustLevel             = trustLevel;
     this.KeyUsageList           = keyUsageList;
     this.ExtendedKeyUsageList   = extendedKeyUsageList;
     this.ValidNotBeforeUtc      = validNotBeforeUtc;
     this.ValidNotAfterUtc       = validNotAfterUtc;
     this.SubjectKeyIdentifier   = subjectKeyIdentifier;
     this.SubjectAlternativeName = subjectAlternativeName;
     this.SubjectUniqueId        = subjectUniqueId;
     this.SubjectInfoList        = subjectInfoList;
     this.Version                    = version;
     this.IssuerUniqueId             = issuerUniqueId;
     this.IssuerAlternativeName      = issuerAlternativeName;
     this.IssuerInfoList             = issuerInfoList;
     this.AuthorityInfoAccessOcsp    = authorityInfoAccessOcsp;
     this.CrlDistributionPoints      = crlDistributionPoints;
     this.ValidationMessageList      = validationMessageList;
     this.CertificatePolicies        = certificatePolicies;
     this.QcStatementList            = qcStatementList;
     this.IsTrusted                  = isTrusted;
     this.TrustValidationMessageList = trustValidationMessageList;
     this.IsValid                    = isValid;
     this.CertificateB64             = certificateB64;
     this.VerifyCondition            = verifyCondition;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CertificateInfoDTO" /> class.
 /// </summary>
 /// <param name="SignAlgorithm">SignAlgorithm.</param>
 /// <param name="KeyBitLength">KeyBitLength.</param>
 /// <param name="SerialNumber">SerialNumber.</param>
 /// <param name="ThumbprintAlgorithm">ThumbprintAlgorithm.</param>
 /// <param name="Thumbprint">Thumbprint.</param>
 /// <param name="TrustLevel">TrustLevel.</param>
 /// <param name="KeyUsageList">KeyUsageList.</param>
 /// <param name="ExtendedKeyUsageList">ExtendedKeyUsageList.</param>
 /// <param name="ValidNotBeforeUtc">ValidNotBeforeUtc.</param>
 /// <param name="ValidNotAfterUtc">ValidNotAfterUtc.</param>
 /// <param name="SubjectKeyIdentifier">SubjectKeyIdentifier.</param>
 /// <param name="SubjectAlternativeName">SubjectAlternativeName.</param>
 /// <param name="SubjectUniqueId">SubjectUniqueId.</param>
 /// <param name="SubjectInfoList">SubjectInfoList.</param>
 /// <param name="Version">Version.</param>
 /// <param name="IssuerUniqueId">IssuerUniqueId.</param>
 /// <param name="IssuerAlternativeName">IssuerAlternativeName.</param>
 /// <param name="IssuerInfoList">IssuerInfoList.</param>
 /// <param name="AuthorityInfoAccessOcsp">AuthorityInfoAccessOcsp.</param>
 /// <param name="CrlDistributionPoints">CrlDistributionPoints.</param>
 /// <param name="ValidationMessageList">ValidationMessageList.</param>
 /// <param name="CertificatePolicies">CertificatePolicies.</param>
 /// <param name="QcStatementList">QcStatementList.</param>
 /// <param name="IsTrusted">IsTrusted.</param>
 /// <param name="TrustValidationMessageList">TrustValidationMessageList.</param>
 /// <param name="IsValid">IsValid.</param>
 /// <param name="CertificateB64">CertificateB64.</param>
 /// <param name="VerifyCondition">VerifyCondition.</param>
 public CertificateInfoDTO(IdValuePairDTO SignAlgorithm = default(IdValuePairDTO), int?KeyBitLength = default(int?), string SerialNumber = default(string), IdValuePairDTO ThumbprintAlgorithm = default(IdValuePairDTO), string Thumbprint = default(string), string TrustLevel = default(string), List <int?> KeyUsageList = default(List <int?>), List <IdValuePairDTO> ExtendedKeyUsageList = default(List <IdValuePairDTO>), DateTime?ValidNotBeforeUtc = default(DateTime?), DateTime?ValidNotAfterUtc = default(DateTime?), string SubjectKeyIdentifier = default(string), string SubjectAlternativeName = default(string), string SubjectUniqueId = default(string), List <IdValuePairDTO> SubjectInfoList = default(List <IdValuePairDTO>), int?Version = default(int?), string IssuerUniqueId = default(string), string IssuerAlternativeName = default(string), List <IdValuePairDTO> IssuerInfoList = default(List <IdValuePairDTO>), List <string> AuthorityInfoAccessOcsp = default(List <string>), List <string> CrlDistributionPoints = default(List <string>), List <ValidationMessageDTO> ValidationMessageList = default(List <ValidationMessageDTO>), List <CertificatePolicyInfoDTO> CertificatePolicies = default(List <CertificatePolicyInfoDTO>), List <SignatureAttributeDTO> QcStatementList = default(List <SignatureAttributeDTO>), bool?IsTrusted = default(bool?), List <ValidationMessageDTO> TrustValidationMessageList = default(List <ValidationMessageDTO>), bool?IsValid = default(bool?), string CertificateB64 = default(string), VerifyConditionDTO VerifyCondition = default(VerifyConditionDTO))
 {
     this.SignAlgorithm          = SignAlgorithm;
     this.KeyBitLength           = KeyBitLength;
     this.SerialNumber           = SerialNumber;
     this.ThumbprintAlgorithm    = ThumbprintAlgorithm;
     this.Thumbprint             = Thumbprint;
     this.TrustLevel             = TrustLevel;
     this.KeyUsageList           = KeyUsageList;
     this.ExtendedKeyUsageList   = ExtendedKeyUsageList;
     this.ValidNotBeforeUtc      = ValidNotBeforeUtc;
     this.ValidNotAfterUtc       = ValidNotAfterUtc;
     this.SubjectKeyIdentifier   = SubjectKeyIdentifier;
     this.SubjectAlternativeName = SubjectAlternativeName;
     this.SubjectUniqueId        = SubjectUniqueId;
     this.SubjectInfoList        = SubjectInfoList;
     this.Version                    = Version;
     this.IssuerUniqueId             = IssuerUniqueId;
     this.IssuerAlternativeName      = IssuerAlternativeName;
     this.IssuerInfoList             = IssuerInfoList;
     this.AuthorityInfoAccessOcsp    = AuthorityInfoAccessOcsp;
     this.CrlDistributionPoints      = CrlDistributionPoints;
     this.ValidationMessageList      = ValidationMessageList;
     this.CertificatePolicies        = CertificatePolicies;
     this.QcStatementList            = QcStatementList;
     this.IsTrusted                  = IsTrusted;
     this.TrustValidationMessageList = TrustValidationMessageList;
     this.IsValid                    = IsValid;
     this.CertificateB64             = CertificateB64;
     this.VerifyCondition            = VerifyCondition;
 }