ICertificate Interface
Namespace: iCore.Public.Crypto.X509Certificates
Assembly: iCore.Public.Crypto.dll
Represents an X.509 certificate.
- C#
- VB
public interface ICertificate : IProvidesImplementation
Public Interface ICertificate
Inherits IProvidesImplementation
Implements IProvidesImplementation
Properties
Name | Description |
---|---|
FriendlyName | Gets the display name of the certificate. |
CanEncrypt | Gets a value indicating whether the certificate can be used for encryption. |
CanSign | Gets a value indicating whether the certificate can be used for signing. |
HasPrivateKey | Gets a value indicating whether this certificate contains a private key. |
SerialNumber | Gets the serial number of this certificate. |
Issuer | Gets the distinguished name of the certificate issuer. |
Subject | Gets the subject distinguished name from the certificate. |
ValidFrom | Gets the date in UTC on which a certificate becomes valid. |
ValidTo | Gets the date in UTC after which a certificate is no longer valid. |
Thumbprint | Gets the thumbprint of the certificate. |
Methods
Name | Description |
---|---|
ToX509Certificate() | Gets a .NET X509Certificate2 representation of this instance. |
Remarks
The class Certificate contains various static methods for finding certificates in a system store. The CertificateSystemStore class is also available for working with certificates in a system store.