1 write to Certificate
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
215Certificate = certificate;
12 references to Certificate
System.Security.Cryptography.Pkcs (12)
System\Security\Cryptography\Pkcs\CmsSigner.cs (11)
231if (Certificate == null) 236if (_privateKey == null && !Certificate.HasPrivateKey) 354byte[] serial = Certificate!.GetSerialNumber(); 359Issuer = Certificate.IssuerName.RawData, 366newSignerInfo.Sid.SubjectKeyIdentifier = PkcsPal.Instance.GetSubjectKeyIdentifier(Certificate!); 402CmsSignature? processor = CmsSignature.ResolveAndVerifyKeyType(Certificate!.GetKeyAlgorithm(), _privateKey, SignaturePadding); 419Certificate!, 447certs.Add(Certificate!); 454chain.ChainPolicy.VerificationTime = Certificate!.NotBefore; 456if (!chain.Build(Certificate!)) 468certs.Add(Certificate!);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
322if (signer.Certificate == null && signer.SignerIdentifierType != SubjectIdentifierType.NoSignature)