We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc493bc commit 9594c6fCopy full SHA for 9594c6f
1 file changed
src/XML/ds/X509Certificate.php
@@ -52,6 +52,9 @@ public function getCertificate(): string
52
*/
53
private function setCertificate(string $certificate): void
54
{
55
+ Assert::notEmpty($digest, 'DigestValue cannot be empty');
56
+ Assert::stringPlausibleBase64($digest, 'ds:X509Certificate is not a valid Base64 encoded string');
57
+
58
$this->certificate = $certificate;
59
}
60
0 commit comments