summaryrefslogtreecommitdiff
path: root/spec-qdp/spec/qdp-optional-hash.yml
blob: 93f585a2e92821c41282a403734b4d6f586e9ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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