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