KeyPair::TestCertificate (open)

Tests if a certificate is valid

Syntax

LOADLIB "mod::system/lib/keystore.whlib";

RECORD FUNCTION TestCertificate(BLOB certdata)

Parameters

BLOB certdata

Certificate data

Return value

RECORD

Verification result

BLOB finalkey

Final certificate chain (missing certificates may be added)

STRING message

Translated error message when the certificate is invalid

BOOLEAN success

Whether the certificate is valid