summaryrefslogtreecommitdiff
path: root/wrappers/php/src/SignatureTooOldException.php
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/php/src/SignatureTooOldException.php')
-rw-r--r--wrappers/php/src/SignatureTooOldException.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/wrappers/php/src/SignatureTooOldException.php b/wrappers/php/src/SignatureTooOldException.php
new file mode 100644
index 0000000..bbae949
--- /dev/null
+++ b/wrappers/php/src/SignatureTooOldException.php
@@ -0,0 +1,12 @@
+<?php declare(strict_types=1);
+
+namespace EduVpn\Common;
+
+/** Signature has a timestamp lower than the specified minimum signing time. */
+final class SignatureTooOldException extends VerifyException
+{
+ public function __construct()
+ {
+ parent::__construct('replay of previous signature (rollback)', 4);
+ }
+}