diff --git a/kmip/core/factories/attribute_values.py b/kmip/core/factories/attribute_values.py index c2b711e0..1bc1e208 100644 --- a/kmip/core/factories/attribute_values.py +++ b/kmip/core/factories/attribute_values.py @@ -114,6 +114,8 @@ def create_attribute_value(self, name, value): return primitives.Boolean(value, enums.Tags.NEVER_EXTRACTABLE) elif name is enums.AttributeType.CUSTOM_ATTRIBUTE: return attributes.CustomAttribute(value) + elif name is enums.AttributeType.ORIGINAL_CREATION_DATE: + return primitives.DateTime(value, enums.Tags.ORIGINAL_CREATION_DATE) else: if not isinstance(name, str): raise ValueError('Unrecognized attribute type: '