3 instantiations of CmsSigner
NuGet.Packaging (2)
Signing\Utility\SigningUtility.cs (2)
131signer = new CmsSigner(SubjectIdentifierType.IssuerAndSerialNumber, request.Certificate); 135signer = new CmsSigner(SubjectIdentifierType.SubjectKeyIdentifier, request.Certificate);
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
285public void ComputeSignature() => ComputeSignature(new CmsSigner(_signerIdentifierType), true);
17 references to CmsSigner
NuGet.Packaging (13)
Signing\Authoring\X509SignatureProvider.cs (6)
97var cmsSigner = SigningUtility.CreateCmsSigner(request, logger); 109var cmsSigner = SigningUtility.CreateCmsSigner(request, logger); 119private static PrimarySignature CreatePrimarySignature(CmsSigner cmsSigner, byte[] signingData, CngKey privateKey) 126private static PrimarySignature CreatePrimarySignature(CmsSigner cmsSigner, SignPackageRequest request, byte[] signingData) 152private static PrimarySignature CreateRepositoryCountersignature(CmsSigner cmsSigner, PrimarySignature primarySignature, CngKey privateKey) 167private static PrimarySignature CreateRepositoryCountersignature(CmsSigner cmsSigner, SignPackageRequest request, PrimarySignature primarySignature)
Signing\Cms\ICms.cs (1)
20void AddCountersignature(CmsSigner cmsSigner, CngKey privateKey);
Signing\Cms\ManagedCmsWrapper.cs (1)
56public void AddCountersignature(CmsSigner cmsSigner, CngKey privateKey)
Signing\Cms\NativeCms.cs (1)
267internal unsafe void AddCountersignature(CmsSigner cmsSigner, CngKey privateKey)
Signing\Cms\NativeUtility.cs (2)
29internal static SignedCms NativeSign(CmsSigner cmsSigner, byte[] data, CngKey privateKey) 111CmsSigner cmsSigner,
Signing\Utility\SigningUtility.cs (2)
112public static CmsSigner CreateCmsSigner(SignPackageRequest request, ILogger logger) 127CmsSigner signer;
System.Security (1)
System.Security.cs (1)
12[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Pkcs.CmsSigner))]
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
287public void ComputeSignature(CmsSigner signer) => ComputeSignature(signer, true); 289public void ComputeSignature(CmsSigner signer, bool silent)
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
292public void ComputeCounterSignature(CmsSigner signer)