Overview
Basic, fundamental types in MUFL roughly correspond to domains with some additions:
any
- represents any valuenil
- a single-value type to indicate a missing value, nil. The value is of domain NIL. This type is also used to specify that a function does not return a value.true
- value for true from domain TRUEtrue+
- a boolean type with only the valuesTRUE
andNIL
int
- all values from domain INTEGERstr
- all values from domain STRINGbin
- all values from domain BINARYhash
- values from domain HASH_CODEdb
- all values from domain PACKETsr
- all values from domain SAFEREFtime
- all values from domain TIMEcrypto
- all cryptographically-relevant data from domain CRYPTO_ELEMENT
Cryptographic Data Subtypes
Additionally, the crypto
type can be used to indicate any cryptographically-relevant data. MUFL presents specific kinds of cryptographic data available via these subtypes of crypto
:
secretkey_sign
- a private signing keypublickey_sign
- a public signing keysecretkey_encrypt
- a private encryption keypublickey_encrypt
- a public encryption keycrypto_signature
- a cryptographic signaturecrypto_message
- an encrypted message
For more information, refer to Cryptography in MUFL.