CertificateHasPrivateKey Property |
Gets whether the certificate has a private key.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool HasPrivateKey { get; }
Public ReadOnly Property HasPrivateKey As Boolean
Get
Property Value
Type:
Booleantrue if certificate includes the private key; otherwise,
false.
Remarks Certificates with private key can be using for all S/MIME operations (signing, encryption,
checking a signature, decryption). Public
certificates (without private key) can only be used for encryption and checking a signature.
Examples See Also