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