-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_CertGetFingerprint
chrisd1100 edited this page Mar 26, 2023
·
2 revisions
Get the certificate's SHA-256 fingerprint.
This function will safely truncate overflows with a null character.
void MTY_CertGetFingerprint(
MTY_Cert * ctx,
char * fingerprint,
size_t size
);
ctx
(MTY_Cert *
)
An MTY_Cert
.
fingerprint
(char *
)
Output buffer to receive the fingerprint. This buffer can be of size MTY_FINGERPRINT_MAX
.
size
(size_t
)
Size in bytes of fingerprint
.