1 write to Certificate
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
193
Certificate
= certificate;
14 references to Certificate
System.Security.Cryptography.Pkcs (14)
System\Security\Cryptography\Pkcs\CmsSigner.cs (13)
209
if (
Certificate
== null)
214
if (_privateKey == null && !
Certificate
.HasPrivateKey)
332
byte[] serial =
Certificate
!.GetSerialNumber();
337
Issuer =
Certificate
.IssuerName.RawData,
344
newSignerInfo.Sid.SubjectKeyIdentifier = PkcsPal.Instance.GetSubjectKeyIdentifier(
Certificate
!);
379
if (
Certificate
!= null)
383
keyAlgorithm =
Certificate
.GetKeyAlgorithm();
408
CmsSignature? processor = CmsSignature.ResolveAndVerifyKeyType(
Certificate
!.GetKeyAlgorithm(), _privateKey, SignaturePadding);
425
Certificate
!,
453
certs.Add(
Certificate
!);
460
chain.ChainPolicy.VerificationTime =
Certificate
!.NotBefore;
462
if (!chain.Build(
Certificate
!))
474
certs.Add(
Certificate
!);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
322
if (signer.
Certificate
== null && signer.SignerIdentifierType != SubjectIdentifierType.NoSignature)