Top |
xmlSecCryptoDLFunctionsPtr
xmlSecCryptoGetFunctions_gcrypt (void
);
Gets the pointer to xmlsec-gcrypt functions table.
int
xmlSecGCryptInit (void
);
XMLSec library specific crypto engine initialization.
int
xmlSecGCryptShutdown (void
);
XMLSec library specific crypto engine shutdown.
int
xmlSecGCryptKeysMngrInit (xmlSecKeysMngrPtr mngr
);
Adds GCrypt specific key data stores in keys manager.
int xmlSecGCryptGenerateRandom (xmlSecBufferPtr buffer
,xmlSecSize size
);
Generates size
random bytes and puts result in buffer
.
xmlSecKeyDataId
xmlSecGCryptKeyDataAesGetKlass (void
);
The AES key data klass.
int xmlSecGCryptKeyDataAesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of AES key data.
xmlSecTransformId
xmlSecGCryptTransformAes128CbcGetKlass
(void
);
AES 128 CBC encryption transform klass.
xmlSecTransformId
xmlSecGCryptTransformAes192CbcGetKlass
(void
);
AES 192 CBC encryption transform klass.
xmlSecTransformId
xmlSecGCryptTransformAes256CbcGetKlass
(void
);
AES 256 CBC encryption transform klass.
xmlSecTransformId
xmlSecGCryptTransformKWAes128GetKlass (void
);
The AES-128 kew wrapper transform klass.
xmlSecTransformId
xmlSecGCryptTransformKWAes192GetKlass (void
);
The AES-192 kew wrapper transform klass.
xmlSecTransformId
xmlSecGCryptTransformKWAes256GetKlass (void
);
The AES-256 kew wrapper transform klass.
xmlSecKeyDataId
xmlSecGCryptKeyDataDesGetKlass (void
);
The DES key data klass.
int xmlSecGCryptKeyDataDesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of DES key data.
xmlSecTransformId
xmlSecGCryptTransformDes3CbcGetKlass (void
);
Triple DES CBC encryption transform klass.
xmlSecTransformId
xmlSecGCryptTransformKWDes3GetKlass (void
);
The Triple DES key wrapper transform klass.
xmlSecKeyDataId
xmlSecGCryptKeyDataDsaGetKlass (void
);
The DSA key data klass.
int xmlSecGCryptKeyDataDsaAdoptKey (xmlSecKeyDataPtr data
,gcry_sexp_t dsa_key
);
Sets the value of DSA key data.
int xmlSecGCryptKeyDataDsaAdoptKeyPair (xmlSecKeyDataPtr data
,gcry_sexp_t pub_key
,gcry_sexp_t priv_key
);
Sets the value of DSA key data.
gcry_sexp_t
xmlSecGCryptKeyDataDsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GCrypt DSA public key from DSA key data.
gcry_sexp_t
xmlSecGCryptKeyDataDsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GCrypt DSA private key from DSA key data.
xmlSecTransformId
xmlSecGCryptTransformDsaSha1GetKlass (void
);
The DSA-SHA1 signature transform klass.
int
xmlSecGCryptHmacGetMinOutputLength (void
);
Gets the value of min HMAC length.
void
xmlSecGCryptHmacSetMinOutputLength (int min_length
);
Sets the min HMAC output length
xmlSecKeyDataId
xmlSecGCryptKeyDataHmacGetKlass (void
);
The HMAC key data klass.
int xmlSecGCryptKeyDataHmacSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of HMAC key data.
xmlSecTransformId
xmlSecGCryptTransformHmacMd5GetKlass (void
);
The HMAC-MD5 transform klass.
xmlSecTransformId
xmlSecGCryptTransformHmacRipemd160GetKlass
(void
);
The HMAC-RIPEMD160 transform klass.
xmlSecTransformId
xmlSecGCryptTransformHmacSha1GetKlass (void
);
The HMAC-SHA1 transform klass.
xmlSecTransformId
xmlSecGCryptTransformHmacSha256GetKlass
(void
);
The HMAC-SHA256 transform klass.
xmlSecTransformId
xmlSecGCryptTransformHmacSha384GetKlass
(void
);
The HMAC-SHA384 transform klass.
xmlSecTransformId
xmlSecGCryptTransformHmacSha512GetKlass
(void
);
The HMAC-SHA512 transform klass.
xmlSecKeyDataId
xmlSecGCryptKeyDataRsaGetKlass (void
);
The GCrypt RSA key data klass.
int xmlSecGCryptKeyDataRsaAdoptKey (xmlSecKeyDataPtr data
,gcry_sexp_t rsa_key
);
Sets the value of RSA key data.
int xmlSecGCryptKeyDataRsaAdoptKeyPair (xmlSecKeyDataPtr data
,gcry_sexp_t pub_key
,gcry_sexp_t priv_key
);
Sets the value of RSA key data.
gcry_sexp_t
xmlSecGCryptKeyDataRsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GCrypt RSA public key from RSA key data.
gcry_sexp_t
xmlSecGCryptKeyDataRsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GCrypt RSA private key from RSA key data.
xmlSecTransformId
xmlSecGCryptTransformRsaMd5GetKlass (void
);
The RSA-MD5 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaRipemd160GetKlass
(void
);
The RSA-RIPEMD160 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaSha1GetKlass (void
);
The RSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaSha256GetKlass
(void
);
The RSA-SHA256 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaSha384GetKlass
(void
);
The RSA-SHA384 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaSha512GetKlass
(void
);
The RSA-SHA512 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha1GetKlass (void
);
SHA-1 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha256GetKlass (void
);
SHA256 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha384GetKlass (void
);
SHA384 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha512GetKlass (void
);
SHA512 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformMd5GetKlass (void
);
MD5 digest transform klass.
#define xmlSecGCryptTransformAes128CbcId
The AES128 CBC cipher transform klass.
#define xmlSecGCryptTransformAes192CbcId
The AES192 CBC cipher transform klass.
#define xmlSecGCryptTransformAes256CbcId
The AES256 CBC cipher transform klass.
#define xmlSecGCryptTransformKWAes128Id
The AES 128 key wrap transform klass.
#define xmlSecGCryptTransformKWAes192Id
The AES 192 key wrap transform klass.
#define xmlSecGCryptTransformKWAes256Id
The AES 256 key wrap transform klass.
#define xmlSecGCryptTransformDes3CbcId
The DES3 CBC cipher transform klass.
#define xmlSecGCryptTransformDsaSha1Id
The DSA SHA1 signature transform klass.
#define xmlSecGCryptTransformHmacMd5Id
The HMAC with MD5 signature transform klass.
#define xmlSecGCryptTransformHmacRipemd160Id
The HMAC with RipeMD160 signature transform klass.
#define xmlSecGCryptTransformHmacSha1Id
The HMAC with SHA1 signature transform klass.
#define xmlSecGCryptTransformHmacSha256Id
The HMAC with SHA256 signature transform klass.
#define xmlSecGCryptTransformHmacSha384Id
The HMAC with SHA384 signature transform klass.
#define xmlSecGCryptTransformHmacSha512Id
The HMAC with SHA512 signature transform klass.
#define xmlSecGCryptTransformRsaMd5Id
The RSA-MD5 signature transform klass.
#define xmlSecGCryptTransformRsaRipemd160Id
The RSA-RIPEMD160 signature transform klass.
#define xmlSecGCryptTransformRsaSha1Id
The RSA-SHA1 signature transform klass.
#define xmlSecGCryptTransformRsaSha256Id
The RSA-SHA256 signature transform klass.
#define xmlSecGCryptTransformRsaSha384Id
The RSA-SHA384 signature transform klass.
#define xmlSecGCryptTransformRsaSha512Id
The RSA-SHA512 signature transform klass.
#define xmlSecGCryptTransformSha1Id
The HMAC with SHA1 signature transform klass.
#define xmlSecGCryptTransformSha256Id
The HMAC with SHA256 signature transform klass.
#define xmlSecGCryptTransformSha384Id
The HMAC with SHA384 signature transform klass.
#define xmlSecGCryptTransformSha512Id
The HMAC with SHA512 signature transform klass.