aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-07-06 05:17:08 +0000
committerRob Austein <sra@hactrn.net>2012-07-06 05:17:08 +0000
commitaedaacf9aed490ce053c65c98a7cf6d18383ba60 (patch)
tree710dd9baa257ae7fe4a02e39053e66aedf1c5d36 /rpkid/rpki/exceptions.py
parent617838817ef21db22f8699ab126e41f6ba090a02 (diff)
Implement CMS-timestamp-based replay protection. Closes #35.
svn path=/trunk/; revision=4586
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index 21410380..68ea3bf6 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -346,3 +346,8 @@ class ResourceOverlap(RPKI_Exception):
"""
Overlapping resources in resource_set.
"""
+
+class CMSReplay(RPKI_Exception):
+ """
+ Possible CMS replay attack detected.
+ """