Source code for dapla_metadata.datasets.utility.enums

"""Enumerations used in Datadoc."""

from __future__ import annotations

from enum import Enum


[docs] class SupportedLanguages(str, Enum): """The list of languages metadata may be recorded in. Reference: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry """ NORSK_BOKMÃ…L = "nb" # noqa: PLC2401 the listed problems do not apply in this case NORSK_NYNORSK = "nn" ENGLISH = "en"
[docs] class EncryptionAlgorithm(str, Enum): """Encryption algorithm values for pseudonymization algoprithms offered on Dapla.""" PAPIS_ENCRYPTION_ALGORITHM = "TINK-FPE" DAEAD_ENCRYPTION_ALGORITHM = "TINK-DAEAD"