| TemporarySecureMimeContextGetPrivateKey Method |
Gets the private key for the certificate matching the specified selector.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax protected override AsymmetricKeyParameter GetPrivateKey(
ISelector<X509Certificate> selector
)
Parameters
- selector ISelectorX509Certificate
- The search criteria for the private key.
Return Value
AsymmetricKeyParameterThe private key on success; otherwise
null.
Remarks
Gets the private key for the first certificate that matches the specified selector.
See Also