X509CertGetPublicKey
(FUN)
FUNCTION X509CertGetPublicKey : RTS_IEC_RESULT
Get the PUBLIC key FROM the certificate.
The format of this key is an implementation detail and has to match the expected format of the asymmetric functions of the CmpCrpyotItf. The key data is opaque for the user of the keys. If the keys are needed in a defined exchange format use the CryptoKeyExport function of the CmpCryptoItf.
- InOut:
Scope
Name
Type
Comment
Return
X509CertGetPublicKey
RTS_IEC_RESULT
Result of the operation.
Input
hCert
RTS_IEC_HANDLE
Handle of the certificate of intrest.
pPublicKey
POINTER TO RtsCryptoKey
Pointer to the crypto key storing the public key.