Skip to content

CertificateInfo Class ​

Definition ​

Represents a class for retrieving certificate information.

  • Namespace: JASE.Network
  • Assembly: JASE.Network.dll

Constructors ​

NameDescription
CertificateInfo(X509Certificate certificate)Initializes a new instance of the CertificateInfo class using the specified X.509 certificate.

Properties ​

NameDescription
AuthorityInformationAccessGets the authority information access of the X.509 certificate.
AuthorityKeyIdentifierGets the authority key identifier of the X.509 certificate.
BasicConstraintsGets the basic constraints of the X.509 certificate.
CertificatePoliciesGets the certificate policies of the X.509 certificate.
CRLDistributionPointsGets the CRL distribution points of the X.509 certificate.
EffectiveDateGets the effective date of the X.509 certificate.
EnhancedKeyUsageGets the enhanced key usage of the X.509 certificate.
ExpirationGets the expiration date of the X.509 certificate.
HostnameReturns the Certificate hostname
IsExpiredCheck if Certificate is expired
IssuerGets the issuer of the X.509 certificate.
IsValidTimeChecks is Certificate is currently valid
IsWildcardGets a value indicating whether the certificate is a wildcard certificate (e.g., *.domain.com).
KeyUsageGets the key usage of the X.509 certificate.
SerialNumberGets the serial number of the X.509 certificate.
SubjectGets the subject of the X.509 certificate.
SubjectAlternativeNameGets the subject alternative name of the X.509 certificate.
SubjectKeyIdentifierGets the subject key identifier of the X.509 certificate.

Methods ​

NameDescription
bool IsValidForHost(string hostname)Checks if the certificate is valid for the specified target hostname.