IsCertificateForHostname (open)
Returns whether a decoded certificate is valid for a certain hostname, also considering wildcards
Syntax
LOADLIB "wh::filetypes/pkcs.whlib";
BOOLEAN FUNCTION IsCertificateForHostname(RECORD cert, STRING hostname)Parameters
RECORD certDecoded certificate
STRING hostnameHostname to search for
Return value
BOOLEANTRUE if the certificate is valid for the hostname