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.
xmlSecKeyDataId
xmlSecGCryptkeyDataEcGetKlass (void
);
The GCrypt EC key data klass.
int xmlSecGCryptKeyDataEcAdoptKey (xmlSecKeyDataPtr data
,gcry_sexp_t ec_key
);
Sets the value of EC key data.
int xmlSecGCryptKeyDataEcAdoptKeyPair (xmlSecKeyDataPtr data
,gcry_sexp_t pub_key
,gcry_sexp_t priv_key
);
Sets the value of EC key data.
gcry_sexp_t
xmlSecGCryptKeyDataEcGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GCrypt EC public key from EC key data.
gcry_sexp_t
xmlSecGCryptKeyDataEcGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GCrypt EC private key from EC key data.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha1GetKlass
(void
);
The ECDSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha256GetKlass
(void
);
The ECDSA-SHA2-256 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha384GetKlass
(void
);
The ECDSA-SHA2-384 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha512GetKlass
(void
);
The ECDSA-SHA2-512 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha3_256GetKlass
(void
);
The ECDSA-SHA3-256 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha3_384GetKlass
(void
);
The ECDSA-SHA3-384 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha3_512GetKlass
(void
);
The ECDSA-SHA3-512 signature transform klass.
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-SHA2-256 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaSha384GetKlass
(void
);
The RSA-SHA2-384 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaSha512GetKlass
(void
);
The RSA-SHA2-512 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha1GetKlass
(void
);
The RSA-PSS-SHA1 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha256GetKlass
(void
);
The RSA-PSS-SHA2-256 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha384GetKlass
(void
);
The RSA-PSS-SHA2-384 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha512GetKlass
(void
);
The RSA-PSS-SHA2-512 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha3_256GetKlass
(void
);
The RSA-PSS-SHA3-256 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha3_384GetKlass
(void
);
The RSA-PSS-SHA3-384 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPssSha3_512GetKlass
(void
);
The RSA-PSS-SHA3-512 signature transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaPkcs1GetKlass (void
);
The RSA-PKCS1 key transport transform klass.
xmlSecTransformId
xmlSecGCryptTransformRsaOaepGetKlass (void
);
The RSA-OAEP key transport transform klass (XMLEnc 1.0).
xmlSecTransformId
xmlSecGCryptTransformRsaOaepEnc11GetKlass
(void
);
The RSA-OAEP key transport transform klass (XMLEnc 1.1).
xmlSecTransformId
xmlSecGCryptTransformSha1GetKlass (void
);
SHA-1 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha256GetKlass (void
);
SHA2-256 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha384GetKlass (void
);
SHA2-384 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha512GetKlass (void
);
SHA2-512 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha3_256GetKlass (void
);
SHA3-256 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha3_384GetKlass (void
);
SHA3-384 digest transform klass.
xmlSecTransformId
xmlSecGCryptTransformSha3_512GetKlass (void
);
SHA3-512 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 xmlSecGCryptKeyDataEcId xmlSecGCryptkeyDataEcGetKlass()
The EC key klass.
#define xmlSecGCryptTransformEcdsaSha1Id
The ECDSA-SHA1 signature transform klass.
#define xmlSecGCryptTransformEcdsaSha256Id
The ECDSA-SHA2-256 signature transform klass.
#define xmlSecGCryptTransformEcdsaSha384Id
The ECDSA-SHA2-384 signature transform klass.
#define xmlSecGCryptTransformEcdsaSha512Id
The ECDSA-SHA2-512 signature transform klass.
#define xmlSecGCryptTransformEcdsaSha3_256Id
The ECDSA-SHA3-256 signature transform klass.
#define xmlSecGCryptTransformEcdsaSha3_384Id
The ECDSA-SHA3-384 signature transform klass.
#define xmlSecGCryptTransformEcdsaSha3_512Id
The ECDSA-SHA3-512 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 SHA2-256 signature transform klass.
#define xmlSecGCryptTransformHmacSha384Id
The HMAC with SHA2-384 signature transform klass.
#define xmlSecGCryptTransformHmacSha512Id
The HMAC with SHA2-512 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-SHA2-256 signature transform klass.
#define xmlSecGCryptTransformRsaSha384Id
The RSA-SHA2-384 signature transform klass.
#define xmlSecGCryptTransformRsaSha512Id
The RSA-SHA2-512 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha1Id
The RSA-PSS-SHA1 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha256Id
The RSA-PSS-SHA2-256 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha384Id
The RSA-PSS-SHA2-384 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha512Id
The RSA-PSS-SHA2-512 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha3_256Id
The RSA-PSS-SHA3-256 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha3_384Id
The RSA-PSS-SHA3-384 signature transform klass.
#define xmlSecGCryptTransformRsaPssSha3_512Id
The RSA-PSS-SHA3-512 signature transform klass.
#define xmlSecGCryptTransformRsaPkcs1Id
The RSA PKCS1 key transport transform klass.
#define xmlSecGCryptTransformRsaOaepId
The RSA OAEP key transport transform klass (XMLEnc 1.0).
#define xmlSecGCryptTransformRsaOaepEnc11Id
The RSA OAEP key transport transform klass (XMLEnc 1.1).
#define xmlSecGCryptTransformSha1Id
The HMAC with SHA1 signature transform klass.
#define xmlSecGCryptTransformSha256Id
The HMAC with SHA2-256 signature transform klass.
#define xmlSecGCryptTransformSha384Id
The HMAC with SHA2-384 signature transform klass.
#define xmlSecGCryptTransformSha512Id
The HMAC with SHA2-512 signature transform klass.
#define xmlSecGCryptTransformSha3_256Id
The HMAC with SHA3-256 signature transform klass.
#define xmlSecGCryptTransformSha3_384Id
The HMAC with SHA3-384 signature transform klass.
#define xmlSecGCryptTransformSha3_512Id
The HMAC with SHA3-512 signature transform klass.