6 writes to CertificateSet
System.Security.Cryptography.Pkcs (6)
System\Security\Cryptography\Pkcs\Asn1\SignedDataAsn.xml.cs (1)
171decoded.CertificateSet = tmpList.ToArray();
System\Security\Cryptography\Pkcs\SignedCms.cs (5)
592_signedData.CertificateSet = new CertificateChoiceAsn[newCerts.Count]; 596Array.Resize(ref _signedData.CertificateSet, existingLength + newCerts.Count); 692_signedData.CertificateSet = new CertificateChoiceAsn[1]; 696Array.Resize(ref _signedData.CertificateSet, existingLength + 1); 720PkcsHelpers.RemoveAt(ref _signedData.CertificateSet, idx);
14 references to CertificateSet
System.Security.Cryptography.Pkcs (14)
System\Security\Cryptography\Pkcs\Asn1\SignedDataAsn.xml.cs (3)
42if (CertificateSet != null) 46for (int i = 0; i < CertificateSet.Length; i++) 48CertificateSet[i].Encode(writer);
System\Security\Cryptography\Pkcs\SignedCms.cs (11)
87CertificateChoiceAsn[]? certChoices = _signedData.CertificateSet; 567int existingLength = _signedData.CertificateSet?.Length ?? 0; 590if (_signedData.CertificateSet == null) 599for (int i = existingLength; i < _signedData.CertificateSet.Length; i++) 601_signedData.CertificateSet[i] = new CertificateChoiceAsn 675int existingLength = _signedData.CertificateSet?.Length ?? 0; 681foreach (CertificateChoiceAsn cert in _signedData.CertificateSet!) 690if (_signedData.CertificateSet == null) 699_signedData.CertificateSet[existingLength] = new CertificateChoiceAsn 709int existingLength = _signedData.CertificateSet?.Length ?? 0; 716foreach (CertificateChoiceAsn cert in _signedData.CertificateSet!)