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