referenceDigestValue (property)
Use this property to get or set the value of the digest calculated over the referenced data.
Syntax
- (NSData*)referenceDigestValue:(int)referenceIndex; - (void)setReferenceDigestValue:(int)referenceIndex:(NSData*)newReferenceDigestValue;
public func referenceDigestValue(referenceIndex: Int32) throws -> Data
public func setReferenceDigestValue(referenceIndex: Int32, newReferenceDigestValue: Data) throws -> Void
Remarks
Use this property to get or set the value of the digest calculated over the referenced data.
This property is optional and should be set only if you don't provide the actual data via TargetData or URI. If the data is set, then you don't need to set DigestValue since it will be calculated automatically.
The ReferenceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ReferenceCount property.