194 err =
noise_protobuf_add_to_array((
void **)&((*obj)->signatures), &((*obj)->signatures_count_), &((*obj)->signatures_max_), &value,
sizeof(value));
222 return obj ? (obj->
version != 0) : 0;
251 return obj ? (obj->
subject != 0) : 0;
302 if (obj && index < obj->signatures_count_)
388 err =
noise_protobuf_add_to_array((
void **)&((*obj)->certs), &((*obj)->certs_count_), &((*obj)->certs_max_), &value,
sizeof(value));
432 if (obj && index < obj->certs_count_)
433 return obj->
certs[index];
531 (*obj)->id_size_ = 0;
537 (*obj)->name_size_ = 0;
543 (*obj)->role_size_ = 0;
588 return obj ? (obj->
id != 0) : 0;
593 return obj ? obj->
id : 0;
605 obj->
id = (
char *)malloc(size + 1);
607 memcpy(obj->
id, value, size);
632 return obj ? (obj->
name != 0) : 0;
637 return obj ? obj->
name : 0;
649 obj->
name = (
char *)malloc(size + 1);
651 memcpy(obj->
name, value, size);
676 return obj ? (obj->
role != 0) : 0;
681 return obj ? obj->
role : 0;
693 obj->
role = (
char *)malloc(size + 1);
695 memcpy(obj->
role, value, size);
734 if (obj && index < obj->keys_count_)
735 return obj->
keys[index];
794 if (obj && index < obj->meta_count_)
795 return obj->
meta[index];
877 (*obj)->algorithm = 0;
878 (*obj)->algorithm_size_ = 0;
884 (*obj)->key_size_ = 0;
930 obj->
algorithm = (
char *)malloc(size + 1);
957 return obj ? (obj->
key != 0) : 0;
962 return obj ? obj->
key : 0;
974 obj->
key = (
void *)malloc(size ? size : 1);
976 memcpy(obj->
key, value, size);
1038 (*obj)->name_size_ = 0;
1044 (*obj)->value_size_ = 0;
1073 return obj ? (obj->
name != 0) : 0;
1078 return obj ? obj->
name : 0;
1090 obj->
name = (
char *)malloc(size + 1);
1092 memcpy(obj->
name, value, size);
1093 obj->
name[size] = 0;
1117 return obj ? (obj->
value != 0) : 0;
1122 return obj ? obj->
value : 0;
1134 obj->
value = (
char *)malloc(size + 1);
1136 memcpy(obj->
value, value, size);
1137 obj->
value[size] = 0;
1211 (*obj)->id_size_ = 0;
1217 (*obj)->name_size_ = 0;
1222 (*obj)->signing_key = 0;
1227 (*obj)->hash_algorithm = 0;
1228 (*obj)->hash_algorithm_size_ = 0;
1233 (*obj)->extra_signed_info = 0;
1238 (*obj)->signature = 0;
1239 (*obj)->signature_size_ = 0;
1268 return obj ? (obj->
id != 0) : 0;
1273 return obj ? obj->
id : 0;
1285 obj->
id = (
char *)malloc(size + 1);
1287 memcpy(obj->
id, value, size);
1312 return obj ? (obj->
name != 0) : 0;
1317 return obj ? obj->
name : 0;
1329 obj->
name = (
char *)malloc(size + 1);
1331 memcpy(obj->
name, value, size);
1332 obj->
name[size] = 0;
1489 obj->
signature = (
void *)malloc(size ? size : 1);
1520 for (index = 0; index < obj->
meta_count_; ++index)
1534 for (index = obj->
meta_count_; index > 0; --index)
1563 (*obj)->nonce_size_ = 0;
1568 (*obj)->valid_from = 0;
1569 (*obj)->valid_from_size_ = 0;
1574 (*obj)->valid_to = 0;
1575 (*obj)->valid_to_size_ = 0;
1612 return obj ? (obj->
nonce != 0) : 0;
1617 return obj ? obj->
nonce : 0;
1629 obj->
nonce = (
void *)malloc(size ? size : 1);
1631 memcpy(obj->
nonce, value, size);
1699 return obj ? (obj->
valid_to != 0) : 0;
1716 obj->
valid_to = (
char *)malloc(size + 1);
1718 memcpy(obj->
valid_to, value, size);
1734 for (index = 0; index < obj->
meta_count_; ++index)
1757 if (obj && index < obj->meta_count_)
1758 return obj->
meta[index];
1850 (*obj)->algorithm = 0;
1851 (*obj)->algorithm_size_ = 0;
1857 (*obj)->salt_size_ = 0;
1865 (*obj)->encrypted_data = 0;
1866 (*obj)->encrypted_data_size_ = 0;
1893 return obj ? (obj->
version != 0) : 0;
1898 return obj ? obj->
version : 0;
1940 obj->
algorithm = (
char *)malloc(size + 1);
1967 return obj ? (obj->
salt != 0) : 0;
1972 return obj ? obj->
salt : 0;
1984 obj->
salt = (
void *)malloc(size ? size : 1);
1986 memcpy(obj->
salt, value, size);
2086 for (index = 0; index < obj->
keys_count_; ++index)
2089 for (index = 0; index < obj->
meta_count_; ++index)
2103 for (index = obj->
meta_count_; index > 0; --index)
2105 for (index = obj->
keys_count_; index > 0; --index)
2134 (*obj)->id_size_ = 0;
2140 (*obj)->name_size_ = 0;
2146 (*obj)->role_size_ = 0;
2191 return obj ? (obj->
id != 0) : 0;
2196 return obj ? obj->
id : 0;
2208 obj->
id = (
char *)malloc(size + 1);
2210 memcpy(obj->
id, value, size);
2235 return obj ? (obj->
name != 0) : 0;
2240 return obj ? obj->
name : 0;
2252 obj->
name = (
char *)malloc(size + 1);
2254 memcpy(obj->
name, value, size);
2255 obj->
name[size] = 0;
2279 return obj ? (obj->
role != 0) : 0;
2284 return obj ? obj->
role : 0;
2296 obj->
role = (
char *)malloc(size + 1);
2298 memcpy(obj->
role, value, size);
2299 obj->
role[size] = 0;
2314 for (index = 0; index < obj->
keys_count_; ++index)
2337 if (obj && index < obj->keys_count_)
2338 return obj->
keys[index];
2374 for (index = 0; index < obj->
meta_count_; ++index)
2397 if (obj && index < obj->meta_count_)
2398 return obj->
meta[index];
2480 (*obj)->algorithm = 0;
2481 (*obj)->algorithm_size_ = 0;
2487 (*obj)->key_size_ = 0;
2533 obj->
algorithm = (
char *)malloc(size + 1);
2560 return obj ? (obj->
key != 0) : 0;
2565 return obj ? obj->
key : 0;
2577 obj->
key = (
void *)malloc(size ? size : 1);
2579 memcpy(obj->
key, value, size);
const char * Noise_Signature_get_hash_algorithm(const Noise_Signature *obj)
int Noise_Signature_clear_extra_signed_info(Noise_Signature *obj)
int Noise_SubjectInfo_add_keys(Noise_SubjectInfo *obj, Noise_PublicKeyInfo **value)
size_t Noise_ExtraSignedInfo_get_size_valid_from(const Noise_ExtraSignedInfo *obj)
int Noise_Signature_set_name(Noise_Signature *obj, const char *value, size_t size)
int Noise_Signature_clear_signature(Noise_Signature *obj)
Noise_MetaInfo * Noise_PrivateKey_get_at_meta(const Noise_PrivateKey *obj, size_t index)
int Noise_Signature_set_signature(Noise_Signature *obj, const void *value, size_t size)
const char * Noise_EncryptedPrivateKey_get_algorithm(const Noise_EncryptedPrivateKey *obj)
const char * Noise_SubjectInfo_get_name(const Noise_SubjectInfo *obj)
int Noise_Certificate_write(NoiseProtobuf *pbuf, int tag, const Noise_Certificate *obj)
int Noise_PrivateKey_clear_id(Noise_PrivateKey *obj)
int Noise_ExtraSignedInfo_has_valid_from(const Noise_ExtraSignedInfo *obj)
int Noise_ExtraSignedInfo_add_meta(Noise_ExtraSignedInfo *obj, Noise_MetaInfo **value)
int Noise_EncryptedPrivateKey_has_salt(const Noise_EncryptedPrivateKey *obj)
int Noise_Certificate_free(Noise_Certificate *obj)
int Noise_MetaInfo_clear_value(Noise_MetaInfo *obj)
int Noise_ExtraSignedInfo_free(Noise_ExtraSignedInfo *obj)
int Noise_SubjectInfo_set_name(Noise_SubjectInfo *obj, const char *value, size_t size)
Noise_PrivateKeyInfo ** keys
int Noise_Signature_new(Noise_Signature **obj)
uint32_t Noise_EncryptedPrivateKey_get_iterations(const Noise_EncryptedPrivateKey *obj)
int Noise_SubjectInfo_new(Noise_SubjectInfo **obj)
size_t Noise_SubjectInfo_get_size_role(const Noise_SubjectInfo *obj)
int noise_protobuf_write_bytes(NoiseProtobuf *pbuf, int tag, const void *data, size_t size)
const void * Noise_EncryptedPrivateKey_get_encrypted_data(const Noise_EncryptedPrivateKey *obj)
int Noise_EncryptedPrivateKey_write(NoiseProtobuf *pbuf, int tag, const Noise_EncryptedPrivateKey *obj)
#define NOISE_ERROR_INVALID_PARAM
Invalid parameter to function; e.g. a NULL value.
Noise_Signature * Noise_Certificate_get_at_signatures(const Noise_Certificate *obj, size_t index)
int Noise_PublicKeyInfo_set_algorithm(Noise_PublicKeyInfo *obj, const char *value, size_t size)
uint32_t Noise_Certificate_get_version(const Noise_Certificate *obj)
Noise_SubjectInfo * subject
int Noise_ExtraSignedInfo_write(NoiseProtobuf *pbuf, int tag, const Noise_ExtraSignedInfo *obj)
int Noise_Signature_has_name(const Noise_Signature *obj)
int Noise_Signature_clear_hash_algorithm(Noise_Signature *obj)
int Noise_Certificate_has_signatures(const Noise_Certificate *obj)
int Noise_EncryptedPrivateKey_clear_version(Noise_EncryptedPrivateKey *obj)
int Noise_SubjectInfo_write(NoiseProtobuf *pbuf, int tag, const Noise_SubjectInfo *obj)
int Noise_SubjectInfo_insert_meta(Noise_SubjectInfo *obj, size_t index, Noise_MetaInfo *value)
int Noise_PrivateKeyInfo_set_algorithm(Noise_PrivateKeyInfo *obj, const char *value, size_t size)
int noise_protobuf_write_end_element(NoiseProtobuf *pbuf, size_t *end_posn)
int Noise_ExtraSignedInfo_set_valid_to(Noise_ExtraSignedInfo *obj, const char *value, size_t size)
size_t Noise_Certificate_count_signatures(const Noise_Certificate *obj)
int Noise_MetaInfo_set_value(Noise_MetaInfo *obj, const char *value, size_t size)
#define NOISE_ERROR_NONE
Success, no error.
int noise_protobuf_read_at_end_element(const NoiseProtobuf *pbuf, size_t end_posn)
int Noise_Signature_has_extra_signed_info(const Noise_Signature *obj)
size_t Noise_PrivateKeyInfo_get_size_algorithm(const Noise_PrivateKeyInfo *obj)
int Noise_EncryptedPrivateKey_has_algorithm(const Noise_EncryptedPrivateKey *obj)
const char * Noise_PrivateKey_get_name(const Noise_PrivateKey *obj)
int Noise_CertificateChain_clear_certs(Noise_CertificateChain *obj)
int noise_protobuf_read_skip(NoiseProtobuf *pbuf)
const char * Noise_PrivateKey_get_id(const Noise_PrivateKey *obj)
int Noise_PrivateKey_free(Noise_PrivateKey *obj)
size_t Noise_EncryptedPrivateKey_get_size_algorithm(const Noise_EncryptedPrivateKey *obj)
int Noise_Signature_write(NoiseProtobuf *pbuf, int tag, const Noise_Signature *obj)
size_t Noise_Signature_get_size_signature(const Noise_Signature *obj)
int Noise_MetaInfo_set_name(Noise_MetaInfo *obj, const char *value, size_t size)
int Noise_PrivateKey_set_role(Noise_PrivateKey *obj, const char *value, size_t size)
int Noise_CertificateChain_write(NoiseProtobuf *pbuf, int tag, const Noise_CertificateChain *obj)
int Noise_SubjectInfo_add_meta(Noise_SubjectInfo *obj, Noise_MetaInfo **value)
int Noise_PrivateKey_write(NoiseProtobuf *pbuf, int tag, const Noise_PrivateKey *obj)
const char * Noise_SubjectInfo_get_id(const Noise_SubjectInfo *obj)
int Noise_Signature_clear_name(Noise_Signature *obj)
const char * Noise_PrivateKey_get_role(const Noise_PrivateKey *obj)
int Noise_SubjectInfo_clear_keys(Noise_SubjectInfo *obj)
int noise_protobuf_add_to_array(void **array, size_t *count, size_t *max, const void *value, size_t size)
size_t encrypted_data_size_
int Noise_ExtraSignedInfo_clear_valid_to(Noise_ExtraSignedInfo *obj)
int Noise_SubjectInfo_has_id(const Noise_SubjectInfo *obj)
size_t Noise_CertificateChain_count_certs(const Noise_CertificateChain *obj)
int Noise_EncryptedPrivateKey_clear_salt(Noise_EncryptedPrivateKey *obj)
int Noise_Signature_set_id(Noise_Signature *obj, const char *value, size_t size)
int Noise_Certificate_insert_signatures(Noise_Certificate *obj, size_t index, Noise_Signature *value)
int Noise_EncryptedPrivateKey_new(Noise_EncryptedPrivateKey **obj)
int Noise_Signature_set_hash_algorithm(Noise_Signature *obj, const char *value, size_t size)
Noise_MetaInfo * Noise_SubjectInfo_get_at_meta(const Noise_SubjectInfo *obj, size_t index)
const void * Noise_EncryptedPrivateKey_get_salt(const Noise_EncryptedPrivateKey *obj)
int Noise_PrivateKey_has_id(const Noise_PrivateKey *obj)
size_t Noise_PrivateKey_count_meta(const Noise_PrivateKey *obj)
int noise_protobuf_insert_into_array(void **array, size_t *count, size_t *max, size_t index, const void *value, size_t size)
const void * Noise_PrivateKeyInfo_get_key(const Noise_PrivateKeyInfo *obj)
int Noise_Certificate_get_new_subject(Noise_Certificate *obj, Noise_SubjectInfo **value)
int Noise_Signature_read(NoiseProtobuf *pbuf, int tag, Noise_Signature **obj)
int Noise_PrivateKey_insert_meta(Noise_PrivateKey *obj, size_t index, Noise_MetaInfo *value)
Noise_Signature ** signatures
size_t Noise_SubjectInfo_count_keys(const Noise_SubjectInfo *obj)
int Noise_PublicKeyInfo_has_key(const Noise_PublicKeyInfo *obj)
int noise_protobuf_peek_tag(const NoiseProtobuf *pbuf)
int Noise_PublicKeyInfo_write(NoiseProtobuf *pbuf, int tag, const Noise_PublicKeyInfo *obj)
int Noise_EncryptedPrivateKey_has_version(const Noise_EncryptedPrivateKey *obj)
int Noise_PrivateKey_clear_keys(Noise_PrivateKey *obj)
Noise_Certificate ** certs
int Noise_PrivateKeyInfo_new(Noise_PrivateKeyInfo **obj)
size_t Noise_ExtraSignedInfo_get_size_valid_to(const Noise_ExtraSignedInfo *obj)
int noise_protobuf_write_start_element(NoiseProtobuf *pbuf, int tag, size_t end_posn)
int Noise_Certificate_clear_subject(Noise_Certificate *obj)
int Noise_PrivateKeyInfo_read(NoiseProtobuf *pbuf, int tag, Noise_PrivateKeyInfo **obj)
int Noise_EncryptedPrivateKey_clear_iterations(Noise_EncryptedPrivateKey *obj)
int Noise_EncryptedPrivateKey_free(Noise_EncryptedPrivateKey *obj)
int Noise_SubjectInfo_has_meta(const Noise_SubjectInfo *obj)
int Noise_CertificateChain_add_certs(Noise_CertificateChain *obj, Noise_Certificate **value)
size_t Noise_PublicKeyInfo_get_size_key(const Noise_PublicKeyInfo *obj)
Noise_Certificate * Noise_CertificateChain_get_at_certs(const Noise_CertificateChain *obj, size_t index)
int Noise_Certificate_has_version(const Noise_Certificate *obj)
#define NOISE_ERROR_NO_MEMORY
Insufficient memory to complete the operation.
size_t Noise_PrivateKeyInfo_get_size_key(const Noise_PrivateKeyInfo *obj)
int Noise_PublicKeyInfo_free(Noise_PublicKeyInfo *obj)
int Noise_Signature_get_new_signing_key(Noise_Signature *obj, Noise_PublicKeyInfo **value)
Noise_PublicKeyInfo * Noise_Signature_get_signing_key(const Noise_Signature *obj)
const char * Noise_MetaInfo_get_value(const Noise_MetaInfo *obj)
Noise_PublicKeyInfo * Noise_SubjectInfo_get_at_keys(const Noise_SubjectInfo *obj, size_t index)
int Noise_Signature_get_new_extra_signed_info(Noise_Signature *obj, Noise_ExtraSignedInfo **value)
int Noise_MetaInfo_free(Noise_MetaInfo *obj)
int Noise_EncryptedPrivateKey_clear_algorithm(Noise_EncryptedPrivateKey *obj)
size_t Noise_ExtraSignedInfo_get_size_nonce(const Noise_ExtraSignedInfo *obj)
const void * Noise_Signature_get_signature(const Noise_Signature *obj)
int Noise_ExtraSignedInfo_has_meta(const Noise_ExtraSignedInfo *obj)
size_t Noise_Signature_get_size_name(const Noise_Signature *obj)
const char * Noise_PrivateKeyInfo_get_algorithm(const Noise_PrivateKeyInfo *obj)
int Noise_CertificateChain_free(Noise_CertificateChain *obj)
int Noise_PrivateKeyInfo_clear_key(Noise_PrivateKeyInfo *obj)
Noise_SubjectInfo * Noise_Certificate_get_subject(const Noise_Certificate *obj)
Noise_ExtraSignedInfo * extra_signed_info
int Noise_SubjectInfo_clear_id(Noise_SubjectInfo *obj)
size_t Noise_Signature_get_size_hash_algorithm(const Noise_Signature *obj)
uint32_t Noise_EncryptedPrivateKey_get_version(const Noise_EncryptedPrivateKey *obj)
int Noise_ExtraSignedInfo_clear_meta(Noise_ExtraSignedInfo *obj)
int Noise_PrivateKey_add_keys(Noise_PrivateKey *obj, Noise_PrivateKeyInfo **value)
int Noise_CertificateChain_insert_certs(Noise_CertificateChain *obj, size_t index, Noise_Certificate *value)
int Noise_PrivateKey_has_meta(const Noise_PrivateKey *obj)
int Noise_PrivateKeyInfo_clear_algorithm(Noise_PrivateKeyInfo *obj)
int Noise_Certificate_has_subject(const Noise_Certificate *obj)
int Noise_MetaInfo_write(NoiseProtobuf *pbuf, int tag, const Noise_MetaInfo *obj)
int Noise_ExtraSignedInfo_has_nonce(const Noise_ExtraSignedInfo *obj)
int Noise_MetaInfo_read(NoiseProtobuf *pbuf, int tag, Noise_MetaInfo **obj)
int Noise_PrivateKey_set_id(Noise_PrivateKey *obj, const char *value, size_t size)
size_t Noise_EncryptedPrivateKey_get_size_salt(const Noise_EncryptedPrivateKey *obj)
int noise_protobuf_read_alloc_string(NoiseProtobuf *pbuf, int tag, char **str, size_t max_size, size_t *size)
int Noise_Signature_has_signing_key(const Noise_Signature *obj)
size_t Noise_Signature_get_size_id(const Noise_Signature *obj)
int Noise_SubjectInfo_insert_keys(Noise_SubjectInfo *obj, size_t index, Noise_PublicKeyInfo *value)
int Noise_PrivateKey_has_name(const Noise_PrivateKey *obj)
Noise_PrivateKeyInfo * Noise_PrivateKey_get_at_keys(const Noise_PrivateKey *obj, size_t index)
int Noise_PrivateKeyInfo_has_key(const Noise_PrivateKeyInfo *obj)
int Noise_PublicKeyInfo_set_key(Noise_PublicKeyInfo *obj, const void *value, size_t size)
size_t Noise_EncryptedPrivateKey_get_size_encrypted_data(const Noise_EncryptedPrivateKey *obj)
int Noise_ExtraSignedInfo_read(NoiseProtobuf *pbuf, int tag, Noise_ExtraSignedInfo **obj)
int Noise_PrivateKey_has_role(const Noise_PrivateKey *obj)
int Noise_ExtraSignedInfo_insert_meta(Noise_ExtraSignedInfo *obj, size_t index, Noise_MetaInfo *value)
int Noise_PrivateKey_add_meta(Noise_PrivateKey *obj, Noise_MetaInfo **value)
int Noise_PrivateKey_set_name(Noise_PrivateKey *obj, const char *value, size_t size)
int Noise_EncryptedPrivateKey_clear_encrypted_data(Noise_EncryptedPrivateKey *obj)
int Noise_MetaInfo_has_name(const Noise_MetaInfo *obj)
int Noise_MetaInfo_has_value(const Noise_MetaInfo *obj)
int Noise_PublicKeyInfo_clear_algorithm(Noise_PublicKeyInfo *obj)
int Noise_PrivateKey_clear_meta(Noise_PrivateKey *obj)
Noise_PublicKeyInfo ** keys
void noise_protobuf_free_memory(void *ptr, size_t size)
int Noise_ExtraSignedInfo_set_nonce(Noise_ExtraSignedInfo *obj, const void *value, size_t size)
int Noise_EncryptedPrivateKey_set_iterations(Noise_EncryptedPrivateKey *obj, uint32_t value)
const char * Noise_MetaInfo_get_name(const Noise_MetaInfo *obj)
Noise_MetaInfo * Noise_ExtraSignedInfo_get_at_meta(const Noise_ExtraSignedInfo *obj, size_t index)
int Noise_EncryptedPrivateKey_has_iterations(const Noise_EncryptedPrivateKey *obj)
int Noise_PrivateKey_clear_role(Noise_PrivateKey *obj)
int Noise_Certificate_set_version(Noise_Certificate *obj, uint32_t value)
int Noise_Signature_free(Noise_Signature *obj)
int Noise_ExtraSignedInfo_set_valid_from(Noise_ExtraSignedInfo *obj, const char *value, size_t size)
int Noise_Signature_has_hash_algorithm(const Noise_Signature *obj)
int Noise_PrivateKeyInfo_has_algorithm(const Noise_PrivateKeyInfo *obj)
int Noise_PublicKeyInfo_clear_key(Noise_PublicKeyInfo *obj)
int noise_protobuf_read_uint32(NoiseProtobuf *pbuf, int tag, uint32_t *value)
size_t Noise_PublicKeyInfo_get_size_algorithm(const Noise_PublicKeyInfo *obj)
size_t Noise_SubjectInfo_get_size_id(const Noise_SubjectInfo *obj)
int Noise_SubjectInfo_clear_meta(Noise_SubjectInfo *obj)
const char * Noise_SubjectInfo_get_role(const Noise_SubjectInfo *obj)
int Noise_PublicKeyInfo_new(Noise_PublicKeyInfo **obj)
int Noise_EncryptedPrivateKey_has_encrypted_data(const Noise_EncryptedPrivateKey *obj)
size_t Noise_SubjectInfo_get_size_name(const Noise_SubjectInfo *obj)
int Noise_ExtraSignedInfo_clear_valid_from(Noise_ExtraSignedInfo *obj)
int Noise_SubjectInfo_clear_role(Noise_SubjectInfo *obj)
int Noise_CertificateChain_new(Noise_CertificateChain **obj)
const char * Noise_ExtraSignedInfo_get_valid_from(const Noise_ExtraSignedInfo *obj)
int Noise_PrivateKey_has_keys(const Noise_PrivateKey *obj)
int Noise_Signature_clear_signing_key(Noise_Signature *obj)
int Noise_SubjectInfo_set_id(Noise_SubjectInfo *obj, const char *value, size_t size)
int Noise_EncryptedPrivateKey_set_algorithm(Noise_EncryptedPrivateKey *obj, const char *value, size_t size)
int Noise_SubjectInfo_read(NoiseProtobuf *pbuf, int tag, Noise_SubjectInfo **obj)
const void * Noise_PublicKeyInfo_get_key(const Noise_PublicKeyInfo *obj)
Noise_ExtraSignedInfo * Noise_Signature_get_extra_signed_info(const Noise_Signature *obj)
size_t Noise_MetaInfo_get_size_value(const Noise_MetaInfo *obj)
int Noise_Certificate_add_signatures(Noise_Certificate *obj, Noise_Signature **value)
int Noise_PrivateKey_clear_name(Noise_PrivateKey *obj)
int Noise_PublicKeyInfo_has_algorithm(const Noise_PublicKeyInfo *obj)
int Noise_Certificate_clear_signatures(Noise_Certificate *obj)
size_t Noise_PrivateKey_get_size_role(const Noise_PrivateKey *obj)
int Noise_MetaInfo_clear_name(Noise_MetaInfo *obj)
int Noise_MetaInfo_new(Noise_MetaInfo **obj)
int noise_protobuf_write_uint32(NoiseProtobuf *pbuf, int tag, uint32_t value)
size_t hash_algorithm_size_
int Noise_PublicKeyInfo_read(NoiseProtobuf *pbuf, int tag, Noise_PublicKeyInfo **obj)
const void * Noise_ExtraSignedInfo_get_nonce(const Noise_ExtraSignedInfo *obj)
int Noise_SubjectInfo_free(Noise_SubjectInfo *obj)
size_t Noise_PrivateKey_get_size_id(const Noise_PrivateKey *obj)
int Noise_ExtraSignedInfo_new(Noise_ExtraSignedInfo **obj)
int Noise_PrivateKeyInfo_free(Noise_PrivateKeyInfo *obj)
int Noise_Signature_has_id(const Noise_Signature *obj)
int Noise_EncryptedPrivateKey_set_encrypted_data(Noise_EncryptedPrivateKey *obj, const void *value, size_t size)
int noise_protobuf_write_string(NoiseProtobuf *pbuf, int tag, const char *str, size_t size)
int Noise_EncryptedPrivateKey_set_salt(Noise_EncryptedPrivateKey *obj, const void *value, size_t size)
int Noise_CertificateChain_has_certs(const Noise_CertificateChain *obj)
int Noise_SubjectInfo_clear_name(Noise_SubjectInfo *obj)
size_t Noise_PrivateKey_get_size_name(const Noise_PrivateKey *obj)
int Noise_PrivateKey_read(NoiseProtobuf *pbuf, int tag, Noise_PrivateKey **obj)
int Noise_Signature_clear_id(Noise_Signature *obj)
int Noise_SubjectInfo_set_role(Noise_SubjectInfo *obj, const char *value, size_t size)
int Noise_PrivateKeyInfo_write(NoiseProtobuf *pbuf, int tag, const Noise_PrivateKeyInfo *obj)
const char * Noise_ExtraSignedInfo_get_valid_to(const Noise_ExtraSignedInfo *obj)
int Noise_EncryptedPrivateKey_set_version(Noise_EncryptedPrivateKey *obj, uint32_t value)
size_t Noise_ExtraSignedInfo_count_meta(const Noise_ExtraSignedInfo *obj)
const char * Noise_Signature_get_id(const Noise_Signature *obj)
const char * Noise_Signature_get_name(const Noise_Signature *obj)
Noise_PublicKeyInfo * signing_key
int noise_protobuf_read_end_element(NoiseProtobuf *pbuf, size_t end_posn)
int Noise_ExtraSignedInfo_has_valid_to(const Noise_ExtraSignedInfo *obj)
int noise_protobuf_read_start_element(NoiseProtobuf *pbuf, int tag, size_t *end_posn)
int Noise_PrivateKey_insert_keys(Noise_PrivateKey *obj, size_t index, Noise_PrivateKeyInfo *value)
int Noise_ExtraSignedInfo_clear_nonce(Noise_ExtraSignedInfo *obj)
int Noise_PrivateKeyInfo_set_key(Noise_PrivateKeyInfo *obj, const void *value, size_t size)
int Noise_SubjectInfo_has_keys(const Noise_SubjectInfo *obj)
int Noise_Certificate_read(NoiseProtobuf *pbuf, int tag, Noise_Certificate **obj)
int Noise_CertificateChain_read(NoiseProtobuf *pbuf, int tag, Noise_CertificateChain **obj)
size_t Noise_MetaInfo_get_size_name(const Noise_MetaInfo *obj)
int noise_protobuf_read_alloc_bytes(NoiseProtobuf *pbuf, int tag, void **data, size_t max_size, size_t *size)
int Noise_SubjectInfo_has_name(const Noise_SubjectInfo *obj)
int Noise_SubjectInfo_has_role(const Noise_SubjectInfo *obj)
int Noise_Certificate_clear_version(Noise_Certificate *obj)
int Noise_EncryptedPrivateKey_read(NoiseProtobuf *pbuf, int tag, Noise_EncryptedPrivateKey **obj)
int Noise_Certificate_new(Noise_Certificate **obj)
const char * Noise_PublicKeyInfo_get_algorithm(const Noise_PublicKeyInfo *obj)
int Noise_Signature_has_signature(const Noise_Signature *obj)
size_t Noise_SubjectInfo_count_meta(const Noise_SubjectInfo *obj)
int Noise_PrivateKey_new(Noise_PrivateKey **obj)
size_t Noise_PrivateKey_count_keys(const Noise_PrivateKey *obj)