diff options
Diffstat (limited to 'spec-qdp/spec/qdp-optional-hash.yml')
-rw-r--r-- | spec-qdp/spec/qdp-optional-hash.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/spec-qdp/spec/qdp-optional-hash.yml b/spec-qdp/spec/qdp-optional-hash.yml new file mode 100644 index 00000000..93f585a2 --- /dev/null +++ b/spec-qdp/spec/qdp-optional-hash.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020, 2022 embedded brains GmbH & Co. KG +enabled-by: true +links: +- role: spec-member + uid: root +spec-description: null +spec-example: null +spec-info: + none: null + str: + assert: + - re: ^[A-Za-z0-9+_=-]{44}$ + - re: ^[A-Za-z0-9+_=-]{88}$ + description: | + If the value is present, then it shall be a SHA256 or SHA512 hash value + encoded in base64url. +spec-name: Optional Hash +spec-type: qdp-optional-hash +type: spec |