1 write to Certificate
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
200
Certificate
= certificate;
14 references to Certificate
System.Security.Cryptography.Pkcs (14)
System\Security\Cryptography\Pkcs\CmsSigner.cs (13)
216
if (
Certificate
== null)
221
if (_privateKey == null && !
Certificate
.HasPrivateKey)
339
byte[] serial =
Certificate
!.GetSerialNumber();
344
Issuer =
Certificate
.IssuerName.RawData,
351
newSignerInfo.Sid.SubjectKeyIdentifier = PkcsPal.Instance.GetSubjectKeyIdentifier(
Certificate
!);
386
if (
Certificate
!= null)
390
keyAlgorithm =
Certificate
.GetKeyAlgorithm();
415
CmsSignature? processor = CmsSignature.ResolveAndVerifyKeyType(
Certificate
!.GetKeyAlgorithm(), _privateKey, SignaturePadding);
432
Certificate
!,
460
certs.Add(
Certificate
!);
467
chain.ChainPolicy.VerificationTime =
Certificate
!.NotBefore;
469
if (!chain.Build(
Certificate
!))
481
certs.Add(
Certificate
!);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
322
if (signer.
Certificate
== null && signer.SignerIdentifierType != SubjectIdentifierType.NoSignature)