Appearance
CertificateInfo Class
Definition
Represents a class for retrieving certificate information.
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Constructors
| Name | Description |
|---|---|
CertificateInfo(X509Certificate certificate) | Initializes a new instance of the CertificateInfo class using the specified X.509 certificate. |
Properties
| Name | Description |
|---|---|
AuthorityInformationAccess | Gets the authority information access of the X.509 certificate. |
AuthorityKeyIdentifier | Gets the authority key identifier of the X.509 certificate. |
BasicConstraints | Gets the basic constraints of the X.509 certificate. |
CertificatePolicies | Gets the certificate policies of the X.509 certificate. |
CRLDistributionPoints | Gets the CRL distribution points of the X.509 certificate. |
EffectiveDate | Gets the effective date of the X.509 certificate. |
EnhancedKeyUsage | Gets the enhanced key usage of the X.509 certificate. |
Expiration | Gets the expiration date of the X.509 certificate. |
Hostname | Returns the Certificate hostname |
IsExpired | Check if Certificate is expired |
Issuer | Gets the issuer of the X.509 certificate. |
IsValidTime | Checks is Certificate is currently valid |
IsWildcard | Gets a value indicating whether the certificate is a wildcard certificate (e.g., *.domain.com). |
KeyUsage | Gets the key usage of the X.509 certificate. |
SerialNumber | Gets the serial number of the X.509 certificate. |
Subject | Gets the subject of the X.509 certificate. |
SubjectAlternativeName | Gets the subject alternative name of the X.509 certificate. |
SubjectKeyIdentifier | Gets the subject key identifier of the X.509 certificate. |
Methods
| Name | Description |
|---|---|
bool IsValidForHost(string hostname) | Checks if the certificate is valid for the specified target hostname. |