Thanks Tony,
That makes sense and matches the info I posted in my follow-up email. On my first read of the spec this was unclear (and on subsequent reads, I d argue that the spec is a bit ambiguous).
I think that the spec would benefit from some clarity around this.
I d also be interested in hearing what people think about making the attributes structure optional. Missing or empty would have the same meaning.
John
From:
kmip@lists.oasis-open.org <
kmip@lists.oasis-open.org>
On Behalf Of Tony Cox
Sent: Tuesday, 12 February 2019 3:34 PM
To:
kmip@lists.oasis-open.org Subject: Re: [kmip] Error in kmip-spec-v2.0-csd01 for Locate operation
Hi John,
The intent of the spec (based on my understanding when implementing the deltas) is that you are required to include the "Attributes" structure in a Locate operation. There is no corresponding requirement that says the Attributes structure must be populated.
This is an intentional construct to signal that a locate request is being provided with no search parameters, and is differentiated from a poorly formed request which fails to include the Attributes structure.
In short:
Attributes contains the list of zero or more attributes.
The list container must be present. The list itself can be empty.
Cheers,
Tony Cox
VP Partners, Alliances & Standards
Cryptsoft
P: +61 7 3103 0321, US: +1 (650) 918 4307
tony.cox@cryptsoft.com On 12/02/2019 12:29 pm, John Leiseboer wrote:
Section 6.1.27 of kmip-spec-v2.0-csd01, third paragraph, states: "If no attribute is specified in the request, any object SHALL be deemed to match the Locate request."
Table 230 lists the Attributes item as REQUIRED in the Request Payload. This contradicts the text in the third paragraph which infers that the Attributes item is OPTIONAL.
John
John Leiseboer Chief Technology Officer QuintessenceLabs W: quintessencelabs.com
E:
jl@quintessencelabs.com M(AU): +61 409 487 510 M(US): +1 202 294 6825 Skype: jleiseboer
AU: 15 Denison St Deakin ACT 2601 T: +61 2 6260 4922
US: Suite 220 175 Bernal Road San Jose CA 95119 T: +1 650 870 9920
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php ______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service for QuintessenceLabs Pty Ltd.
______________________________________________________________________