StephenOTT / STIX-Java

STIX 2.x Java Library
MIT License
27 stars 13 forks source link

Hydration Capabilities for COO References #77

Closed StephenOTT closed 5 years ago

StephenOTT commented 5 years ago

Discussion for Hydration capabilities for COO ref fields

StephenOTT commented 5 years ago

@anlklsim Hydration will not work for COO objects: The issue i am seeing is you do not know what is the object <type> is based on the value in the ref field(s). Its just a ID value without any identification. You need to search the parent dictionary for that ID to see if it exists and determine the type. If you are going to do the search, then you might as well create the actual pointer, as a unhydrated object is sort of redundant at that point

StephenOTT commented 5 years ago

Not needed