X509CertCheckIP (FUN)

FUNCTION X509CertCheckIP : BOOL

Check if a certificate is bound to a specific IP Address.

InOut:

Scope

Name

Type

Comment

Return

X509CertCheckIP

BOOL

True if the IP is part of the certificate.

Input

hCert

RTS_IEC_HANDLE

Handle of to certificate.

pIP

POINTER TO SysSocket_Interfaces.INADDR

IP adress to check in network byte order

flags

RtsX509CertCheckFlags

Flags how to check for the IP address. Values of the enumeration can be combined.

pResult

POINTER TO RTS_IEC_RESULT

Pointer to the error code. ERR_PARAMETER: hCert is invalid, ERR_OK: everything went fine.