addDataReference (method)
Creates a new XML reference to the specified data.
Syntax
- (void)addDataReference:(NSString*)dataURI :(NSData*)data;
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.