public RevocationValues( IEnumerable crlVals, IEnumerable ocspVals, OtherRevVals otherRevVals) { if (otherRevVals == null) { throw new ArgumentNullException("otherRevVals"); } if (crlVals != null) { if (!CollectionUtilities.CheckElementsAreOfType <CertificateList>(crlVals)) { throw new ArgumentException("Must contain only 'CertificateList' objects", "crlVals"); } this.crlVals = new DerSequence( Asn1EncodableVector.FromEnumerable(crlVals)); } if (ocspVals != null) { if (!CollectionUtilities.CheckElementsAreOfType <BasicOcspResponse>(ocspVals)) { throw new ArgumentException("Must contain only 'BasicOcspResponse' objects", "ocspVals"); } this.ocspVals = new DerSequence( Asn1EncodableVector.FromEnumerable(ocspVals)); } this.otherRevVals = otherRevVals; }
public SignaturePolicyId( DerObjectIdentifier sigPolicyIdentifier, OtherHashAlgAndValue sigPolicyHash, IEnumerable sigPolicyQualifiers) { if (sigPolicyIdentifier == null) { throw new ArgumentNullException("sigPolicyIdentifier"); } if (sigPolicyHash == null) { throw new ArgumentNullException("sigPolicyHash"); } this.sigPolicyIdentifier = sigPolicyIdentifier; this.sigPolicyHash = sigPolicyHash; if (sigPolicyQualifiers != null) { if (!CollectionUtilities.CheckElementsAreOfType(sigPolicyQualifiers, typeof(SigPolicyQualifierInfo))) { throw new ArgumentException("Must contain only 'SigPolicyQualifierInfo' objects", "sigPolicyQualifiers"); } this.sigPolicyQualifiers = new DerSequence( Asn1EncodableVector.FromEnumerable(sigPolicyQualifiers)); } }
public OtherSigningCertificate( IEnumerable certs, IEnumerable policies) { if (certs == null) { throw new ArgumentNullException("certs"); } if (!CollectionUtilities.CheckElementsAreOfType(certs, typeof(OtherCertID))) { throw new ArgumentException("Must contain only 'OtherCertID' objects", "certs"); } this.certs = new DerSequence( Asn1EncodableVector.FromEnumerable(certs)); if (policies != null) { if (!CollectionUtilities.CheckElementsAreOfType(policies, typeof(PolicyInformation))) { throw new ArgumentException("Must contain only 'PolicyInformation' objects", "policies"); } this.policies = new DerSequence( Asn1EncodableVector.FromEnumerable(policies)); } }
public CompleteCertificateRefs( IEnumerable otherCertIDs) { if (otherCertIDs == null) throw new ArgumentNullException("otherCertIDs"); if (!CollectionUtilities.CheckElementsAreOfType(otherCertIDs, typeof(OtherCertID))) throw new ArgumentException("Must contain only 'OtherCertID' objects", "otherCertIDs"); this.otherCertIDs = new DerSequence( Asn1EncodableVector.FromEnumerable(otherCertIDs)); }
public CompleteRevocationRefs(IEnumerable crlOcspRefs) { if (crlOcspRefs == null) { throw new ArgumentNullException("crlOcspRefs"); } if (!CollectionUtilities.CheckElementsAreOfType(crlOcspRefs, typeof(CrlOcspRef))) { throw new ArgumentException("Must contain only 'CrlOcspRef' objects", "crlOcspRefs"); } this.crlOcspRefs = new DerSequence(Asn1EncodableVector.FromEnumerable(crlOcspRefs)); }
public OcspListID(IEnumerable ocspResponses) { if (ocspResponses == null) { throw new ArgumentNullException("ocspResponses"); } if (!CollectionUtilities.CheckElementsAreOfType(ocspResponses, typeof(OcspResponsesID))) { throw new ArgumentException("Must contain only 'OcspResponsesID' objects", "ocspResponses"); } this.ocspResponses = new DerSequence(Asn1EncodableVector.FromEnumerable(ocspResponses)); }
public CrlListID(IEnumerable crls) { if (crls == null) { throw new ArgumentNullException("crls"); } if (!CollectionUtilities.CheckElementsAreOfType(crls, typeof(CrlValidatedID))) { throw new ArgumentException("Must contain only 'CrlValidatedID' objects", "crls"); } this.crls = new DerSequence(Asn1EncodableVector.FromEnumerable(crls)); }
public CertificateValues(IEnumerable certificates) { if (certificates == null) { throw new ArgumentNullException("certificates"); } if (!CollectionUtilities.CheckElementsAreOfType(certificates, typeof(X509CertificateStructure))) { throw new ArgumentException("Must contain only 'X509CertificateStructure' objects", "certificates"); } this.certificates = new DerSequence(Asn1EncodableVector.FromEnumerable(certificates)); }
public OcspListID(global::System.Collections.IEnumerable ocspResponses) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) if (ocspResponses == null) { throw new ArgumentNullException("ocspResponses"); } if (!CollectionUtilities.CheckElementsAreOfType(ocspResponses, typeof(OcspResponsesID))) { throw new ArgumentException("Must contain only 'OcspResponsesID' objects", "ocspResponses"); } this.ocspResponses = new DerSequence(Asn1EncodableVector.FromEnumerable(ocspResponses)); }
public CertificateValues(global::System.Collections.IEnumerable certificates) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) if (certificates == null) { throw new ArgumentNullException("certificates"); } if (!CollectionUtilities.CheckElementsAreOfType(certificates, typeof(X509CertificateStructure))) { throw new ArgumentException("Must contain only 'X509CertificateStructure' objects", "certificates"); } this.certificates = new DerSequence(Asn1EncodableVector.FromEnumerable(certificates)); }
public CompleteCertificateRefs(global::System.Collections.IEnumerable otherCertIDs) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) if (otherCertIDs == null) { throw new ArgumentNullException("otherCertIDs"); } if (!CollectionUtilities.CheckElementsAreOfType(otherCertIDs, typeof(OtherCertID))) { throw new ArgumentException("Must contain only 'OtherCertID' objects", "otherCertIDs"); } this.otherCertIDs = new DerSequence(Asn1EncodableVector.FromEnumerable(otherCertIDs)); }
public CompleteRevocationRefs(global::System.Collections.IEnumerable crlOcspRefs) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) if (crlOcspRefs == null) { throw new ArgumentNullException("crlOcspRefs"); } if (!CollectionUtilities.CheckElementsAreOfType(crlOcspRefs, typeof(CrlOcspRef))) { throw new ArgumentException("Must contain only 'CrlOcspRef' objects", "crlOcspRefs"); } this.crlOcspRefs = new DerSequence(Asn1EncodableVector.FromEnumerable(crlOcspRefs)); }
public RevocationValues(global::System.Collections.IEnumerable crlVals, global::System.Collections.IEnumerable ocspVals, OtherRevVals otherRevVals) { //IL_0025: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) if (crlVals != null) { if (!CollectionUtilities.CheckElementsAreOfType(crlVals, typeof(CertificateList))) { throw new ArgumentException("Must contain only 'CertificateList' objects", "crlVals"); } this.crlVals = new DerSequence(Asn1EncodableVector.FromEnumerable(crlVals)); } if (ocspVals != null) { if (!CollectionUtilities.CheckElementsAreOfType(ocspVals, typeof(BasicOcspResponse))) { throw new ArgumentException("Must contain only 'BasicOcspResponse' objects", "ocspVals"); } this.ocspVals = new DerSequence(Asn1EncodableVector.FromEnumerable(ocspVals)); } this.otherRevVals = otherRevVals; }
public OtherSigningCertificate(global::System.Collections.IEnumerable certs, global::System.Collections.IEnumerable policies) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0066: Unknown result type (might be due to invalid IL or missing references) if (certs == null) { throw new ArgumentNullException("certs"); } if (!CollectionUtilities.CheckElementsAreOfType(certs, typeof(OtherCertID))) { throw new ArgumentException("Must contain only 'OtherCertID' objects", "certs"); } this.certs = new DerSequence(Asn1EncodableVector.FromEnumerable(certs)); if (policies != null) { if (!CollectionUtilities.CheckElementsAreOfType(policies, typeof(PolicyInformation))) { throw new ArgumentException("Must contain only 'PolicyInformation' objects", "policies"); } this.policies = new DerSequence(Asn1EncodableVector.FromEnumerable(policies)); } }
public SignaturePolicyId(DerObjectIdentifier sigPolicyIdentifier, OtherHashAlgAndValue sigPolicyHash, global::System.Collections.IEnumerable sigPolicyQualifiers) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_001c: Unknown result type (might be due to invalid IL or missing references) //IL_004f: Unknown result type (might be due to invalid IL or missing references) if (sigPolicyIdentifier == null) { throw new ArgumentNullException("sigPolicyIdentifier"); } if (sigPolicyHash == null) { throw new ArgumentNullException("sigPolicyHash"); } this.sigPolicyIdentifier = sigPolicyIdentifier; this.sigPolicyHash = sigPolicyHash; if (sigPolicyQualifiers != null) { if (!CollectionUtilities.CheckElementsAreOfType(sigPolicyQualifiers, typeof(SigPolicyQualifierInfo))) { throw new ArgumentException("Must contain only 'SigPolicyQualifierInfo' objects", "sigPolicyQualifiers"); } this.sigPolicyQualifiers = new DerSequence(Asn1EncodableVector.FromEnumerable(sigPolicyQualifiers)); } }