CryptoSys PKI Toolkit Manual

X509_CertIssuerName

Extracts issuer's name from X.509 certificate.

VB6/VBA Syntax

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

nRet = X509_CertIssuerName(strCertFile, strOutput, nOutChars, strDelim, nOptions)

Parameters

strCertFile
[in] String with the filename of the X.509 certificate (or base64 representation).
strOutput
[out] String to receive the name string.
nOutChars
[in] Long specifying the maximum number of characters to be received.
strDelim
[in] String specifying the character to use as a delimiter (default ";").
nOptions
[in] Long Option flags. Select one of:
PKI_DEFAULT (0) (default)
PKI_X509_LATIN1 to try and convert Unicode/UTF-8/T.61 attribute strings to Latin-1 (8-bit ASCII)

C/C++ Syntax

long _stdcall X509_CertIssuerName(const char *szCertFile, char *szOutput, long nOutChars, const char *szDelim, long flags);

Returns (VB6/C)

Long: Returns the number of characters set in strOutput. If nOutChars is zero it returns the maximum number of characters required. 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.CertIssuerName Method

Remarks

See the remarks for X509_CertSubjectName.

Example

See X509_CertSubjectName.

See Also

X509_CertIssuerName X509_HashIssuerAndSN X509_QueryCert

[Contents] [Index]

[HOME]   [NEXT: X509_CertIsValidNow...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.