Clases |
struct | DEncEncryptionProperty_st |
struct | DEncEncryptionProperties_st |
struct | DEncEncrytedKey_st |
struct | DEncEncrytedData_st |
struct | DEncRecvInfo_st |
struct | DEncRecvInfoList_st |
'defines' |
#define | DENC_DATA_STATUS_UNINITIALIZED 0 |
#define | DENC_DATA_STATUS_UNENCRYPTED_AND_NOT_COMPRESSED 1 |
#define | DENC_DATA_STATUS_UNENCRYPTED_AND_COMPRESSED 2 |
#define | DENC_DATA_STATUS_ENCRYPTED_AND_NOT_COMPRESSED 3 |
#define | DENC_DATA_STATUS_ENCRYPTED_AND_COMPRESSED 4 |
#define | DENC_KEY_STATUS_UNINITIALIZED 0 |
#define | DENC_KEY_STATUS_INITIALIZED 1 |
#define | DENC_KEY_STATUS_DISCARDED 2 |
#define | ENCPROP_FILENAME "Filename" |
#define | ENCPROP_ORIG_SIZE "OriginalSize" |
#define | ENCPROP_ORIG_MIME "OriginalMimeType" |
#define | ENCPROP_ORIG_CONTENT "orig_file" |
#define | ENCPROP_LIB_VERSION "LibraryVersion" |
#define | ENCPROP_DOC_FORMAT "DocumentFormat" |
#define | DENC_FORMAT_ENCDOC_XML "ENCDOC-XML" |
#define | DENC_VERSION_1_0 "1.0" |
#define | DENC_COMPRESS_ALLWAYS 0 |
#define | DENC_COMPRESS_NEVER 1 |
#define | DENC_COMPRESS_BEST_EFFORT 2 |
#define | DENC_ENCRYPTED_KEY_LEN 128 |
#define | DENC_DECRYPTED_KEY_LEN 16 |
#define | ENCRYPT 1 |
#define | DECRYPT 0 |
#define | DENC_ENCDATA_TYPE_DDOC "http://www.sk.ee/DigiDoc/v1.3.0/digidoc.xsd" |
#define | DENC_ENCDATA_MIME_XML "text/xml" |
#define | DENC_ENCDATA_MIME_ZLIB "http://www.isi.edu/in-noes/iana/assignments/media-types/application/zip" |
#define | DENC_ENC_METHOD_AES128 "http://www.w3.org/2001/04/xmlenc#aes128-cbc" |
#define | DENC_ENC_METHOD_RSA1_5 "http://www.w3.org/2001/04/xmlenc#rsa-1_5" |
#define | DENC_ENC_METHOD_RSA1_5_BUGGY "http://www.w3.org/2001/04/xmlenc#rsa-1-5" |
#define | DENC_XMLNS_XMLENC "http://www.w3.org/2001/04/xmlenc#" |
#define | DENC_XMLNS_XMLENC_ELEMENT "http://www.w3.org/2001/04/xmlenc#Element" |
#define | DENC_XMLNS_XMLENC_CONTENT "http://www.w3.org/2001/04/xmlenc#Content" |
#define | DENC_XMLNS_XMLENC_ENCPROP "http://www.w3.org/2001/04/xmlenc#EncryptionProperties" |
#define | DENC_XMLNS_XMLDSIG "http://www.w3.org/2000/09/xmldsig#" |
'typedefs' |
typedef struct
DEncEncryptionProperty_st | DEncEncryptionProperty |
typedef struct
DEncEncryptionProperties_st | DEncEncryptionProperties |
typedef struct DEncEncrytedKey_st | DEncEncryptedKey |
typedef struct DEncEncrytedData_st | DEncEncryptedData |
typedef struct DEncRecvInfo_st | DEncRecvInfo |
typedef struct DEncRecvInfoList_st | DEncRecvInfoList |
Funciones |
EXP_OPTION int | dencEncryptedData_new (DEncEncryptedData **ppEncData, const char *szXmlNs, const char *szEncMethod, const char *szId, const char *szType, const char *szMimeType) |
EXP_OPTION int | dencEncryptedData_free (DEncEncryptedData *pEncData) |
EXP_OPTION const char * | dencEncryptedData_GetId (DEncEncryptedData *pEncData) |
EXP_OPTION const char * | dencEncryptedData_GetType (DEncEncryptedData *pEncData) |
EXP_OPTION const char * | dencEncryptedData_GetMimeType (DEncEncryptedData *pEncData) |
EXP_OPTION const char * | dencEncryptedData_GetXmlNs (DEncEncryptedData *pEncData) |
EXP_OPTION const char * | dencEncryptedData_GetEncryptionMethod (DEncEncryptedData *pEncData) |
EXP_OPTION const char * | dencEncryptedData_GetEncryptionPropertiesId (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencEncryptedData_GetEncryptionPropertiesCount (DEncEncryptedData *pEncData) |
EXP_OPTION DEncEncryptionProperty * | dencEncryptedData_GetEncryptionProperty (DEncEncryptedData *pEncData, int nIdx) |
EXP_OPTION DEncEncryptionProperty * | dencEncryptedData_GetLastEncryptionProperty (DEncEncryptedData *pEncData) |
EXP_OPTION DEncEncryptionProperty * | dencEncryptedData_FindEncryptionPropertyByName (DEncEncryptedData *pEncData, const char *name) |
EXP_OPTION int | dencEncryptedData_GetEncryptedKeyCount (DEncEncryptedData *pEncData) |
EXP_OPTION DEncEncryptedKey * | dencEncryptedData_GetEncryptedKey (DEncEncryptedData *pEncData, int nIdx) |
EXP_OPTION DEncEncryptedKey * | dencEncryptedData_FindEncryptedKeyByRecipient (DEncEncryptedData *pEncData, const char *recipient) |
EXP_OPTION DEncEncryptedKey * | dencEncryptedData_FindEncryptedKeyByCN (DEncEncryptedData *pEncData, const char *cn) |
EXP_OPTION DEncEncryptedKey * | dencEncryptedData_GetLastEncryptedKey (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencEncryptedData_GetEncryptedData (DEncEncryptedData *pEncData, DigiDocMemBuf **ppBuf) |
EXP_OPTION int | dencEncryptedData_GetEncryptedDataStatus (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencEncryptedData_SetId (DEncEncryptedData *pEncData, const char *value) |
EXP_OPTION int | dencEncryptedData_SetType (DEncEncryptedData *pEncData, const char *value) |
EXP_OPTION int | dencEncryptedData_SetMimeType (DEncEncryptedData *pEncData, const char *value) |
EXP_OPTION int | dencEncryptedData_SetXmlNs (DEncEncryptedData *pEncData, const char *value) |
EXP_OPTION int | dencEncryptedData_SetEncryptionMethod (DEncEncryptedData *pEncData, const char *value) |
EXP_OPTION int | dencEncryptedData_AppendData (DEncEncryptedData *pEncData, const char *data, int len) |
EXP_OPTION int | dencEncryptedData_SetEncryptionPropertiesId (DEncEncryptedData *pEncData, const char *value) |
EXP_OPTION int | dencEncryptedData_DeleteEncryptionProperty (DEncEncryptedData *pEncData, int nIdx) |
EXP_OPTION int | dencEncryptedData_DeleteEncryptedKey (DEncEncryptedData *pEncData, int nIdx) |
EXP_OPTION int | dencEncryptionProperty_new (DEncEncryptedData *pEncData, DEncEncryptionProperty **pEncProperty, const char *szId, const char *szTarget, const char *szName, const char *szContent) |
EXP_OPTION int | dencEncryptionProperty_free (DEncEncryptionProperty *pEncProperty) |
EXP_OPTION const char * | dencEncryptionProperty_GetId (DEncEncryptionProperty *pEncProp) |
EXP_OPTION const char * | dencEncryptionProperty_GetTarget (DEncEncryptionProperty *pEncProp) |
EXP_OPTION const char * | dencEncryptionProperty_GetName (DEncEncryptionProperty *pEncProp) |
EXP_OPTION const char * | dencEncryptionProperty_GetContent (DEncEncryptionProperty *pEncProp) |
EXP_OPTION int | dencEncryptionProperty_SetId (DEncEncryptionProperty *pEncProp, const char *value) |
EXP_OPTION int | dencEncryptionProperty_SetTarget (DEncEncryptionProperty *pEncProp, const char *value) |
EXP_OPTION int | dencEncryptionProperty_SetName (DEncEncryptionProperty *pEncProp, const char *value) |
EXP_OPTION int | dencEncryptionProperty_SetContent (DEncEncryptionProperty *pEncProp, const char *value) |
EXP_OPTION int | dencEncryptedKey_new (DEncEncryptedData *pEncData, DEncEncryptedKey **pEncKey, X509 *pCert, const char *szEncMethod, const char *szId, const char *szRecipient, const char *szKeyName, const char *szCarriedKeyName) |
EXP_OPTION int | dencEncryptedKey_free (DEncEncryptedKey *pEncKey) |
EXP_OPTION const char * | dencEncryptedKey_GetId (DEncEncryptedKey *pEncKey) |
EXP_OPTION const char * | dencEncryptedKey_GetRecipient (DEncEncryptedKey *pEncKey) |
EXP_OPTION const char * | dencEncryptedKey_GetEncryptionMethod (DEncEncryptedKey *pEncKey) |
EXP_OPTION const char * | dencEncryptedKey_GetKeyName (DEncEncryptedKey *pEncKey) |
EXP_OPTION const char * | dencEncryptedKey_GetCarriedKeyName (DEncEncryptedKey *pEncKey) |
EXP_OPTION X509 * | dencEncryptedKey_GetCertificate (DEncEncryptedKey *pEncKey) |
EXP_OPTION int | dencEncryptedKey_SetId (DEncEncryptedKey *pEncKey, const char *value) |
EXP_OPTION int | dencEncryptedKey_SetRecipient (DEncEncryptedKey *pEncKey, const char *value) |
EXP_OPTION int | dencEncryptedKey_SetEncryptionMethod (DEncEncryptedKey *pEncKey, const char *value) |
EXP_OPTION int | dencEncryptedKey_SetKeyName (DEncEncryptedKey *pEncKey, const char *value) |
EXP_OPTION int | dencEncryptedKey_SetCarriedKeyName (DEncEncryptedKey *pEncKey, const char *value) |
EXP_OPTION int | dencEncryptedKey_SetCertificate (DEncEncryptedKey *pEncKey, X509 *value) |
EXP_OPTION int | dencEncryptedData_findEncryptedKeyByPKCS11 (DEncEncryptedData *pEncData, DEncEncryptedKey **ppEncKey) |
EXP_OPTION int | dencEncryptedData_encryptData (DEncEncryptedData *pEncData, int nCompressOption) |
EXP_OPTION int | dencEncryptedData_decrypt_withKey (DEncEncryptedData *pEncData, const char *tKey, int keyLen) |
EXP_OPTION int | dencEncryptedData_decryptData (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencEncryptedData_decrypt (DEncEncryptedData *pEncData, DEncEncryptedKey *pEncKey, const char *pin) |
EXP_OPTION int | dencEncryptedData_compressData (DEncEncryptedData *pEncData, int nCompressOption) |
EXP_OPTION int | dencEncryptedData_decompressData (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencRecvInfo_new (DEncRecvInfo **ppRecvInfo, const char *szId, const char *szRecipient, const char *szKeyName, const char *szCarriedKeyName, const X509 *pCert) |
EXP_OPTION int | dencRecvInfo_free (DEncRecvInfo *pRecvInfo) |
EXP_OPTION int | dencRecvInfo_store (DEncRecvInfo *pRecvInfo) |
EXP_OPTION int | dencRecvInfo_findById (ConfigurationStore *pConfStore, DEncRecvInfo **ppRecvInfo, const char *szId) |
EXP_OPTION int | dencRecvInfo_delete (DEncRecvInfo *pRecvInfo) |
EXP_OPTION int | dencRecvInfo_findAll (DEncRecvInfoList *pRecvInfoList) |
EXP_OPTION int | dencRecvInfoList_add (DEncRecvInfoList *pRecvInfoList, DEncRecvInfo *pRecvInfo) |
EXP_OPTION int | dencRecvInfoList_free (DEncRecvInfoList *pRecvInfoList) |
EXP_OPTION int | dencRecvInfoList_delete (DEncRecvInfoList *pRecvInfoList, const char *szId) |
EXP_OPTION int | dencEncryptFile (DEncEncryptedData *pEncData, const char *szInputFileName, const char *szOutputFileName, const char *szMimeType) |
EXP_OPTION int | dencOrigContent_count (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencOrigContent_add (DEncEncryptedData *pEncData, const char *szOrigContentId, const char *szName, const char *szSize, const char *szMime, const char *szDfId) |
EXP_OPTION int | dencOrigContent_findByIndex (DEncEncryptedData *pEncData, int origContIdx, char *szName, char *szSize, char *szMime, char *szDfId) |
EXP_OPTION int | dencOrigContent_isDigiDocInside (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencOrigContent_registerDigiDoc (DEncEncryptedData *pEncData, SignedDoc *pSigDoc) |
EXP_OPTION int | dencMetaInfo_SetLibVersion (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencMetaInfo_SetFormatVersion (DEncEncryptedData *pEncData) |
EXP_OPTION int | dencMetaInfo_GetLibVersion (DEncEncryptedData *pEncData, char *szLibrary, char *szVersion) |
EXP_OPTION int | dencMetaInfo_GetFormatVersion (DEncEncryptedData *pEncData, char *szFormat, char *szVersion) |
EXP_OPTION int | dencMetaInfo_deleteVersionInfo (DEncEncryptedData *pEncData) |