Verified Commit 5c1d657a authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Added hashAlgorithm in document information

parent 8bcecf09
...@@ -313,6 +313,16 @@ class message ...@@ -313,6 +313,16 @@ class message
} }
} }
} }
} elseif($baseMessage->schema == 'seda') {
if (isset($messageObject->archive)) {
foreach ($messageObject->archive as $archive) {
if (isset($archive->document)) {
foreach ($archive->document as $document) {
$document->integrity->hashAlgorithm = substr($document->integrity->algorithme, strrpos($document->integrity->algorithme, "#") + 1);
}
}
}
}
} }
$messageObjects[] = $messageObject; $messageObjects[] = $messageObject;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment