34 references to SignerInfos
NuGet.Packaging (23)
Signing\Archive\SignedPackageArchiveUtility.cs (1)
340var primarySigner = tempSignedCms.SignerInfos[0];
Signing\Authoring\X509SignatureProvider.cs (1)
174cms.SignerInfos[0].ComputeCounterSignature(cmsSigner);
Signing\Cms\ManagedCmsWrapper.cs (12)
26if (_signedCms.SignerInfos.Count != 1) 31return _signedCms.SignerInfos[0].GetSignature(); 36if (_signedCms.SignerInfos.Count != 1) 40else if (_signedCms.SignerInfos[0].CounterSignerInfos.Count == 0) 45return _signedCms.SignerInfos[0].CounterSignerInfos[0].GetSignature(); 58if (_signedCms.SignerInfos.Count != 1) 63_signedCms.SignerInfos[0].ComputeCounterSignature(cmsSigner); 72if (_signedCms.SignerInfos.Count != 1) 76else if (_signedCms.SignerInfos[0].CounterSignerInfos.Count != 1) 81_signedCms.SignerInfos[0].CounterSignerInfos[0].AddUnsignedAttribute(unsignedAttribute); 90if (_signedCms.SignerInfos.Count != 1) 95_signedCms.SignerInfos[0].AddUnsignedAttribute(unsignedAttribute);
Signing\Signatures\PrimarySignature.cs (3)
57if (cms.SignerInfos.Count != 1) 62var signerInfo = cms.SignerInfos[0]; 152return signedCms.SignerInfos[0];
Signing\Signatures\PrimarySignatureFactory.cs (1)
12var signatureType = AttributeUtility.GetSignatureType(signedCms.SignerInfos[0].SignedAttributes);
Signing\Timestamp\Rfc3161TimestampProvider.cs (2)
110var signerInfo = timestampCms.SignerInfos[0]; 142var signerInfo = timestampCms.SignerInfos[0];
Signing\Timestamp\Timestamp.cs (1)
39public SignerInfo SignerInfo => SignedCms!.SignerInfos[0];
Signing\Utility\SignatureUtility.cs (2)
342if (signedCms.SignerInfos.Count != 1) 351signedCms.SignerInfos[0],
System.Security.Cryptography.Pkcs (11)
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
449if (tokenCms.SignerInfos[0].Certificate == null)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
345SignerInfoCollection signerInfos = cms.SignerInfos;
System\Security\Cryptography\Pkcs\SignedCms.cs (3)
399int idx = SignerInfos.FindIndexForSigner(signerInfo); 598CheckSignatures(SignerInfos, extraStore, verifySignatureOnly); 631SignerInfoCollection signers = SignerInfos;
System\Security\Cryptography\Pkcs\SignerInfo.cs (6)
108int myIdx = _document.SignerInfos.FindIndexForSigner(this); 126int parentIdx = _document.SignerInfos.FindIndexForSigner(_parentSignerInfo); 301int myIdx = _document.SignerInfos.FindIndexForSigner(this); 309SignerInfo effectiveThis = _document.SignerInfos[myIdx]; 358int myIdx = _document.SignerInfos.FindIndexForSigner(this); 430SignerInfoCollection docSigners = _document.SignerInfos;