AddDataReference Method
Creates a new XML reference to the specified data.
Syntax
public func addDataReference(dataURI: String, data: Data) throws -> Void
Remarks
Use this method to add a reference to the custom data. Pass the reference's URI via DataURI parameter.
Use HashAlgorithm property to specify the hash algorithm to use.