kmip-interop-tech — archive
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]
RE: KMIP Comments
> Hi-
>
> Need some clarity with respect to the Attribute Instances.
>
> Let's consider this example.
>
> I have multiple instances Application Specific Information. Like,
>
> Application Specific Information (0) {Application Namespace: SSL,
> Application Date: www.abc.com<http://www.abc.com> }
> Application Specific Information (1) {Application Namespace: SSL,
> Application Date: www.def.com<http://www.def.com> }
> Application Specific Information (2) {Application Namespace: SSL,
> Application Date: www.ghi.com<http://www.ghi.com> }
> Application Specific Information (3) {Application Namespace: SSL,
> Application Date: www.jkl.com<http://www.jkl.com> }
> Application Specific Information (4) {Application Namespace: SSL,
> Application Date: www.mno.com<http://www.mno.com> }
> ...
> ...
> ...
>
> Now,
> [1] When I delete 3rd Instance, will the order be 0,1,2,4 or 4th
> Instance will be shifted to 3rd instance place, hence forming 0,1,2,3?
The following two sentences in Section 2.1.1 (Attribute) in the KMIP
specification on lines 205-207 should hopefully clarify your first
question:
The Attribute Index of an attribute SHALL NOT change when other
instances are added or deleted. For example, if a particular
attribute has 4 instances with Attribute Indices 0, 1, 2 and 3,
and the instance with Attribute Index 2 is deleted, then the
Attribute Index of instance 3 is not changed.
I.e., the 4th instance will not be shifted and the order is 0,1,2,4.
> [2] Is there any limit for the instances of the attributes?
>
KMIP does not limit the number of instances of the attributes, but
a server implementation might. For this situation, a Result Reason
of "Index Out of Bounds" is defined (see e.g. Section 11.14 which
lists errors for the Add Attribute operation).
Best Regards,
Mathias
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]