CryptoSys PKI Pro Manual

X509_CertIssuedOn

Returns the date and time an X.509 certificate was issued.

VBA/VB6 Syntax

Public Declare Function X509_CertIssuedOn Lib "diCrPKI.dll" (ByVal strCertFile As String, ByVal strOutput As String, ByVal nOutChars As Long, ByVal nOptions As Long) As Long

nRet = X509_CertIssuedOn(strCertFile, strOutput, nOutChars, nOptions)

C/C++ Syntax

long __stdcall X509_CertIssuedOn(const char *szCertFile, char *szOutput, long nOutChars, long nOptions);

Parameters

szCertFile
[in] with the filename of the X.509 certificate (or base64 representation).
szOutput
[out] to receive the time-date string.
nOutChars
[in] specifying the maximum length of the time-date string.
nOptions
[in] option flags: not used in this release. Specify zero.

Returns (VBA/C)

Returns the number of characters set in szOutput. If nOutChars is zero it returns the maximum number of characters required (currently 20, but don't assume that for future releases). C/C++ users should allocate one extra for the terminating NUL character. If an error occurs, it returns a negative error code.

.NET Equivalent

X509.CertIssuedOn Method

Remarks

The time format is in accordance with ISO 8601 and will always be of the form YYYY-MM-DDThh:mm:ssZ. The time is always given as GMT (Greenwich Mean Time, UTC, Zulu Time).

Example

See X509_CertExpiresOn.

See Also

X509_CertExpiresOn X509_CertIsValidNow X509_QueryCert

[Contents] [Index]

[PREV: X509_CertExpiresOn...]   [Contents]   [Index]   
   [NEXT: X509_CertIssuerName...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.