Top | ![]() |
![]() |
![]() |
![]() |
int
xmlSecCryptoInit (void
);
XMLSec library specific crypto engine initialization.
int
xmlSecCryptoShutdown (void
);
XMLSec library specific crypto engine shutdown.
int
xmlSecCryptoKeysMngrInit (xmlSecKeysMngrPtr mngr
);
Adds crypto specific key data stores in keys manager.
xmlSecKeyDataId
xmlSecKeyDataAesGetKlass (void
);
The AES key data klass.
xmlSecKeyDataId
xmlSecKeyDataDesGetKlass (void
);
The DES key data klass.
xmlSecKeyDataId
xmlSecKeyDataDsaGetKlass (void
);
The DSA key data klass.
xmlSecKeyDataId
xmlSecKeyDataEcdsaGetKlass (void
);
The ECDSA key data klass.
xmlSecKeyDataId
xmlSecKeyDataGost2001GetKlass (void
);
The GOST2001 key data klass.
xmlSecKeyDataId
xmlSecKeyDataGostR3410_2012_256GetKlass
(void
);
The GOST R 34.10-2012 256 bit key data klass.
xmlSecKeyDataId
xmlSecKeyDataGostR3410_2012_512GetKlass
(void
);
The GOST R 34.10-2012 512 bit key data klass.
xmlSecKeyDataId
xmlSecKeyDataHmacGetKlass (void
);
The HMAC key data klass.
xmlSecKeyDataId
xmlSecKeyDataRsaGetKlass (void
);
The RSA key data klass.
xmlSecKeyDataId
xmlSecKeyDataX509GetKlass (void
);
The X509 key data klass.
xmlSecKeyDataId
xmlSecKeyDataRawX509CertGetKlass (void
);
The raw X509 cert key data klass.
xmlSecKeyDataStoreId
xmlSecX509StoreGetKlass (void
);
The X509 certificates key data store klass.
xmlSecTransformId
xmlSecTransformAes128CbcGetKlass (void
);
AES 128 CBC encryption transform klass.
xmlSecTransformId
xmlSecTransformAes192CbcGetKlass (void
);
AES 192 CBC encryption transform klass.
xmlSecTransformId
xmlSecTransformAes256CbcGetKlass (void
);
AES 256 CBC encryption transform klass.
xmlSecTransformId
xmlSecTransformAes128GcmGetKlass (void
);
AES 128 GCM encryption transform klass.
xmlSecTransformId
xmlSecTransformAes192GcmGetKlass (void
);
AES 192 GCM encryption transform klass.
xmlSecTransformId
xmlSecTransformAes256GcmGetKlass (void
);
AES 256 GCM encryption transform klass.
xmlSecTransformId
xmlSecTransformKWAes128GetKlass (void
);
The AES-128 kew wrapper transform klass.
xmlSecTransformId
xmlSecTransformKWAes192GetKlass (void
);
The AES-192 kew wrapper transform klass.
xmlSecTransformId
xmlSecTransformKWAes256GetKlass (void
);
The AES-256 kew wrapper transform klass.
xmlSecTransformId
xmlSecTransformDes3CbcGetKlass (void
);
Triple DES CBC encryption transform klass.
xmlSecTransformId
xmlSecTransformKWDes3GetKlass (void
);
The Triple DES key wrapper transform klass.
xmlSecTransformId
xmlSecTransformDsaSha1GetKlass (void
);
The DSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecTransformDsaSha256GetKlass (void
);
The DSA-SHA256 signature transform klass.
xmlSecTransformId
xmlSecTransformEcdsaSha1GetKlass (void
);
The ECDSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecTransformEcdsaSha224GetKlass (void
);
The ECDSA-SHA224 signature transform klass.
xmlSecTransformId
xmlSecTransformEcdsaSha256GetKlass (void
);
The ECDSA-SHA256 signature transform klass.
xmlSecTransformId
xmlSecTransformEcdsaSha384GetKlass (void
);
The ECDSA-SHA384 signature transform klass.
xmlSecTransformId
xmlSecTransformEcdsaSha512GetKlass (void
);
The ECDSA-SHA512 signature transform klass.
xmlSecTransformId
xmlSecTransformGost2001GostR3411_94GetKlass
(void
);
The GOST2001-GOSTR3411_94 signature transform klass.
xmlSecTransformId
xmlSecTransformGostR3410_2012GostR3411_2012_256GetKlass
(void
);
The GOST R 34.10-2012 - GOST R 34.11-2012 256 bit signature transform klass.
xmlSecTransformId
xmlSecTransformGostR3410_2012GostR3411_2012_512GetKlass
(void
);
The GOST R 34.10-2012 - GOST R 34.11-2012 512 bit signature transform klass.
xmlSecTransformId
xmlSecTransformHmacMd5GetKlass (void
);
The HMAC-MD5 transform klass.
xmlSecTransformId
xmlSecTransformHmacRipemd160GetKlass (void
);
The HMAC-RIPEMD160 transform klass.
xmlSecTransformId
xmlSecTransformHmacSha1GetKlass (void
);
The HMAC-SHA1 transform klass.
xmlSecTransformId
xmlSecTransformHmacSha224GetKlass (void
);
The HMAC-SHA224 transform klass.
xmlSecTransformId
xmlSecTransformHmacSha256GetKlass (void
);
The HMAC-SHA256 transform klass.
xmlSecTransformId
xmlSecTransformHmacSha384GetKlass (void
);
The HMAC-SHA384 transform klass.
xmlSecTransformId
xmlSecTransformHmacSha512GetKlass (void
);
The HMAC-SHA512 transform klass.
xmlSecTransformId
xmlSecTransformMd5GetKlass (void
);
MD5 digest transform klass.
xmlSecTransformId
xmlSecTransformRipemd160GetKlass (void
);
RIPEMD-160 digest transform klass.
xmlSecTransformId
xmlSecTransformRsaMd5GetKlass (void
);
The RSA-MD5 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaRipemd160GetKlass (void
);
The RSA-RIPEMD160 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaSha1GetKlass (void
);
The RSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaSha224GetKlass (void
);
The RSA-SHA224 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaSha256GetKlass (void
);
The RSA-SHA256 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaSha384GetKlass (void
);
The RSA-SHA384 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaSha512GetKlass (void
);
The RSA-SHA512 signature transform klass.
xmlSecTransformId
xmlSecTransformRsaPkcs1GetKlass (void
);
The RSA-PKCS1 key transport transform klass.
xmlSecTransformId
xmlSecTransformRsaOaepGetKlass (void
);
The RSA-OAEP key transport transform klass.
xmlSecTransformId
xmlSecTransformGostR3411_94GetKlass (void
);
GOSTR3411_94 digest transform klass.
xmlSecTransformId
xmlSecTransformGostR3411_2012_256GetKlass
(void
);
GOST R 34.11-2012 256 bit digest transform klass.
xmlSecTransformId
xmlSecTransformGostR3411_2012_512GetKlass
(void
);
GOST R 34.11-2012 512 bit digest transform klass.
xmlSecTransformId
xmlSecTransformSha1GetKlass (void
);
SHA-1 digest transform klass.
xmlSecTransformId
xmlSecTransformSha224GetKlass (void
);
SHA224 digest transform klass.
xmlSecTransformId
xmlSecTransformSha256GetKlass (void
);
SHA256 digest transform klass.
xmlSecTransformId
xmlSecTransformSha384GetKlass (void
);
SHA384 digest transform klass.
xmlSecTransformId
xmlSecTransformSha512GetKlass (void
);
SHA512 digest transform klass.
int
xmlSecCryptoAppInit (const char *config
);
General crypto engine initialization. This function is used
by XMLSec command line utility and called before
xmlSecInit
function.
int
xmlSecCryptoAppShutdown (void
);
General crypto engine shutdown. This function is used
by XMLSec command line utility and called after
xmlSecShutdown
function.
int
xmlSecCryptoAppDefaultKeysMngrInit (xmlSecKeysMngrPtr mngr
);
Initializes mngr
with simple keys store xmlSecSimpleKeysStoreId
and a default crypto key data stores.
int xmlSecCryptoAppDefaultKeysMngrAdoptKey (xmlSecKeysMngrPtr mngr
,xmlSecKeyPtr key
);
Adds key
to the keys manager mngr
created with xmlSecCryptoAppDefaultKeysMngrInit
function.
int xmlSecCryptoAppDefaultKeysMngrLoad (xmlSecKeysMngrPtr mngr
,const char *uri
);
Loads XML keys file from uri
to the keys manager mngr
created
with xmlSecCryptoAppDefaultKeysMngrInit function.
int xmlSecCryptoAppDefaultKeysMngrSave (xmlSecKeysMngrPtr mngr
,const char *filename
,xmlSecKeyDataType type
);
Saves keys from mngr
to XML keys file.
int xmlSecCryptoAppKeysMngrCertLoad (xmlSecKeysMngrPtr mngr
,const char *filename
,xmlSecKeyDataFormat format
,xmlSecKeyDataType type
);
Reads cert from filename
and adds to the list of trusted or known
untrusted certs in store
.
int xmlSecCryptoAppKeysMngrCertLoadMemory (xmlSecKeysMngrPtr mngr
,const xmlSecByte *data
,xmlSecSize dataSize
,xmlSecKeyDataFormat format
,xmlSecKeyDataType type
);
Reads cert from binary buffer data
and adds to the list of trusted or known
untrusted certs in store
.
xmlSecKeyPtr xmlSecCryptoAppKeyLoad (const char *filename
,xmlSecKeyDataFormat format
,const char *pwd
,void *pwdCallback
,void *pwdCallbackCtx
);
Reads key from the a file.
xmlSecKeyPtr xmlSecCryptoAppKeyLoadMemory (const xmlSecByte *data
,xmlSecSize dataSize
,xmlSecKeyDataFormat format
,const char *pwd
,void *pwdCallback
,void *pwdCallbackCtx
);
Reads key from the memory buffer.
xmlSecKeyPtr xmlSecCryptoAppPkcs12Load (const char *filename
,const char *pwd
,void *pwdCallback
,void *pwdCallbackCtx
);
Reads key and all associated certificates from the PKCS12 file. For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass in format=xmlSecKeyDataFormatPkcs12.
xmlSecKeyPtr xmlSecCryptoAppPkcs12LoadMemory (const xmlSecByte *data
,xmlSecSize dataSize
,const char *pwd
,void *pwdCallback
,void *pwdCallbackCtx
);
Reads key and all associated certificates from the PKCS12 data in memory buffer. For uniformity, call xmlSecCryptoAppKeyLoadMemory instead of this function. Pass in format=xmlSecKeyDataFormatPkcs12.
int xmlSecCryptoAppKeyCertLoad (xmlSecKeyPtr key
,const char *filename
,xmlSecKeyDataFormat format
);
Reads the certificate from $filename
and adds it to key.
int xmlSecCryptoAppKeyCertLoadMemory (xmlSecKeyPtr key
,const xmlSecByte *data
,xmlSecSize dataSize
,xmlSecKeyDataFormat format
);
Reads the certificate from memory buffer and adds it to key.
#define xmlSecKeyDataGost2001Id xmlSecKeyDataGost2001GetKlass()
The GOST2001 key klass.
#define xmlSecKeyDataGostR3410_2012_256Id xmlSecKeyDataGostR3410_2012_256GetKlass()
The GOST R 34.10-2012 256 bit key klass.
#define xmlSecKeyDataGostR3410_2012_512Id xmlSecKeyDataGostR3410_2012_512GetKlass()
The GOST R 34.10-2012 512 bit key klass.
#define xmlSecKeyDataRawX509CertId xmlSecKeyDataRawX509CertGetKlass()
The raw X509 certificate klass.
#define xmlSecTransformAes128CbcId xmlSecTransformAes128CbcGetKlass()
The AES128 CBC cipher transform klass.
#define xmlSecTransformAes192CbcId xmlSecTransformAes192CbcGetKlass()
The AES192 CBC cipher transform klass.
#define xmlSecTransformAes256CbcId xmlSecTransformAes256CbcGetKlass()
The AES256 CBC cipher transform klass.
#define xmlSecTransformAes128GcmId xmlSecTransformAes128GcmGetKlass()
The AES128 GCM cipher transform klass.
#define xmlSecTransformAes192GcmId xmlSecTransformAes192GcmGetKlass()
The AES192 GCM cipher transform klass.
#define xmlSecTransformAes256GcmId xmlSecTransformAes256GcmGetKlass()
The AES256 GCM cipher transform klass.
#define xmlSecTransformKWAes128Id xmlSecTransformKWAes128GetKlass()
The AES 128 key wrap transform klass.
#define xmlSecTransformKWAes192Id xmlSecTransformKWAes192GetKlass()
The AES 192 key wrap transform klass.
#define xmlSecTransformKWAes256Id xmlSecTransformKWAes256GetKlass()
The AES 256 key wrap transform klass.
#define xmlSecTransformDes3CbcId xmlSecTransformDes3CbcGetKlass()
The Triple DES encryption transform klass.
#define xmlSecTransformKWDes3Id xmlSecTransformKWDes3GetKlass()
The DES3 CBC cipher transform klass.
#define xmlSecTransformDsaSha1Id xmlSecTransformDsaSha1GetKlass()
The DSA-SHA1 signature transform klass.
#define xmlSecTransformDsaSha256Id xmlSecTransformDsaSha256GetKlass()
The DSA-SHA256 signature transform klass.
#define xmlSecTransformEcdsaSha1Id xmlSecTransformEcdsaSha1GetKlass()
The ECDSA-SHA1 signature transform klass.
#define xmlSecTransformEcdsaSha224Id xmlSecTransformEcdsaSha224GetKlass()
The ECDSA-SHA224 signature transform klass.
#define xmlSecTransformEcdsaSha256Id xmlSecTransformEcdsaSha256GetKlass()
The ECDSA-SHA256 signature transform klass.
#define xmlSecTransformEcdsaSha384Id xmlSecTransformEcdsaSha384GetKlass()
The ECDS-SHA384 signature transform klass.
#define xmlSecTransformEcdsaSha512Id xmlSecTransformEcdsaSha512GetKlass()
The ECDSA-SHA512 signature transform klass.
#define xmlSecTransformGost2001GostR3411_94Id xmlSecTransformGost2001GostR3411_94GetKlass()
The GOST2001-GOSTR3411_94 signature transform klass.
#define xmlSecTransformGostR3410_2012GostR3411_2012_256Id xmlSecTransformGostR3410_2012GostR3411_2012_256GetKlass()
The GOST R 34.10-2012 - GOST R 34.11-2012 256 bit signature transform klass.
#define xmlSecTransformGostR3410_2012GostR3411_2012_512Id xmlSecTransformGostR3410_2012GostR3411_2012_512GetKlass()
The GOST R 34.10-2012 - GOST R 34.11-2012 512 bit signature transform klass.
#define xmlSecTransformHmacMd5Id xmlSecTransformHmacMd5GetKlass()
The HMAC with MD5 signature transform klass.
#define xmlSecTransformHmacRipemd160Id xmlSecTransformHmacRipemd160GetKlass()
The HMAC with RipeMD160 signature transform klass.
#define xmlSecTransformHmacSha1Id xmlSecTransformHmacSha1GetKlass()
The HMAC with SHA1 signature transform klass.
#define xmlSecTransformHmacSha224Id xmlSecTransformHmacSha224GetKlass()
The HMAC with SHA224 signature transform klass.
#define xmlSecTransformHmacSha256Id xmlSecTransformHmacSha256GetKlass()
The HMAC with SHA256 signature transform klass.
#define xmlSecTransformHmacSha384Id xmlSecTransformHmacSha384GetKlass()
The HMAC with SHA384 signature transform klass.
#define xmlSecTransformHmacSha512Id xmlSecTransformHmacSha512GetKlass()
The HMAC with SHA512 signature transform klass.
#define xmlSecTransformMd5Id xmlSecTransformMd5GetKlass()
The MD5 digest transform klass.
#define xmlSecTransformRipemd160Id xmlSecTransformRipemd160GetKlass()
The RIPEMD160 digest transform klass.
#define xmlSecTransformRsaMd5Id xmlSecTransformRsaMd5GetKlass()
The RSA-MD5 signature transform klass.
#define xmlSecTransformRsaRipemd160Id xmlSecTransformRsaRipemd160GetKlass()
The RSA-RIPEMD160 signature transform klass.
#define xmlSecTransformRsaSha1Id xmlSecTransformRsaSha1GetKlass()
The RSA-SHA1 signature transform klass.
#define xmlSecTransformRsaSha224Id xmlSecTransformRsaSha224GetKlass()
The RSA-SHA224 signature transform klass.
#define xmlSecTransformRsaSha256Id xmlSecTransformRsaSha256GetKlass()
The RSA-SHA256 signature transform klass.
#define xmlSecTransformRsaSha384Id xmlSecTransformRsaSha384GetKlass()
The RSA-SHA384 signature transform klass.
#define xmlSecTransformRsaSha512Id xmlSecTransformRsaSha512GetKlass()
The RSA-SHA512 signature transform klass.
#define xmlSecTransformRsaPkcs1Id xmlSecTransformRsaPkcs1GetKlass()
The RSA PKCS1 key transport transform klass.
#define xmlSecTransformRsaOaepId xmlSecTransformRsaOaepGetKlass()
The RSA PKCS1 key transport transform klass.
#define xmlSecTransformGostR3411_94Id xmlSecTransformGostR3411_94GetKlass()
The GOSTR3411_94 digest transform klass.
#define xmlSecTransformGostR3411_2012_256Id xmlSecTransformGostR3411_2012_256GetKlass()
The GOST R 34.11-2012 256 bit digest transform klass.
#define xmlSecTransformGostR3411_2012_512Id xmlSecTransformGostR3411_2012_512GetKlass()
The GOST R 34.11-2012 512 bit digest transform klass.
#define xmlSecTransformSha1Id xmlSecTransformSha1GetKlass()
The SHA1 digest transform klass.
#define xmlSecTransformSha224Id xmlSecTransformSha224GetKlass()
The SHA224 digest transform klass.
#define xmlSecTransformSha256Id xmlSecTransformSha256GetKlass()
The SHA256 digest transform klass.
#define xmlSecTransformSha384Id xmlSecTransformSha384GetKlass()
The SHA384 digest transform klass.