Get the checksum for the data object associated with the specified pid.
Get the checksum for the data object associated with the specified pid.
A checksum is calculated for an object when it is uploaded to DataONE and is submitted with the object's system metadata. The 'getChecksum' method retrieves the checksum from the specified coordinating node
getChecksum(x,...)## S4 method for signature 'CNode'getChecksum(x, pid,...)## S4 method for signature 'MNode'getChecksum(x, pid, checksumAlgorithm ="SHA-256")
Arguments
x: The CNode instance from which the checksum will be retrieved
...: (Not yet used)
pid: The identifier of the object
checksumAlgorithm: The algorithm used to calculate the checksum. Default="SHA-256"
Returns
character the checksum value, with the checksum algorithm as the attribute "algorithm"