Use credentialLoadX509FromMemory