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