Guardtime KSI c SDK
Data Structures | Macros | Typedefs | Functions
types.h File Reference
#include <time.h>
#include "types_base.h"
#include "list.h"
#include "common.h"
#include "hash.h"

Go to the source code of this file.

Data Structures

struct  KSI_CertConstraint_st
 
struct  KSI_MetaDataElement_list_st
 
struct  KSI_HashChainLinkIdentity_list_st
 
struct  KSI_HashChainLink_list_st
 
struct  KSI_CalendarHashChainLink_list_st
 
struct  KSI_CalendarHashChain_list_st
 
struct  KSI_ExtendPdu_list_st
 
struct  KSI_AggregationPdu_list_st
 
struct  KSI_Header_list_st
 
struct  KSI_Config_list_st
 
struct  KSI_AggregationReq_list_st
 
struct  KSI_RequestAck_list_st
 
struct  KSI_AggregationResp_list_st
 
struct  KSI_ExtendReq_list_st
 
struct  KSI_ExtendResp_list_st
 
struct  KSI_PKISignedData_list_st
 
struct  KSI_PublicationsHeader_list_st
 
struct  KSI_CertificateRecord_list_st
 
struct  KSI_PublicationData_list_st
 
struct  KSI_PublicationRecord_list_st
 
struct  KSI_Integer_list_st
 
struct  KSI_OctetString_list_st
 
struct  KSI_Utf8String_list_st
 
struct  KSI_Utf8StringNZ_list_st
 
struct  KSI_AggregationHashChain_list_st
 
struct  KSI_CalendarAuthRec_list_st
 
struct  KSI_TLV_list_st
 
struct  KSI_PKICertificate_list_st
 
struct  KSI_AggregationAuthRec_list_st
 
struct  KSI_RFC3161_list_st
 
struct  KSI_RequestHandle_list_st
 
struct  KSI_AsyncHandle_list_st
 
struct  KSI_HighAvailabilityRequest_list_st
 
struct  KSI_AsyncService_list_st
 

Macros

#define KSI_APPLY_TO_NOT_NULL(val, fn, args)   (((val) != NULL) ? ( val->fn != NULL ? (val->fn args) : KSI_INVALID_STATE) : KSI_INVALID_ARGUMENT)
 
#define KSI_MetaDataElementList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_MetaDataElementList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_MetaDataElementList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_MetaDataElementList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_MataDataElementList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_MataDataElementList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_MataDataElementList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_MetaDataElementList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_MetaDataElementList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_MetaDataElementList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_HashChainLinkIdentityList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_HashChainLinkIdentityList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkIdentityList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_HashChainLinkIdentityList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkIdentityList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkIdentityList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkIdentityList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_HashChainLinkIdentityList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_HashChainLinkIdentityList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_HashChainLinkIdentityList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_HashChainLinkList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_HashChainLinkList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_HashChainLinkList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_HashChainLinkList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_HashChainLinkList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_HashChainLinkList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_HashChainLinkList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_CalendarHashChainLinkList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_CalendarHashChainLinkList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainLinkList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_CalendarHashChainLinkList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainLinkList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainLinkList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainLinkList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_CalendarHashChainLinkList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_CalendarHashChainLinkList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_CalendarHashChainLinkList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_CalendarHashChainList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_CalendarHashChainList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_CalendarHashChainList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_CalendarHashChainList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_CalendarHashChainList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_CalendarHashChainList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_CalendarHashChainList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_ExtendPduList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_ExtendPduList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_ExtendPduList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_ExtendPduList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_ExtendPduList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_ExtendPduList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_ExtendPduList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_ExtendPduList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_ExtendPduList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_ExtendPduList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AggregationPduList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AggregationPduList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AggregationPduList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AggregationPduList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AggregationPduList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AggregationPduList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AggregationPduList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AggregationPduList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AggregationPduList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AggregationPduList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_HeaderList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_HeaderList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_HeaderList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_HeaderList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_HeaderList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_HeaderList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_HeaderList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_HeaderList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_HeaderList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_HeaderList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_ConfigList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_ConfigList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_ConfigList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_ConfigList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_ConfigList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_ConfigList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_ConfigList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_ConfigList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_ConfigList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_ConfigList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AggregationReqList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AggregationReqList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AggregationReqList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AggregationReqList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AggregationReqList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AggregationReqList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AggregationReqList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AggregationReqList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AggregationReqList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AggregationReqList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_RequestAckList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_RequestAckList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_RequestAckList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_RequestAckList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_RequestAckList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_RequestAckList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_RequestAckList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_RequestAckList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_RequestAckList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_RequestAckList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AggregationRespList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AggregationRespList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AggregationRespList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AggregationRespList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AggregationRespList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AggregationRespList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AggregationRespList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AggregationRespList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AggregationRespList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AggregationRespList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_ExtendReqList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_ExtendReqList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_ExtendReqList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_ExtendReqList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_ExtendReqList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_ExtendReqList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_ExtendReqList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_ExtendReqList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_ExtendReqList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_ExtendReqList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_ExtendRespList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_ExtendRespList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_ExtendRespList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_ExtendRespList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_ExtendRespList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_ExtendRespList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_ExtendRespList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_ExtendRespList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_ExtendRespList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_ExtendRespList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_PKISignedDataList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_PKISignedDataList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_PKISignedDataList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_PKISignedDataList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_PKISignedDataList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_PKISignedDataList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_PKISignedDataList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_PKISignedDataList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_PKISignedDataList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_PKISignedDataList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_PublicationsHeaderList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_PublicationsHeaderList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_PublicationsHeaderList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_PublicationsHeaderList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_PublicationsHeaderList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_PublicationsHeaderList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_PublicationsHeaderList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_PublicationsHeaderList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_PublicationsHeaderList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_PublicationsHeaderList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_CertificateRecordList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_CertificateRecordList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_CertificateRecordList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_CertificateRecordList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_CertificateRecordList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_CertificateRecordList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_CertificateRecordList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_CertificateRecordList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_CertificateRecordList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_CertificateRecordList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_PublicationDataList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_PublicationDataList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_PublicationDataList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_PublicationDataList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_PublicationDataList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_PublicationDataList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_PublicationDataList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_PublicationDataList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_PublicationDataList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_PublicationDataList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_PublicationRecordList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_PublicationRecordList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_PublicationRecordList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_PublicationRecordList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_PublicationRecordList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_PublicationRecordList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_PublicationRecordList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_PublicationRecordList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_PublicationRecordList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_PublicationRecordList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_IntegerList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_IntegerList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_IntegerList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_IntegerList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_IntegerList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_IntegerList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_IntegerList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_IntegerList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_IntegerList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_IntegerList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_OctetStringList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_OctetStringList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_OctetStringList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_OctetStringList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_OctetStringList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_OctetStringList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_OctetStringList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_OctetStringList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_OctetStringList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_OctetStringList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_Utf8StringList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_Utf8StringList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_Utf8StringList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_Utf8StringList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_Utf8StringList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_Utf8StringList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_Utf8StringList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_Utf8StringList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_Utf8StringList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_Utf8StringList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_Utf8StringNZList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_Utf8StringNZList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_Utf8StringNZList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_Utf8StringNZList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_Utf8StringNZList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_Utf8StringNZList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_Utf8StringNZList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_Utf8StringNZList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_Utf8StringNZList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_Utf8StringNZList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AggregationHashChainList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AggregationHashChainList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AggregationHashChainList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AggregationHashChainList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AggregationHashChainList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AggregationHashChainList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AggregationHashChainList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AggregationHashChainList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AggregationHashChainList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AggregationHashChainList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_CalendarAuthRecList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_CalendarAuthRecList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_CalendarAuthRecList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_CalendarAuthRecList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_CalendarAuthRecList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_CalendarAuthRecList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_CalendarAuthRecList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_CalendarAuthRecList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_CalendarAuthRecList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_CalendarAuthRecList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_TLVList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_TLVList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_TLVList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_TLVList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_TLVList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_TLVList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_TLVList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_TLVList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_TLVList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_TLVList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_PKICertificateList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_PKICertificateList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_PKICertificateList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_PKICertificateList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_PKICertificateList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_PKICertificateList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_PKICertificateList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_PKICertificateList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_PKICertificateList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_PKICertificateList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AggregationAuthRecList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AggregationAuthRecList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AggregationAuthRecList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AggregationAuthRecList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AggregationAuthRecList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AggregationAuthRecList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AggregationAuthRecList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AggregationAuthRecList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AggregationAuthRecList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AggregationAuthRecList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_RFC3161List_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_RFC3161List_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_RFC3161List_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_RFC3161List_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_RFC3161List_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_RFC3161List_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_RFC3161List_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_RFC3161List_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_RFC3161List_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_RFC3161List_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_RequestHandleList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_RequestHandleList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_RequestHandleList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_RequestHandleList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_RequestHandleList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_RequestHandleList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_RequestHandleList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_RequestHandleList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_RequestHandleList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_RequestHandleList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AsyncHandleList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AsyncHandleList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AsyncHandleList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AsyncHandleList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AsyncHandleList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AsyncHandleList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AsyncHandleList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AsyncHandleList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AsyncHandleList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AsyncHandleList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_HighAvailabilityRequestList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_HighAvailabilityRequestList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_HighAvailabilityRequestList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_HighAvailabilityRequestList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_HighAvailabilityRequestList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_HighAvailabilityRequestList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_HighAvailabilityRequestList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_HighAvailabilityRequestList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_HighAvailabilityRequestList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_HighAvailabilityRequestList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AsyncServiceList_append(lst, o)   KSI_APPLY_TO_NOT_NULL((lst), append, ((lst), (o)))
 
#define KSI_AsyncServiceList_remove(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), removeElement, ((lst), (pos), (o)))
 
#define KSI_AsyncServiceList_indexOf(lst, o, i)   KSI_APPLY_TO_NOT_NULL((lst), indexOf, ((lst), (o), (i)))
 
#define KSI_AsyncServiceList_insertAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), insertAt, ((lst), (pos), (o)))
 
#define KSI_AsyncServiceList_replaceAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), replaceAt, ((lst), (pos), (o)))
 
#define KSI_AsyncServiceList_elementAt(lst, pos, o)   KSI_APPLY_TO_NOT_NULL((lst), elementAt, ((lst), (pos), (o)))
 
#define KSI_AsyncServiceList_length(lst)   (((lst) != NULL && (lst)->length != NULL) ? (lst)->length((lst)) : 0)
 
#define KSI_AsyncServiceList_sort(lst, cmp)   KSI_APPLY_TO_NOT_NULL((lst), sort, ((lst), (cmp)))
 
#define KSI_AsyncServiceList_foldl(lst, foldCtx, foldFn)   (((lst) != NULL) ? (((lst)->foldl != NULL) ? ((lst)->foldl((lst), (foldCtx), (foldFn))) : KSI_INVALID_STATE) : KSI_OK)
 
#define KSI_AsyncServiceList_find(lst, o, f, i)   KSI_APPLY_TO_NOT_NULL((lst), find, ((lst), (o), (f), (i)))
 
#define KSI_AggregationConf_free   KSI_Config_free
 
#define KSI_AggregationConf_new   KSI_Config_new
 
#define KSI_ExtendConf_free   KSI_Config_free
 
#define KSI_ExtendConf_new   KSI_Config_new
 
#define KSI_AggregationAckReq_free   KSI_RequestAck_free
 
#define KSI_AggregationAckReq_new   KSI_RequestAck_new
 
#define KSI_AggregationAck_free   KSI_RequestAck_free
 
#define KSI_AggregationAck_new   KSI_RequestAck_new
 

Typedefs

typedef struct KSI_MetaDataElement_st KSI_MetaDataElement
 
typedef struct KSI_MetaData_st KSI_MetaData
 
typedef struct KSI_HashChainLinkIdentity_st KSI_HashChainLinkIdentity
 
typedef struct KSI_HashChainLink_st KSI_HashChainLink
 
typedef KSI_HashChainLink KSI_CalendarHashChainLink
 
typedef struct KSI_CalendarHashChain_st KSI_CalendarHashChain
 
typedef struct KSI_ExtendPdu_st KSI_ExtendPdu
 
typedef struct KSI_AggregationPdu_st KSI_AggregationPdu
 
typedef struct KSI_Header_st KSI_Header
 
typedef struct KSI_Config_st KSI_Config
 
typedef struct KSI_AggregationReq_st KSI_AggregationReq
 
typedef struct KSI_RequestAck_st KSI_RequestAck
 
typedef struct KSI_AggregationResp_st KSI_AggregationResp
 
typedef struct KSI_ExtendReq_st KSI_ExtendReq
 
typedef struct KSI_ExtendResp_st KSI_ExtendResp
 
typedef struct KSI_PKISignedData_st KSI_PKISignedData
 
typedef struct KSI_PublicationsHeader_st KSI_PublicationsHeader
 
typedef struct KSI_CertificateRecord_st KSI_CertificateRecord
 
typedef struct KSI_PublicationData_st KSI_PublicationData
 
typedef struct KSI_PublicationRecord_st KSI_PublicationRecord
 
typedef struct KSI_ErrorPdu_st KSI_ErrorPdu
 
typedef struct KSI_CertConstraint_st KSI_CertConstraint
 
typedef struct KSI_Signature_st KSI_Signature
 
typedef struct KSI_Policy_st KSI_Policy
 
typedef struct KSI_VerificationContext_st KSI_VerificationContext
 
typedef struct KSI_PolicyVerificationResult_st KSI_PolicyVerificationResult
 
typedef int(* KSI_RequestHeaderCallback) (KSI_Header *hdr)
 
typedef struct KSI_TlvTemplate_st KSI_TlvTemplate
 
typedef struct KSI_PKICertificate_st KSI_PKICertificate
 
typedef struct KSI_PKISignature_st KSI_PKISignature
 
typedef struct KSI_PKITruststore_st KSI_PKITruststore
 
typedef struct KSI_NetEndpoint_st KSI_NetEndpoint
 
typedef struct KSI_NetHandle_st KSI_RequestHandle
 
typedef struct KSI_NetworkClient_st KSI_NetworkClient
 
typedef struct KSI_HighAvailabilityService_st KSI_HighAvailabilityService
 
typedef struct KSI_HighAvailabilityRequest_st KSI_HighAvailabilityRequest
 
typedef struct KSI_AsyncService_st KSI_AsyncService
 
typedef struct KSI_AsyncClient_st KSI_AsyncClient
 
typedef struct KSI_AsyncHandle_st KSI_AsyncHandle
 
typedef struct KSI_AggregationHashChain_st KSI_AggregationHashChain
 
typedef struct KSI_CalendarAuthRec_st KSI_CalendarAuthRec
 
typedef struct KSI_AggregationAuthRec_st KSI_AggregationAuthRec
 
typedef struct KSI_RFC3161_st KSI_RFC3161
 
typedef struct KSI_MetaDataElement_list_st KSI_MetaDataElementList
 
typedef struct KSI_HashChainLinkIdentity_list_st KSI_HashChainLinkIdentityList
 
typedef struct KSI_HashChainLink_list_st KSI_HashChainLinkList
 
typedef struct KSI_CalendarHashChainLink_list_st KSI_CalendarHashChainLinkList
 
typedef struct KSI_CalendarHashChain_list_st KSI_CalendarHashChainList
 
typedef struct KSI_ExtendPdu_list_st KSI_ExtendPduList
 
typedef struct KSI_AggregationPdu_list_st KSI_AggregationPduList
 
typedef struct KSI_Header_list_st KSI_HeaderList
 
typedef struct KSI_Config_list_st KSI_ConfigList
 
typedef struct KSI_AggregationReq_list_st KSI_AggregationReqList
 
typedef struct KSI_RequestAck_list_st KSI_RequestAckList
 
typedef struct KSI_AggregationResp_list_st KSI_AggregationRespList
 
typedef struct KSI_ExtendReq_list_st KSI_ExtendReqList
 
typedef struct KSI_ExtendResp_list_st KSI_ExtendRespList
 
typedef struct KSI_PKISignedData_list_st KSI_PKISignedDataList
 
typedef struct KSI_PublicationsHeader_list_st KSI_PublicationsHeaderList
 
typedef struct KSI_CertificateRecord_list_st KSI_CertificateRecordList
 
typedef struct KSI_PublicationData_list_st KSI_PublicationDataList
 
typedef struct KSI_PublicationRecord_list_st KSI_PublicationRecordList
 
typedef struct KSI_Integer_list_st KSI_IntegerList
 
typedef struct KSI_OctetString_list_st KSI_OctetStringList
 
typedef struct KSI_Utf8String_list_st KSI_Utf8StringList
 
typedef struct KSI_Utf8StringNZ_list_st KSI_Utf8StringNZList
 
typedef struct KSI_AggregationHashChain_list_st KSI_AggregationHashChainList
 
typedef struct KSI_CalendarAuthRec_list_st KSI_CalendarAuthRecList
 
typedef struct KSI_TLV_list_st KSI_TLVList
 
typedef struct KSI_PKICertificate_list_st KSI_PKICertificateList
 
typedef struct KSI_AggregationAuthRec_list_st KSI_AggregationAuthRecList
 
typedef struct KSI_RFC3161_list_st KSI_RFC3161List
 
typedef struct KSI_RequestHandle_list_st KSI_RequestHandleList
 
typedef struct KSI_AsyncHandle_list_st KSI_AsyncHandleList
 
typedef struct KSI_HighAvailabilityRequest_list_st KSI_HighAvailabilityRequestList
 
typedef struct KSI_AsyncService_list_st KSI_AsyncServiceList
 

Functions

int KSI_MetaDataElementList_new (KSI_MetaDataElementList **list)
 
void KSI_MetaDataElementList_free (KSI_MetaDataElementList *list)
 
int KSI_HashChainLinkIdentityList_new (KSI_HashChainLinkIdentityList **list)
 
void KSI_HashChainLinkIdentityList_free (KSI_HashChainLinkIdentityList *list)
 
int KSI_HashChainLinkList_new (KSI_HashChainLinkList **list)
 
void KSI_HashChainLinkList_free (KSI_HashChainLinkList *list)
 
int KSI_CalendarHashChainLinkList_new (KSI_CalendarHashChainLinkList **list)
 
void KSI_CalendarHashChainLinkList_free (KSI_CalendarHashChainLinkList *list)
 
int KSI_CalendarHashChainList_new (KSI_CalendarHashChainList **list)
 
void KSI_CalendarHashChainList_free (KSI_CalendarHashChainList *list)
 
int KSI_ExtendPduList_new (KSI_ExtendPduList **list)
 
void KSI_ExtendPduList_free (KSI_ExtendPduList *list)
 
int KSI_AggregationPduList_new (KSI_AggregationPduList **list)
 
void KSI_AggregationPduList_free (KSI_AggregationPduList *list)
 
int KSI_HeaderList_new (KSI_HeaderList **list)
 
void KSI_HeaderList_free (KSI_HeaderList *list)
 
int KSI_ConfigList_new (KSI_ConfigList **list)
 
void KSI_ConfigList_free (KSI_ConfigList *list)
 
int KSI_AggregationReqList_new (KSI_AggregationReqList **list)
 
void KSI_AggregationReqList_free (KSI_AggregationReqList *list)
 
int KSI_RequestAckList_new (KSI_RequestAckList **list)
 
void KSI_RequestAckList_free (KSI_RequestAckList *list)
 
int KSI_AggregationRespList_new (KSI_AggregationRespList **list)
 
void KSI_AggregationRespList_free (KSI_AggregationRespList *list)
 
int KSI_ExtendReqList_new (KSI_ExtendReqList **list)
 
void KSI_ExtendReqList_free (KSI_ExtendReqList *list)
 
int KSI_ExtendRespList_new (KSI_ExtendRespList **list)
 
void KSI_ExtendRespList_free (KSI_ExtendRespList *list)
 
int KSI_PKISignedDataList_new (KSI_PKISignedDataList **list)
 
void KSI_PKISignedDataList_free (KSI_PKISignedDataList *list)
 
int KSI_PublicationsHeaderList_new (KSI_PublicationsHeaderList **list)
 
void KSI_PublicationsHeaderList_free (KSI_PublicationsHeaderList *list)
 
int KSI_CertificateRecordList_new (KSI_CertificateRecordList **list)
 
void KSI_CertificateRecordList_free (KSI_CertificateRecordList *list)
 
int KSI_PublicationDataList_new (KSI_PublicationDataList **list)
 
void KSI_PublicationDataList_free (KSI_PublicationDataList *list)
 
int KSI_PublicationRecordList_new (KSI_PublicationRecordList **list)
 
void KSI_PublicationRecordList_free (KSI_PublicationRecordList *list)
 
int KSI_IntegerList_new (KSI_IntegerList **list)
 
void KSI_IntegerList_free (KSI_IntegerList *list)
 
int KSI_OctetStringList_new (KSI_OctetStringList **list)
 
void KSI_OctetStringList_free (KSI_OctetStringList *list)
 
int KSI_Utf8StringList_new (KSI_Utf8StringList **list)
 
void KSI_Utf8StringList_free (KSI_Utf8StringList *list)
 
int KSI_Utf8StringNZList_new (KSI_Utf8StringNZList **list)
 
void KSI_Utf8StringNZList_free (KSI_Utf8StringNZList *list)
 
int KSI_AggregationHashChainList_new (KSI_AggregationHashChainList **list)
 
void KSI_AggregationHashChainList_free (KSI_AggregationHashChainList *list)
 
int KSI_CalendarAuthRecList_new (KSI_CalendarAuthRecList **list)
 
void KSI_CalendarAuthRecList_free (KSI_CalendarAuthRecList *list)
 
int KSI_TLVList_new (KSI_TLVList **list)
 
void KSI_TLVList_free (KSI_TLVList *list)
 
int KSI_PKICertificateList_new (KSI_PKICertificateList **list)
 
void KSI_PKICertificateList_free (KSI_PKICertificateList *list)
 
int KSI_AggregationAuthRecList_new (KSI_AggregationAuthRecList **list)
 
void KSI_AggregationAuthRecList_free (KSI_AggregationAuthRecList *list)
 
int KSI_RFC3161List_new (KSI_RFC3161List **list)
 
void KSI_RFC3161List_free (KSI_RFC3161List *list)
 
int KSI_RequestHandleList_new (KSI_RequestHandleList **list)
 
void KSI_RequestHandleList_free (KSI_RequestHandleList *list)
 
int KSI_AsyncHandleList_new (KSI_AsyncHandleList **list)
 
void KSI_AsyncHandleList_free (KSI_AsyncHandleList *list)
 
int KSI_HighAvailabilityRequestList_new (KSI_HighAvailabilityRequestList **list)
 
void KSI_HighAvailabilityRequestList_free (KSI_HighAvailabilityRequestList *list)
 
int KSI_AsyncServiceList_new (KSI_AsyncServiceList **list)
 
void KSI_AsyncServiceList_free (KSI_AsyncServiceList *list)
 
void KSI_MetaDataElement_free (KSI_MetaDataElement *t)
 
int KSI_MetaDataElement_new (KSI_CTX *ctx, KSI_MetaDataElement **t)
 
int KSI_MetaDataElement_getPadding (KSI_MetaDataElement *o, KSI_OctetString **padding)
 
int KSI_MetaDataElement_getClientId (KSI_MetaDataElement *t, KSI_Utf8String **clientId)
 
int KSI_MetaDataElement_getMachineId (KSI_MetaDataElement *t, KSI_Utf8String **machineId)
 
int KSI_MetaDataElement_getSequenceNr (KSI_MetaDataElement *t, KSI_Integer **sequenceNr)
 
int KSI_MetaDataElement_getRequestTimeInMicros (KSI_MetaDataElement *t, KSI_Integer **reqTime)
 
int KSI_MetaDataElement_setPadding (KSI_MetaDataElement *o, KSI_OctetString *padding)
 
int KSI_MetaDataElement_setClientId (KSI_MetaDataElement *t, KSI_Utf8String *clientId)
 
int KSI_MetaDataElement_setMachineId (KSI_MetaDataElement *t, KSI_Utf8String *machineId)
 
int KSI_MetaDataElement_setSequenceNr (KSI_MetaDataElement *t, KSI_Integer *sequenceNr)
 
int KSI_MetaDataElement_setRequestTimeInMicros (KSI_MetaDataElement *t, KSI_Integer *reqTime)
 
int KSI_MetaDataElement_toTlv (KSI_CTX *ctx, const KSI_MetaDataElement *data, unsigned tag, int isNonCritical, int isForward, KSI_TLV **tlv)
 
int KSI_MetaDataElement_fromTlv (KSI_TLV *tlv, KSI_MetaDataElement **metaData)
 
KSI_MetaDataElementKSI_MetaDataElement_ref (KSI_MetaDataElement *o)
 
void KSI_MetaData_free (KSI_MetaData *t)
 
int KSI_MetaData_new (KSI_CTX *ctx, KSI_MetaData **t)
 
int KSI_MetaData_setClientId (KSI_MetaData *t, KSI_Utf8String *clientId)
 
int KSI_MetaData_setMachineId (KSI_MetaData *t, KSI_Utf8String *machineId)
 
int KSI_MetaData_setSequenceNr (KSI_MetaData *t, KSI_Integer *sequenceNr)
 
int KSI_MetaData_setRequestTimeInMicros (KSI_MetaData *t, KSI_Integer *reqTime)
 
KSI_MetaDataKSI_MetaData_ref (KSI_MetaData *o)
 
int KSI_Pdu_verifyHmac (KSI_CTX *ctx, const KSI_DataHash *hmac, const char *key, KSI_HashAlgorithm conf_alg, int(*calculateHmac)(const void *, int, const char *, KSI_DataHash **), void *pdu)
 
void KSI_ExtendPdu_free (KSI_ExtendPdu *t)
 
int KSI_ExtendPdu_new (KSI_CTX *ctx, KSI_ExtendPdu **t)
 
int KSI_ExtendPdu_verify (const KSI_ExtendPdu *pdu, const char *pass)
 
int KSI_ExtendPdu_verifyHmac (const KSI_ExtendPdu *pdu, const char *pass)
 
int KSI_ExtendPdu_calculateHmac (const KSI_ExtendPdu *t, KSI_HashAlgorithm algo_id, const char *key, KSI_DataHash **hmac)
 
int KSI_ExtendPdu_updateHmac (KSI_ExtendPdu *pdu, KSI_HashAlgorithm algo_id, const char *key)
 
int KSI_ExtendPdu_getHeader (const KSI_ExtendPdu *t, KSI_Header **header)
 
int KSI_ExtendPdu_getRequest (const KSI_ExtendPdu *t, KSI_ExtendReq **request)
 
int KSI_ExtendPdu_getResponse (const KSI_ExtendPdu *t, KSI_ExtendResp **response)
 
int KSI_ExtendPdu_getConfRequest (const KSI_ExtendPdu *t, KSI_Config **confRequest)
 
int KSI_ExtendPdu_getConfResponse (const KSI_ExtendPdu *t, KSI_Config **confResponse)
 
int KSI_ExtendPdu_getHmac (const KSI_ExtendPdu *t, KSI_DataHash **hmac)
 
int KSI_ExtendPdu_getError (const KSI_ExtendPdu *t, KSI_ErrorPdu **error)
 
int KSI_ExtendPdu_setHeader (KSI_ExtendPdu *t, KSI_Header *header)
 
int KSI_ExtendPdu_setRequest (KSI_ExtendPdu *t, KSI_ExtendReq *request)
 
int KSI_ExtendPdu_setResponse (KSI_ExtendPdu *t, KSI_ExtendResp *response)
 
int KSI_ExtendPdu_setConfRequest (KSI_ExtendPdu *t, KSI_Config *confRequest)
 
int KSI_ExtendPdu_setConfResponse (KSI_ExtendPdu *t, KSI_Config *confResponse)
 
int KSI_ExtendPdu_setHmac (KSI_ExtendPdu *t, KSI_DataHash *hamc)
 
int KSI_ExtendPdu_setError (KSI_ExtendPdu *t, KSI_ErrorPdu *error)
 
int KSI_ExtendReq_enclose (KSI_ExtendReq *req, const char *loginId, const char *key, KSI_ExtendPdu **pdu)
 
int KSI_ExtendReq_encloseWithHeader (KSI_ExtendReq *req, KSI_Header *hdr, const char *key, KSI_ExtendPdu **pdu)
 
 KSI_DEFINE_OBJECT_PARSE (KSI_ExtendPdu)
 
 KSI_DEFINE_OBJECT_SERIALIZE (KSI_ExtendPdu)
 
int KSI_ErrorPdu_new (KSI_CTX *ctx, KSI_ErrorPdu **pdu)
 
void KSI_ErrorPdu_free (KSI_ErrorPdu *pdu)
 
int KSI_ErrorPdu_getStatus (const KSI_ErrorPdu *pdu, KSI_Integer **status)
 
int KSI_ErrorPdu_getErrorMessage (const KSI_ErrorPdu *pdu, KSI_Utf8String **errorMsg)
 
int KSI_ErrorPdu_setStatus (KSI_ErrorPdu *pdu, KSI_Integer *status)
 
int KSI_ErrorPdu_setErrorMessage (KSI_ErrorPdu *pdu, KSI_Utf8String *errorMsg)
 
void KSI_AggregationPdu_free (KSI_AggregationPdu *t)
 
int KSI_AggregationPdu_new (KSI_CTX *ctx, KSI_AggregationPdu **t)
 
int KSI_AggregationPdu_verify (const KSI_AggregationPdu *pdu, const char *pass)
 
int KSI_AggregationPdu_verifyHmac (const KSI_AggregationPdu *pdu, const char *pass)
 
int KSI_AggregationPdu_calculateHmac (const KSI_AggregationPdu *t, KSI_HashAlgorithm algo_id, const char *key, KSI_DataHash **hmac)
 
int KSI_AggregationPdu_updateHmac (KSI_AggregationPdu *pdu, KSI_HashAlgorithm algo_id, const char *key)
 
int KSI_AggregationPdu_getHeader (const KSI_AggregationPdu *t, KSI_Header **header)
 
int KSI_AggregationPdu_getRequest (const KSI_AggregationPdu *t, KSI_AggregationReq **request)
 
int KSI_AggregationPdu_getResponse (const KSI_AggregationPdu *t, KSI_AggregationResp **response)
 
int KSI_AggregationPdu_getConfRequest (const KSI_AggregationPdu *t, KSI_Config **confRequest)
 
int KSI_AggregationPdu_getConfResponse (const KSI_AggregationPdu *t, KSI_Config **confResponse)
 
int KSI_AggregationPdu_getAckRequest (const KSI_AggregationPdu *t, KSI_RequestAck **ackRequest)
 
int KSI_AggregationPdu_getAckResponse (const KSI_AggregationPdu *t, KSI_RequestAck **ackResponse)
 
int KSI_AggregationPdu_getHmac (const KSI_AggregationPdu *t, KSI_DataHash **hmac)
 
int KSI_AggregationPdu_getError (const KSI_AggregationPdu *t, KSI_ErrorPdu **error)
 
int KSI_AggregationPdu_setHeader (KSI_AggregationPdu *t, KSI_Header *header)
 
int KSI_AggregationPdu_setRequest (KSI_AggregationPdu *t, KSI_AggregationReq *request)
 
int KSI_AggregationPdu_setResponse (KSI_AggregationPdu *t, KSI_AggregationResp *response)
 
int KSI_AggregationPdu_setConfRequest (KSI_AggregationPdu *t, KSI_Config *confRequest)
 
int KSI_AggregationPdu_setConfResponse (KSI_AggregationPdu *t, KSI_Config *confResponse)
 
int KSI_AggregationPdu_setAckRequest (KSI_AggregationPdu *t, KSI_RequestAck *ackRequest)
 
int KSI_AggregationPdu_setAckResponse (KSI_AggregationPdu *t, KSI_RequestAck *ackResponse)
 
int KSI_AggregationPdu_setHmac (KSI_AggregationPdu *t, KSI_DataHash *hmac)
 
int KSI_AggregationPdu_setError (KSI_AggregationPdu *t, KSI_ErrorPdu *error)
 
int KSI_AggregationReq_encloseWithHeader (KSI_AggregationReq *req, KSI_Header *hdr, const char *key, KSI_AggregationPdu **pdu)
 
int KSI_AggregationReq_enclose (KSI_AggregationReq *req, const char *loginId, const char *key, KSI_AggregationPdu **pdu)
 
 KSI_DEFINE_OBJECT_PARSE (KSI_AggregationPdu)
 
 KSI_DEFINE_OBJECT_SERIALIZE (KSI_AggregationPdu)
 
void KSI_Header_free (KSI_Header *t)
 
int KSI_Header_new (KSI_CTX *ctx, KSI_Header **t)
 
int KSI_Header_getInstanceId (const KSI_Header *t, KSI_Integer **instanceId)
 
int KSI_Header_getMessageId (const KSI_Header *t, KSI_Integer **messageId)
 
int KSI_Header_getLoginId (const KSI_Header *t, KSI_Utf8String **loginId)
 
int KSI_Header_setInstanceId (KSI_Header *t, KSI_Integer *instanceId)
 
int KSI_Header_setMessageId (KSI_Header *t, KSI_Integer *messageId)
 
int KSI_Header_setLoginId (KSI_Header *t, KSI_Utf8String *loginId)
 
 KSI_DEFINE_GET_CTX (KSI_Header)
 
int KSI_Header_fromTlv (KSI_TLV *tlv, KSI_Header **data)
 
int KSI_Header_toTlv (KSI_CTX *ctx, const KSI_Header *data, unsigned tag, int isNonCritical, int isForward, KSI_TLV **tlv)
 
void KSI_Config_free (KSI_Config *t)
 
int KSI_Config_new (KSI_CTX *ctx, KSI_Config **t)
 
int KSI_Config_getMaxLevel (const KSI_Config *t, KSI_Integer **maxLevel)
 
int KSI_Config_getAggrAlgo (const KSI_Config *t, KSI_Integer **aggrAlgo)
 
int KSI_Config_getAggrPeriod (const KSI_Config *t, KSI_Integer **aggrPeriod)
 
int KSI_Config_getMaxRequests (const KSI_Config *t, KSI_Integer **maxRequests)
 
int KSI_Config_getParentUri (const KSI_Config *t, KSI_LIST(KSI_Utf8String)**parentUri)
 
int KSI_Config_getCalendarFirstTime (const KSI_Config *t, KSI_Integer **calendarFirstTime)
 
int KSI_Config_getCalendarLastTime (const KSI_Config *t, KSI_Integer **calendarLastTime)
 
int KSI_Config_setMaxLevel (KSI_Config *t, KSI_Integer *maxLevel)
 
int KSI_Config_setAggrAlgo (KSI_Config *t, KSI_Integer *aggrAlgo)
 
int KSI_Config_setAggrPeriod (KSI_Config *t, KSI_Integer *aggrPeriod)
 
int KSI_Config_setMaxRequests (KSI_Config *t, KSI_Integer *maxRequests)
 
int KSI_Config_setParentUri (KSI_Config *t, KSI_LIST(KSI_Utf8String)*parentUri)
 
int KSI_Config_setCalendarFirstTime (KSI_Config *t, KSI_Integer *calendarFirstTime)
 
int KSI_Config_setCalendarLastTime (KSI_Config *t, KSI_Integer *calendarLastTime)
 
int KSI_Config_clone (const KSI_Config *from, KSI_Config **to)
 
KSI_ConfigKSI_Config_ref (KSI_Config *o)
 
 KSI_DEFINE_GET_CTX (KSI_Config)
 
void KSI_AggregationReq_free (KSI_AggregationReq *t)
 
int KSI_AggregationReq_new (KSI_CTX *ctx, KSI_AggregationReq **t)
 
int KSI_AggregationReq_getRequestId (const KSI_AggregationReq *t, KSI_Integer **requestId)
 
int KSI_AggregationReq_getRequestHash (const KSI_AggregationReq *t, KSI_DataHash **requestHash)
 
int KSI_AggregationReq_getRequestLevel (const KSI_AggregationReq *t, KSI_Integer **requestLevel)
 
int KSI_AggregationReq_getConfig (const KSI_AggregationReq *t, KSI_Config **config)
 
int KSI_AggregationReq_setRequestId (KSI_AggregationReq *t, KSI_Integer *requestId)
 
int KSI_AggregationReq_setRequestHash (KSI_AggregationReq *t, KSI_DataHash *requestHash)
 
int KSI_AggregationReq_setRequestLevel (KSI_AggregationReq *t, KSI_Integer *requestLevel)
 
int KSI_AggregationReq_setConfig (KSI_AggregationReq *t, KSI_Config *config)
 
int KSI_AggregationReq_fromTlv (KSI_TLV *tlv, KSI_AggregationReq **data)
 
int KSI_AggregationReq_toTlv (KSI_CTX *ctx, const KSI_AggregationReq *data, unsigned tag, int isNonCritical, int isForward, KSI_TLV **tlv)
 
int KSI_AggregationReq_clone (const KSI_AggregationReq *from, KSI_AggregationReq **to)
 
KSI_AggregationReqKSI_AggregationReq_ref (KSI_AggregationReq *o)
 
void KSI_RequestAck_free (KSI_RequestAck *t)
 
int KSI_RequestAck_new (KSI_CTX *ctx, KSI_RequestAck **t)
 
KSI_CTXKSI_RequestAck_getCtx (KSI_RequestAck *t)
 
int KSI_RequestAck_getRequestTime (const KSI_RequestAck *t, KSI_Integer **requestTime)
 
int KSI_RequestAck_getReceiptTime (const KSI_RequestAck *t, KSI_Integer **receiptTime)
 
int KSI_RequestAck_getAcknowledgeTime (const KSI_RequestAck *t, KSI_Integer **acknowledgeTime)
 
int KSI_RequestAck_getAggregationPeriod (const KSI_RequestAck *t, KSI_Integer **aggregationPeriod)
 
int KSI_RequestAck_getAggregationDelay (const KSI_RequestAck *t, KSI_Integer **aggregationDelay)
 
int KSI_RequestAck_getAggregationDrift (const KSI_RequestAck *t, KSI_Integer **aggregationDrift)
 
int KSI_RequestAck_setRequestTime (KSI_RequestAck *t, KSI_Integer *requestTime)
 
int KSI_RequestAck_setReceiptTime (KSI_RequestAck *t, KSI_Integer *receiptTime)
 
int KSI_RequestAck_setAcknowledgeTime (KSI_RequestAck *t, KSI_Integer *acknowledgeTime)
 
int KSI_RequestAck_setAggregationPeriod (KSI_RequestAck *t, KSI_Integer *aggregationPeriod)
 
int KSI_RequestAck_setAggregationDelay (KSI_RequestAck *t, KSI_Integer *aggregationDelay)
 
int KSI_RequestAck_setAggregationDrift (KSI_RequestAck *t, KSI_Integer *aggregationDrift)
 
void KSI_AggregationResp_free (KSI_AggregationResp *t)
 
int KSI_AggregationResp_new (KSI_CTX *ctx, KSI_AggregationResp **t)
 
int KSI_AggregationResp_getRequestId (const KSI_AggregationResp *t, KSI_Integer **requestId)
 
int KSI_AggregationResp_getStatus (const KSI_AggregationResp *t, KSI_Integer **status)
 
int KSI_AggregationResp_getErrorMsg (const KSI_AggregationResp *t, KSI_Utf8String **errorMsg)
 
int KSI_AggregationResp_getConfig (const KSI_AggregationResp *t, KSI_Config **config)
 
int KSI_AggregationResp_getRequestAck (const KSI_AggregationResp *t, KSI_RequestAck **requestAck)
 
int KSI_AggregationResp_getCalendarChain (const KSI_AggregationResp *t, KSI_CalendarHashChain **calendarChain)
 
int KSI_AggregationResp_getAggregationChainList (const KSI_AggregationResp *t, KSI_LIST(KSI_AggregationHashChain)**aggregationChainList)
 
int KSI_AggregationResp_getCalendarAuthRec (const KSI_AggregationResp *t, KSI_CalendarAuthRec **calendarAuthRec)
 
int KSI_AggregationResp_getAggregationAuthRec (const KSI_AggregationResp *t, KSI_AggregationAuthRec **aggregationAuthRec)
 
int KSI_AggregationResp_getBaseTlv (const KSI_AggregationResp *o, KSI_TLV **baseTlv)
 
int KSI_AggregationResp_setRequestId (KSI_AggregationResp *t, KSI_Integer *requestId)
 
int KSI_AggregationResp_setStatus (KSI_AggregationResp *t, KSI_Integer *status)
 
int KSI_AggregationResp_setErrorMsg (KSI_AggregationResp *t, KSI_Utf8String *errorMsg)
 
int KSI_AggregationResp_setConfig (KSI_AggregationResp *t, KSI_Config *config)
 
int KSI_AggregationResp_setRequestAck (KSI_AggregationResp *t, KSI_RequestAck *requestAck)
 
int KSI_AggregationResp_setCalendarChain (KSI_AggregationResp *t, KSI_CalendarHashChain *calendarChain)
 
int KSI_AggregationResp_setAggregationChainList (KSI_AggregationResp *t, KSI_LIST(KSI_AggregationHashChain)*aggregationChainList)
 
int KSI_AggregationResp_setCalendarAuthRec (KSI_AggregationResp *t, KSI_CalendarAuthRec *calendarAuthRec)
 
int KSI_AggregationResp_setAggregationAuthRec (KSI_AggregationResp *t, KSI_AggregationAuthRec *aggregationAuthRec)
 
int KSI_AggregationResp_setBaseTlv (KSI_AggregationResp *o, KSI_TLV *baseTlv)
 
int KSI_AggregationResp_fromTlv (KSI_TLV *tlv, KSI_AggregationResp **data)
 
int KSI_AggregationResp_toTlv (KSI_CTX *ctx, const KSI_AggregationResp *data, unsigned tag, int isNonCritical, int isForward, KSI_TLV **tlv)
 
 KSI_DEFINE_GET_CTX (KSI_AggregationResp)
 
KSI_AggregationRespKSI_AggregationResp_ref (KSI_AggregationResp *o)
 
int KSI_AggregationResp_verifyWithRequest (const KSI_AggregationResp *resp, const KSI_AggregationReq *req)
 
void KSI_ExtendReq_free (KSI_ExtendReq *t)
 
int KSI_ExtendReq_new (KSI_CTX *ctx, KSI_ExtendReq **t)
 
int KSI_ExtendReq_getRequestId (const KSI_ExtendReq *t, KSI_Integer **requestId)
 
int KSI_ExtendReq_getAggregationTime (const KSI_ExtendReq *t, KSI_Integer **aggregationTime)
 
int KSI_ExtendReq_getPublicationTime (const KSI_ExtendReq *t, KSI_Integer **publicationTime)
 
int KSI_ExtendReq_getConfig (const KSI_ExtendReq *t, KSI_Config **config)
 
int KSI_ExtendReq_setRequestId (KSI_ExtendReq *t, KSI_Integer *requestId)
 
int KSI_ExtendReq_setAggregationTime (KSI_ExtendReq *t, KSI_Integer *aggregationTime)
 
int KSI_ExtendReq_setPublicationTime (KSI_ExtendReq *t, KSI_Integer *publicationTime)
 
int KSI_ExtendReq_setConfig (KSI_ExtendReq *t, KSI_Config *config)
 
int KSI_ExtendReq_fromTlv (KSI_TLV *tlv, KSI_ExtendReq **data)
 
int KSI_ExtendReq_toTlv (KSI_CTX *ctx, const KSI_ExtendReq *data, unsigned tag, int isNonCritical, int isForward, KSI_TLV **tlv)
 
int KSI_ExtendReq_clone (const KSI_ExtendReq *from, KSI_ExtendReq **to)
 
KSI_ExtendReqKSI_ExtendReq_ref (KSI_ExtendReq *o)
 
void KSI_ExtendResp_free (KSI_ExtendResp *t)
 
int KSI_ExtendResp_new (KSI_CTX *ctx, KSI_ExtendResp **t)
 
int KSI_ExtendResp_getRequestId (const KSI_ExtendResp *t, KSI_Integer **requestId)
 
int KSI_ExtendResp_getStatus (const KSI_ExtendResp *t, KSI_Integer **status)
 
int KSI_ExtendResp_getErrorMsg (const KSI_ExtendResp *t, KSI_Utf8String **errorMsg)
 
int KSI_ExtendResp_getLastTime (const KSI_ExtendResp *t, KSI_Integer **lastTime)
 
int KSI_ExtendResp_getConfig (const KSI_ExtendResp *t, KSI_Config **config)
 
int KSI_ExtendResp_getCalendarHashChain (const KSI_ExtendResp *t, KSI_CalendarHashChain **calendarHashChain)
 
int KSI_ExtendResp_setRequestId (KSI_ExtendResp *t, KSI_Integer *requestId)
 
int KSI_ExtendResp_setStatus (KSI_ExtendResp *t, KSI_Integer *status)
 
int KSI_ExtendResp_setErrorMsg (KSI_ExtendResp *t, KSI_Utf8String *errorMsg)
 
int KSI_ExtendResp_setLastTime (KSI_ExtendResp *t, KSI_Integer *lastTime)
 
int KSI_ExtendResp_setConfig (KSI_ExtendResp *t, KSI_Config *config)
 
int KSI_ExtendResp_setCalendarHashChain (KSI_ExtendResp *t, KSI_CalendarHashChain *calendarHashChain)
 
int KSI_ExtendResp_fromTlv (KSI_TLV *tlv, KSI_ExtendResp **data)
 
int KSI_ExtendResp_toTlv (KSI_CTX *ctx, const KSI_ExtendResp *data, unsigned tag, int isNonCritical, int isForward, KSI_TLV **tlv)
 
int KSI_ExtendResp_verifyWithRequest (const KSI_ExtendResp *resp, const KSI_ExtendReq *req)
 
KSI_ExtendRespKSI_ExtendResp_ref (KSI_ExtendResp *o)
 
void KSI_PKISignedData_free (KSI_PKISignedData *t)
 
int KSI_PKISignedData_new (KSI_CTX *ctx, KSI_PKISignedData **t)
 
int KSI_PKISignedData_getSignatureValue (const KSI_PKISignedData *t, KSI_OctetString **signatureValue)
 
int KSI_PKISignedData_getCertId (const KSI_PKISignedData *t, KSI_OctetString **certId)
 
int KSI_PKISignedData_getCertRepositoryUri (const KSI_PKISignedData *t, KSI_Utf8String **certRepositoryUri)
 
int KSI_PKISignedData_getSigType (const KSI_PKISignedData *t, KSI_Utf8String **sigType)
 
int KSI_PKISignedData_setSignatureValue (KSI_PKISignedData *t, KSI_OctetString *signatureValue)
 
int KSI_PKISignedData_setCertId (KSI_PKISignedData *t, KSI_OctetString *certId)
 
int KSI_PKISignedData_setCertRepositoryUri (KSI_PKISignedData *t, KSI_Utf8String *certRepositoryUri)
 
int KSI_PKISignedData_setSigType (KSI_PKISignedData *t, KSI_Utf8String *sigType)
 
void KSI_PublicationsHeader_free (KSI_PublicationsHeader *t)
 
int KSI_PublicationsHeader_new (KSI_CTX *ctx, KSI_PublicationsHeader **t)
 
int KSI_PublicationsHeader_getVersion (const KSI_PublicationsHeader *t, KSI_Integer **version)
 
int KSI_PublicationsHeader_getTimeCreated (const KSI_PublicationsHeader *t, KSI_Integer **timeCreated_s)
 
int KSI_PublicationsHeader_getRepositoryUri (const KSI_PublicationsHeader *t, KSI_Utf8String **repositoryUri)
 
int KSI_PublicationsHeader_setVersion (KSI_PublicationsHeader *t, KSI_Integer *version)
 
int KSI_PublicationsHeader_setTimeCreated (KSI_PublicationsHeader *t, KSI_Integer *timeCreated_s)
 
int KSI_PublicationsHeader_setRepositoryUri (KSI_PublicationsHeader *t, KSI_Utf8String *repositoryUri)
 
void KSI_CertificateRecord_free (KSI_CertificateRecord *t)
 
int KSI_CertificateRecord_new (KSI_CTX *ctx, KSI_CertificateRecord **t)
 
int KSI_CertificateRecord_getCertId (const KSI_CertificateRecord *t, KSI_OctetString **certId)
 
int KSI_CertificateRecord_getCert (const KSI_CertificateRecord *t, KSI_PKICertificate **cert)
 
int KSI_CertificateRecord_setCertId (KSI_CertificateRecord *t, KSI_OctetString *certId)
 
int KSI_CertificateRecord_setCert (KSI_CertificateRecord *t, KSI_PKICertificate *cert)
 
void KSI_AggregationAuthRec_free (KSI_AggregationAuthRec *aar)
 
int KSI_AggregationAuthRec_new (KSI_CTX *ctx, KSI_AggregationAuthRec **out)
 
int KSI_AggregationAuthRec_getAggregationTime (const KSI_AggregationAuthRec *rec, KSI_Integer **aggregationTime)
 
int KSI_AggregationAuthRec_getChainIndex (const KSI_AggregationAuthRec *rec, KSI_LIST(KSI_Integer)**chainIndexesList)
 
int KSI_AggregationAuthRec_getInputHash (const KSI_AggregationAuthRec *rec, KSI_DataHash **inputHash)
 
int KSI_AggregationAuthRec_getSigAlgo (const KSI_AggregationAuthRec *rec, KSI_Utf8String **signatureAlgo)
 
int KSI_AggregationAuthRec_getSigData (const KSI_AggregationAuthRec *rec, KSI_PKISignedData **signatureData)
 
int KSI_AggregationAuthRec_setAggregationTime (KSI_AggregationAuthRec *rec, KSI_Integer *aggregationTime)
 
int KSI_AggregationAuthRec_setChainIndex (KSI_AggregationAuthRec *rec, KSI_LIST(KSI_Integer)*chainIndexesList)
 
int KSI_AggregationAuthRec_setInputHash (KSI_AggregationAuthRec *rec, KSI_DataHash *inputHash)
 
int KSI_AggregationAuthRec_setSigAlgo (KSI_AggregationAuthRec *rec, KSI_Utf8String *signatureAlgo)
 
int KSI_AggregationAuthRec_setSigData (KSI_AggregationAuthRec *rec, KSI_PKISignedData *signatureData)
 
KSI_AggregationAuthRecKSI_AggregationAuthRec_ref (KSI_AggregationAuthRec *o)
 
int KSI_AggregationAuthRec_writeBytes (KSI_AggregationAuthRec *o, unsigned char *buf, size_t buf_size, size_t *buf_len, int opt)
 
void KSI_CalendarAuthRec_free (KSI_CalendarAuthRec *calAuth)
 
int KSI_CalendarAuthRec_new (KSI_CTX *ctx, KSI_CalendarAuthRec **out)
 
int KSI_CalendarAuthRec_getPublishedData (const KSI_CalendarAuthRec *rec, KSI_PublicationData **pubData)
 
int KSI_CalendarAuthRec_getSignatureAlgo (const KSI_CalendarAuthRec *rec, KSI_Utf8String **signatureAlgo)
 
int KSI_CalendarAuthRec_getSignatureData (const KSI_CalendarAuthRec *rec, KSI_PKISignedData **signatureData)
 
int KSI_CalendarAuthRec_setPublishedData (KSI_CalendarAuthRec *rec, KSI_PublicationData *pubData)
 
int KSI_CalendarAuthRec_setSignatureAlgo (KSI_CalendarAuthRec *rec, KSI_Utf8String *signatureAlgo)
 
int KSI_CalendarAuthRec_setSignatureData (KSI_CalendarAuthRec *rec, KSI_PKISignedData *signatureData)
 
KSI_CalendarAuthRecKSI_CalendarAuthRec_ref (KSI_CalendarAuthRec *o)
 
int KSI_CalendarAuthRec_writeBytes (KSI_CalendarAuthRec *o, unsigned char *buf, size_t buf_size, size_t *buf_len, int opt)
 
void KSI_RFC3161_free (KSI_RFC3161 *rfc)
 
int KSI_RFC3161_new (KSI_CTX *ctx, KSI_RFC3161 **out)
 
int KSI_RFC3161_getAggregationTime (const KSI_RFC3161 *o, KSI_Integer **aggregationTime)
 
int KSI_RFC3161_getChainIndex (const KSI_RFC3161 *o, KSI_IntegerList **chainIndex)
 
int KSI_RFC3161_getInputHash (const KSI_RFC3161 *o, KSI_DataHash **inputHash)
 
int KSI_RFC3161_getTstInfoPrefix (const KSI_RFC3161 *o, KSI_OctetString **tstInfoPrefix)
 
int KSI_RFC3161_getTstInfoSuffix (const KSI_RFC3161 *o, KSI_OctetString **tstInfoSuffix)
 
int KSI_RFC3161_getTstInfoAlgo (const KSI_RFC3161 *o, KSI_Integer **tstInfoAlgo)
 
int KSI_RFC3161_getSigAttrPrefix (const KSI_RFC3161 *o, KSI_OctetString **sigAttrPrefix)
 
int KSI_RFC3161_getSigAttrSuffix (const KSI_RFC3161 *o, KSI_OctetString **sigAttrSuffix)
 
int KSI_RFC3161_getSigAttrAlgo (const KSI_RFC3161 *o, KSI_Integer **sigAttrAlgo)
 
int KSI_RFC3161_setAggregationTime (KSI_RFC3161 *o, KSI_Integer *aggregationTime)
 
int KSI_RFC3161_setChainIndex (KSI_RFC3161 *o, KSI_IntegerList *chainIndex)
 
int KSI_RFC3161_setInputHash (KSI_RFC3161 *o, KSI_DataHash *inputHash)
 
int KSI_RFC3161_setTstInfoPrefix (KSI_RFC3161 *o, KSI_OctetString *tstInfoPrefix)
 
int KSI_RFC3161_setTstInfoSuffix (KSI_RFC3161 *o, KSI_OctetString *tstInfoSuffix)
 
int KSI_RFC3161_setTstInfoAlgo (KSI_RFC3161 *o, KSI_Integer *tstInfoAlgo)
 
int KSI_RFC3161_setSigAttrPrefix (KSI_RFC3161 *o, KSI_OctetString *sigAttrPrefix)
 
int KSI_RFC3161_setSigAttrSuffix (KSI_RFC3161 *o, KSI_OctetString *sigAttrSuffix)
 
int KSI_RFC3161_setSigAttrAlgo (KSI_RFC3161 *o, KSI_Integer *sigAttrAlgo)
 
KSI_RFC3161KSI_RFC3161_ref (KSI_RFC3161 *o)
 
int KSI_RFC3161_writeBytes (KSI_RFC3161 *o, unsigned char *buf, size_t buf_size, size_t *buf_len, int opt)