X509CertGetBinary
(FUN)
FUNCTION X509CertGetBinary : RTS_IEC_RESULT
Get the certificate in a binary encoded format. Use the encoding parameter to set the needed format.
- InOut:
Scope
Name
Type
Comment
Return
X509CertGetBinary
RTS_IEC_RESULT
Result of the operation.
Input
hCert
RTS_IEC_HANDLE
Handle of the certificate of intrest.
encoding
RtsCertEncoding
How to encode the certificate.
pCert
POINTER TO RtsByteString
Buffer where to store the certificate. If the bytestring contains a NULL memory pointer the function will write the needed bufferlength to the pCert->ui32Length member.