Details
xmlSecGnuTLSInit ()
int xmlSecGnuTLSInit (void); |
XMLSec library specific crypto engine initialization.
Returns : |
0 on success or a negative value otherwise. |
xmlSecGnuTLSShutdown ()
int xmlSecGnuTLSShutdown (void); |
XMLSec library specific crypto engine shutdown.
Returns : |
0 on success or a negative value otherwise. |
xmlSecGnuTLSKeysMngrInit ()
Adds GnuTLS specific key data stores in keys manager.
mngr : |
the pointer to keys manager. |
Returns : |
0 on success or a negative value otherwise. |
xmlSecGnuTLSGenerateRandom ()
Generates size random bytes and puts result in buffer.
buffer : |
the destination buffer. |
size : |
the numer of bytes to generate. |
Returns : |
0 on success or a negative value otherwise. |
xmlSecGnuTLSKeyDataAesId
#define xmlSecGnuTLSKeyDataAesId |
The AES key data klass.
xmlSecGnuTLSKeyDataAesGetKlass ()
xmlSecKeyDataId xmlSecGnuTLSKeyDataAesGetKlass
(void); |
The AES key data klass.
xmlSecGnuTLSKeyDataAesSet ()
Sets the value of AES key data.
data : |
the pointer to AES key data. |
buf : |
the pointer to key value. |
bufSize : |
the key value size (in bytes). |
Returns : |
0 on success or a negative value if an error occurs. |
xmlSecGnuTLSTransformAes128CbcId
#define xmlSecGnuTLSTransformAes128CbcId |
The AES128 CBC cipher transform klass.
xmlSecGnuTLSTransformAes128CbcGetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformAes128CbcGetKlass
(void); |
AES 128 CBC encryption transform klass.
Returns : |
pointer to AES 128 CBC encryption transform. |
xmlSecGnuTLSTransformAes192CbcId
#define xmlSecGnuTLSTransformAes192CbcId |
The AES192 CBC cipher transform klass.
xmlSecGnuTLSTransformAes192CbcGetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformAes192CbcGetKlass
(void); |
AES 192 CBC encryption transform klass.
Returns : |
pointer to AES 192 CBC encryption transform. |
xmlSecGnuTLSTransformAes256CbcId
#define xmlSecGnuTLSTransformAes256CbcId |
The AES256 CBC cipher transform klass.
xmlSecGnuTLSTransformAes256CbcGetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformAes256CbcGetKlass
(void); |
AES 256 CBC encryption transform klass.
Returns : |
pointer to AES 256 CBC encryption transform. |
xmlSecGnuTLSKeyDataDesId
#define xmlSecGnuTLSKeyDataDesId |
The DES key data klass.
xmlSecGnuTLSKeyDataDesGetKlass ()
xmlSecKeyDataId xmlSecGnuTLSKeyDataDesGetKlass
(void); |
The DES key data klass.
xmlSecGnuTLSKeyDataDesSet ()
Sets the value of DES key data.
data : |
the pointer to DES key data. |
buf : |
the pointer to key value. |
bufSize : |
the key value size (in bytes). |
Returns : |
0 on success or a negative value if an error occurs. |
xmlSecGnuTLSTransformDes3CbcId
#define xmlSecGnuTLSTransformDes3CbcId |
The DES3 CBC cipher transform klass.
xmlSecGnuTLSTransformDes3CbcGetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformDes3CbcGetKlass
(void); |
Triple DES CBC encryption transform klass.
Returns : |
pointer to Triple DES encryption transform. |
xmlSecGnuTLSKeyDataHmacId
#define xmlSecGnuTLSKeyDataHmacId |
The HMAC key klass.
xmlSecGnuTLSKeyDataHmacGetKlass ()
xmlSecKeyDataId xmlSecGnuTLSKeyDataHmacGetKlass
(void); |
The HMAC key data klass.
xmlSecGnuTLSKeyDataHmacSet ()
Sets the value of HMAC key data.
data : |
the pointer to HMAC key data. |
buf : |
the pointer to key value. |
bufSize : |
the key value size (in bytes). |
Returns : |
0 on success or a negative value if an error occurs. |
xmlSecGnuTLSTransformHmacSha1Id
#define xmlSecGnuTLSTransformHmacSha1Id |
The HMAC with SHA1 signature transform klass.
xmlSecGnuTLSTransformHmacSha1GetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformHmacSha1GetKlass
(void); |
The HMAC-SHA1 transform klass.
xmlSecGnuTLSTransformHmacRipemd160Id
#define xmlSecGnuTLSTransformHmacRipemd160Id |
The HMAC with RipeMD160 signature transform klass.
xmlSecGnuTLSTransformHmacRipemd160GetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformHmacRipemd160GetKlass
(void); |
The HMAC-RIPEMD160 transform klass.
Returns : |
the HMAC-RIPEMD160 transform klass. |
xmlSecGnuTLSTransformHmacMd5Id
#define xmlSecGnuTLSTransformHmacMd5Id |
The HMAC with MD5 signature transform klass.
xmlSecGnuTLSTransformHmacMd5GetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformHmacMd5GetKlass
(void); |
The HMAC-MD5 transform klass.
xmlSecGnuTLSTransformSha1Id
#define xmlSecGnuTLSTransformSha1Id |
The SHA1 digest transform klass.
xmlSecGnuTLSTransformSha1GetKlass ()
xmlSecTransformId xmlSecGnuTLSTransformSha1GetKlass
(void); |
SHA-1 digest transform klass.
Returns : |
pointer to SHA-1 digest transform klass. |