summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-18 22:53:57 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-18 22:53:57 +0100
commit49b30838def07c225481def5e54458c22f6ceece (patch)
treefce213ba90b6688f038be5edf5d51c756fe5a6bb /src/verify.h
parent2c11132af71aefb81f9e201403b1f3b9b005d0c0 (diff)
Bv2.1 9.1: PKL annotation text must match CPL ContentTitleText if there is only one CPL in the PKL.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/verify.h b/src/verify.h
index 833efa72..46c7b2e3 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -174,7 +174,9 @@ public:
/** <ExtensionMetadata> must have a particular form Bv2.1_8.6.3 */
INVALID_EXTENSION_METADATA,
/** CPLs containing encrypted content must be signed Bv2.1_8.7 */
- CPL_WITH_ENCRYPTED_CONTENT_NOT_SIGNED
+ CPL_WITH_ENCRYPTED_CONTENT_NOT_SIGNED,
+ /** If a PKL has one CPL its <ContentTitleText> must be the same as the PKL's <AnnotationText> */
+ PKL_ANNOTATION_TEXT_DOES_NOT_MATCH_CPL_CONTENT_TITLE_TEXT
};
VerificationNote (Type type, Code code)