add_data_reference Method
Creates a new XML reference to the specified data.
Syntax
def add_data_reference(data_uri: str, data: bytes) -> None: ...
Remarks
Use this method to add a reference to the custom data. Pass the reference's URI via DataURI parameter.
This method uses hash_algorithm property to specify the hash algorithm of the reference.