2.2.1.2.246 CERT_EKU_1

The CERT_EKU_1 structure<175> contains the EKU OID or EKU name of an x.509 certificate (see [RFC2459]).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwSize

IsEKUOID

pwszEKU (variable)

...

dwSize (4 bytes): The size (in bytes) of pwszEKU.

IsEKUOID (4 bytes): Specifies a Boolean value that indicates whether the pwszEKU parameter specifies the EKU OID or EKU name of a certificate. If this parameter is a TRUE value, pwszEKU specifies an EKU OID of a certificate. Otherwise, pwszEKU specifies an EKU name of a connection.

pwszEKU (variable): A pointer to the EKU OID or EKU name of a certificate.