X509 Class |
The X509 type exposes the following members.
| Name | Description | |
|---|---|---|
| CertExpiresOn | Return date and time certificate expires. | |
| CertIssuedOn | Return date and time certificate was issued. | |
| CertIssuerName | Get the issuer name of an X.509 certificate. | |
| CertIsValidNow | Verify that an X.509 certificate is currently valid as per system clock. | |
| CertRequest | Create a PKCS #10 certificate signing request (CSR). | |
| CertSerialNumber | Return serial number in hex format. | |
| CertSubjectName | Get the subject name of an X.509 certificate. | |
| CertThumb | Calculate the thumbprint (message digest hash) of an X.509 certificate. | |
| CheckCertInCRL | Check whether an X.509 certificate has been revoked in a Certificate Revocation List (CRL). | |
| GetCertCountInP7Chain | Return number of certificates in a PKCS-7 "certs-only" certificate chain file. | |
| GetCertFromP7Chain | Extract an X.509 certificate from a PKCS-7 "certs-only" certificate chain file, saving the output directly as a new file. | |
| GetCertFromPFX | Extract an X.509 certificate from a PKCS-12 PFX/.p12 file, saving the output directly as a new file. | |
| GetP7ChainFromPFX | Extract all X.509 certificates from a PKCS-12 PFX/.p12 file, saving the output directly as a new PKCS-7 "certs-only" certificate chain file. | |
| HashIssuerAndSN | Create a message digest of the Issuer's name and the cert serial number. | |
| KeyUsageFlags | Returns a bitfield containing the keyUsage flags. | |
| MakeCert | Create a new X.509 certificate using subject's public key and issuer's private key files with signature options. | |
| MakeCertSelf | Create a self-signed X.509 certificate with signature options. | |
| MakeCRL | Create an X.509 Certificate Revocation List (CRL). | |
| QueryCert | Query an X.509 certificate file for selected information. | |
| ReadCertStringFromP7Chain | Read an X.509 certificate into a base64 string from PKCS-7 "certs-only" data. | |
| ReadCertStringFromPFX | Read an X.509 certificate into a base64 string from PKCS-12 PFX/.p12 data. | |
| ReadStringFromFile | Create a base64 string representation of a X.509 certificate file. | |
| SaveFileFromString | Create a new X.509 certificate file from a base64 string representation. | |
| TextDump | Dump details of an X.509 certificate or a X.509 certificate revocation list (CRL) or a PKCS-10 certificate signing request (CSR) to a text file. | |
| TextDumpToString | Dump details of an X.509 certificate or a X.509 certificate revocation list (CRL) or a PKCS-10 certificate signing request (CSR) to a string. | |
| ValidatePath | Validate a certificate path. | |
| VerifyCert | Verify that an X.509 certificate has been signed by its issuer. |
| Name | Description | |
|---|---|---|
| Expired | Return value from X509.CertIsValidNow indicating that the certificate has expired (EXPIRED_ERROR). | |
| Failure | Return value from X509.VerifyCert indicating failure (SIGNATURE_ERROR). | |
| Invalid | Return value from X509.ValidatePath indicating that the certificate path is invalid (CERT_PATH_ERROR). | |
| Revoked | Return value from X509.CheckCertInCRL indicating that the certificate is revoked (REVOCATION_ERROR). |