CryptoSys PKI Pro Manual

ocspMakeRequest

Create an Online Certification Status Protocol (OCSP) request as a base64 string.

Syntax

[VBA]
Public Function ocspMakeRequest ( _
    szIssuerCert As String, _
    szCertFileOrSerialNum As String, _
    nOptions As Long, _
    Optional szExtensions As String = "" _
) As String

Parameters

szIssuerCert
Name of issuer's X.509 certificate file (or string with its base64 representation).
szCertFileOrSerialNum
Either the name of X.509 certificate file to be checked or its serial number in hexadecimal format preceded by #x.
nOptions
Algorithm to be used. Select one from:
PKI_HASH_SHA1
PKI_HASH_SHA224
PKI_HASH_SHA256
PKI_HASH_SHA384
PKI_HASH_SHA512
PKI_HASH_MD5
szExtensions
For future use.

Return Value

String: A base64 string suitable for an OCSP request to an Online Certificate Status Manager or an empty string on error.

Remarks

Note different order of parameters from core function.
[PREV: kdfForCms...]   [Contents]   [Index]   
   [NEXT: ocspReadResponse...]

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