Aranya
a software development tool for governing access to data and services over a decentralized, zero-trust framework with secure end-to-end encrypted data exchange built-in.
Loading...
Searching...
No Matches
Data Fields | Related Symbols
AranyaId Struct Reference

Data Fields

uint8_t bytes [ARANYA_ID_LEN]
 

Related Symbols

(Note that these are not member symbols.)

AranyaError aranya_id_to_str (const struct AranyaId *id, char *str, size_t *str_len)
 Writes the human-readable encoding of id to str.
 
AranyaError aranya_id_from_str (const char *str, struct AranyaId *__output)
 Decodes str into an `AranyaId`.
 

Friends And Related Symbol Documentation

◆ aranya_id_from_str()

AranyaError aranya_id_from_str ( const char *  str,
struct AranyaId __output 
)
related

Decodes str into an `AranyaId`.

Parameters
strpointer to a null-terminated string.

◆ aranya_id_to_str()

AranyaError aranya_id_to_str ( const struct AranyaId id,
char *  str,
size_t *  str_len 
)
related

Writes the human-readable encoding of id to str.

To always succeed, str must be at least ARANYA_ID_STR_LEN bytes long.

Parameters
deviceID `AranyaId`.
strID string `AranyaId`.
str_lenreturns the length of str

The documentation for this struct was generated from the following file: