X509CertHasExtendedKeyUsage (FUN)

FUNCTION X509CertHasExtendedKeyUsage : BOOL

Check if the extended keyusages of the specified certificate has the specified extended keyusages

InOut:

Scope

Name

Type

Comment

Return

X509CertHasExtendedKeyUsage

BOOL

True if all key usages are part of the certificate.

Input

hCert

RTS_IEC_HANDLE

Handle of to certificate.

numOfExKeyUsages

UDINT

Number of extended keyusages

pExKeyUsages

POINTER TO RtsOID

Pointer to list of extended keyusages

pResult

POINTER TO RTS_IEC_RESULT

POINTER TO error code