[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [kmip] Re: PKCS#11 Function enumeration question
In KMIP, all enumerations start from 1.(C's counting from 0 is the work of the devil, a disease that has infected other languages and caused much chaos. But I digress...)On Wed, Nov 21, 2018 at 7:05 PM Mark Joseph <email@example.com> wrote:From Section 6.1.35 PKCS#11 KMIP 2.0 draft 6PKCS#11 Function -- The function to perform. An Enumeration for PKCS#11 defined functions or an Integer for vendor defined function..Looking at the PKCS#11 2.40 version spec (http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/os/pkcs11-base-v2.40-os.html)Section CK_FUNCTION_LIST; CK_FUNCTION_LIST_PTR; CK_FUNCTION_LIST_PTR_PTRThere is the function list table defined.etc...Is this list zero based or start at one? The enumeration value for "C_Initialize" is 1 or 0 ?Best,Mark JosephP6R, Inc408-205-0361
--Anthony Berglas Ph.D.