From d76b77b983c9c1a121a27ecb1696d09bdfdeb75f Mon Sep 17 00:00:00 2001
From: lsh123 Copyright � 2002-2024 Aleksey Sanin Copyright © 2002-2024 Aleksey Sanin The AES key data klass. The ConcatKDF key data klass. The DES key data klass. The DH key data klass. The DSA key data klass. The EC key data klass. The GOST2001 key data klass. The HMAC key data klass. The PBKDF2 key data klass. The RSA key data klass. The X509 key data klass. The raw X509 cert key data klass. The X509 certificates key data store klass. AES 128 CBC encryption transform klass. AES 192 CBC encryption transform klass. AES 256 CBC encryption transform klass. AES 128 GCM encryption transform klass. AES 192 GCM encryption transform klass. AES 256 GCM encryption transform klass. The AES-128 kew wrapper transform klass. The AES-192 kew wrapper transform klass. The AES-256 kew wrapper transform klass. ConcatKDF key derivaton transform klass. Triple DES CBC encryption transform klass. The Triple DES key wrapper transform klass. DH-ES key agreement transform klass. The DSA-SHA1 signature transform klass. The DSA-SHA2-256 signature transform klass. ECDH key agreement transform klass. The ECDSA-SHA1 signature transform klass. The ECDSA-SHA2-224 signature transform klass. The ECDSA-SHA2-256 signature transform klass. The ECDSA-SHA2-384 signature transform klass. The ECDSA-SHA2-512 signature transform klass. The ECDSA-SHA3-224 signature transform klass. The ECDSA-SHA3-256 signature transform klass. The ECDSA-SHA3-384 signature transform klass. The ECDSA-SHA3-512 signature transform klass. The ECDSA-RIPEMD160 signature transform klass. The HMAC-MD5 transform klass. The HMAC-RIPEMD160 transform klass. The HMAC-SHA1 transform klass. The HMAC-SHA224 transform klass. The HMAC-SHA256 transform klass. The HMAC-SHA384 transform klass. The HMAC-SHA512 transform klass. MD5 digest transform klass. PBKDF2 key derivaton transform klass. RIPEMD-160 digest transform klass. The RSA-MD5 signature transform klass. The RSA-RIPEMD160 signature transform klass. The RSA-SHA1 signature transform klass. The RSA-SHA2-224 signature transform klass. The RSA-SHA2-256 signature transform klass. The RSA-SHA2-384 signature transform klass. The RSA-SHA2-512 signature transform klass. The RSA-PSS-SHA1 signature transform klass. The RSA-PSS-SHA2-224 signature transform klass. The RSA-PSS-SHA2-256 signature transform klass. The RSA-PSS-SHA2-384 signature transform klass. The RSA-PSS-SHA2-512 signature transform klass. The RSA-PSS-SHA2-224 signature transform klass. The RSA-PSS-SHA2-256 signature transform klass. The RSA-PSS-SHA2-384 signature transform klass. The RSA-PSS-SHA2-512 signature transform klass. The RSA-PKCS1 key transport transform klass. The RSA-OAEP key transport transform klass (XMLEnc 1.0). The RSA-OAEP key transport transform klass (XMLEnc 1.1). GOSTR3411_94 digest transform klass. SHA-1 digest transform klass. SHA2-224 digest transform klass. SHA2-256 digest transform klass. SHA2-384 digest transform klass. SHA2-512 digest transform klass. SHA3-224 digest transform klass. SHA3-256 digest transform klass. SHA3-384 digest transform klass. SHA3-512 digest transform klass. General crypto engine shutdown. This function is used
@@ -2519,7 +2481,7 @@ Initializes mngr the pointer to keys manager. Adds mngr the pointer to keys manager. key the pointer to key. Verifies Adds mngr the pointer to keys manager. key the pointer to key. keyInfoCtx the key info context for verification. Loads XML keys file from mngr the pointer to keys manager. filename the destination filename. type the type of keys to save (public/private/symmetric). mngr the keys manager. filename the certificate file. format the certificate file format. type the flag that indicates is the certificate in mngr the keys manager. data the certificate binary data. dataSize the certificate binary data size. format the certificate data format. type the flag that indicates is the certificate trusted or not. mngr the keys manager. filename the CRL file. format the CRL file format. mngr the keys manager. data the CRL binary data. dataSize the CRL binary data size. format the CRL data format. filename the key filename. type the key type (public / private). format the key file format. pwd the key file password. pwdCallback the key password callback. pwdCallbackCtx the user context for password callback. data the binary key data. dataSize the size of binary key. format the key file format. pwd the key file password. pwdCallback the key password callback. pwdCallbackCtx the user context for password callback. filename the PKCS12 key filename. pwd the PKCS12 file password. pwdCallback the password callback. pwdCallbackCtx the user context for password callback. data the PKCS12 binary data. dataSize the PKCS12 binary data size. pwd the PKCS12 file password. pwdCallback the password callback. pwdCallbackCtx the user context for password callback. key the pointer to key. filename the certificate filename. format the certificate file format. key the pointer to key. data the certificate binary data. dataSize the certificate binary data size. format the certificate file format. Gets default password callback. ctx the pointer to xmlSecBase64Ctx structure, encode the encode/decode flag (1 - encode, 0 - decode) columns the max line length. Frees all the resources allocated by ctx the pointer to xmlSecBase64Ctx structure, ctx the pointer to xmlSecBase64Ctx structure in the input buffer inSize the input buffer size out the output buffer outSize the output buffer size outWritten the pointer to store the number of bytes written into the output ctx the pointer to xmlSecBase64Ctx structure out the output buffer outSize the output buffer size outWritten the pointer to store the number of bytes written into the output in the input buffer. inSize the input buffer size. columns the output max line length (if 0 then no line breaks
would be inserted) str the input buffer with base64 encoded string out the output buffer outSize the output buffer size outWritten the pointer to store the number of bytes written into the output. str the input/output buffer outWritten the pointer to store the number of bytes written into the output. Creates a new BN object. Caller is responsible for destroying it
@@ -305,7 +267,7 @@ size the initial allocated BN size. bn the pointer to BN. size the initial allocated BN size. Destroys bn the pointer to BN. Gets pointer to the binary bn the pointer to BN. bn the pointer to BN. data the pointer to new BN binary data. size the size of new BN data. Gets the size of binary data in bn the pointer to BN. Sets the value of bn the pointer to BN. bn the pointer to BN. str the string with BN. base the base for Writes bn the pointer to BN. base the base for returned string. bn the pointer to BN. str the string with BN. Writes bn the pointer to BN. bn the pointer to BN. str the string with BN. Writes bn the pointer to BN. bn the pointer to BN. multiplier the multiplier. bn the pointer to BN. divider the divider mod the pointer for modulus result. bn the pointer to BN. delta the delta. Reverses bytes order in bn the pointer to BN. bn the pointer to BN. data the data to compare BN to. dataSize the bn the pointer to BN. data the data to compare BN to. dataSize the bn the pointer to BN. cur the pointer to an XML node. format the BN format. reverse if set then reverse read buffer after reading. bn the pointer to BN. cur the pointer to an XML node. format the BN format. reverse the flag that indicates whether to reverse the buffer before writing. addLineBreaks the flag; it is equal to 1 then linebreaks will be added before and after new buffer content. data the pointer to BN blob. dataSize the size of BN blob. cur the pointer to an XML node. format the BN format. reverse the flag that indicates whether to reverse the buffer before writing. addLineBreaks if the flag is equal to 1 then
linebreaks will be added before and after
new buffer content. the base64 decoded binary blob. the hex number. the decimal number. defAllocMode the new default buffer allocation mode. defInitialSize the new default buffer minimal intial size. Allocates and initializes new memory buffer with given size.
-Caller is responsible for calling xmlSecBufferDestroy function
+Caller is responsible for calling xmlSecBufferDestroy function
to free the buffer. Destroys buffer object created with xmlSecBufferCreate function. Destroys buffer object created with xmlSecBufferCreate function. Initializes buffer object buf the pointer to buffer object. size the initial buffer size. Frees allocated resource for a buffer initialized with xmlSecBufferInitialize
+ Frees allocated resource for a buffer initialized with xmlSecBufferInitialize
function. Checks if the buf the pointer to buffer object. Gets pointer to buffer's data. buf the pointer to buffer object. data the data. size the data size. Gets the current buffer data size. buf the pointer to buffer object. buf the pointer to buffer object. size the new data size. Gets the maximum (allocated) buffer size. buf the pointer to buffer object. buf the pointer to buffer object. size the new maximum size. Empties the buffer. buf the pointer to buffer object. buf1 the pointer to the first buffer object. buf2 the pointer to the second buffer object. buf the pointer to buffer object. data the data. size the data size. buf the pointer to buffer object. data the data. size the data size. buf the pointer to buffer object. size the number of bytes to be removed. buf the pointer to buffer object. size the number of bytes to be removed. Reverses order of bytes in the buffer buf the pointer to buffer object. buf the pointer to buffer object. filename the filename. buf the pointer to buffer object. node the pointer to node. buf the pointer to buffer object. node the pointer to a node. columns the max line size for base64 encoded data. buf the pointer to buffer object. hexStr the hex string. Creates new LibXML output buffer to store data in the buf the pointer to buffer. the memory allocation mode that minimizes total
allocated memory size. the memory allocation mode that tries to minimize
the number of malloc calls. xmlSecByte * xmlSecByte * the pointer to buffer data. xmlSecSize xmlSecSize the current data size. xmlSecSize xmlSecSize the max data size (allocated buffer size). xmlSecAllocMode xmlSecAllocMode the buffer memory allocation mode. Initializes dynamic loading engine. This is an internal function
@@ -195,7 +157,7 @@ Shutdowns dynamic loading engine. This is an internal function
@@ -207,12 +169,12 @@ Loads the xmlsec-$crypto library. This function is NOT thread safe,
-application MUST NOT call xmlSecCryptoDLLoadLibrary, xmlSecCryptoDLGetLibraryFunctions,
-and xmlSecCryptoDLUnloadLibrary functions from multiple threads. Loads the xmlsec-$crypto library and gets global crypto functions/transforms/keys data/keys store
-table. This function is NOT thread safe, application MUST NOT call xmlSecCryptoDLLoadLibrary,
-xmlSecCryptoDLGetLibraryFunctions, and xmlSecCryptoDLUnloadLibrary functions from multiple threads. Unloads the xmlsec-$crypto library. All pointers to this library
functions tables became invalid. This function is NOT thread safe,
-application MUST NOT call xmlSecCryptoDLLoadLibrary, xmlSecCryptoDLGetLibraryFunctions,
-and xmlSecCryptoDLUnloadLibrary functions from multiple threads. Figure 12. XML Security Library Encryption Klasses. Figure 12. XML Security Library Encryption Klasses. file the error location file name (__FILE__ macro). line the error location line number (__LINE__ macro). func the error location function name (__func__ macro). errorObject the error specific error object errorSubject the error specific error subject. reason the error code. msg the additional error message. Initializes the errors reporting. It is called from xmlSecInit function.
+ Initializes the errors reporting. It is called from xmlSecInit function.
and applications must not call this function directly. Cleanups the errors reporting. It is called from xmlSecShutdown function.
+ Cleanups the errors reporting. It is called from xmlSecShutdown function.
and applications must not call this function directly. Sets the errors callback function to callback the new errors callback function. file the error location file name (__FILE__ macro). line the error location line number (__LINE__ macro). func the error location function name (__FUNCTION__ macro). errorObject the error specific error object errorSubject the error specific error subject. reason the error code. msg the additional error message. Gets the known error code at position pos the error position. Gets the known error message at position pos the error position. str the string. Reports an error to the default (xmlSecErrorsDefaultCallback) or
-application specific callback installed using xmlSecErrorsSetCallback
+ Reports an error to the default (xmlSecErrorsDefaultCallback) or
+application specific callback installed using xmlSecErrorsSetCallback
function. file the error location filename (__FILE__). line the error location line number (__LINE__). func the error location function (__FUNCTION__). errorObject the error specific error object (e.g. transform, key data, etc). errorSubject the error specific error subject (e.g. failed function name). reason the error code. msg the error message in printf format. ... the parameters for the p the expression. p the expression. ret the return value. The macro that specifies the location (file, line and function)
-for the
+
diff --git a/docs/api/src/xmlsec.sgml b/docs/api/src/xmlsec.sgml
index 97fd4f883..88e60425c 100644
--- a/docs/api/src/xmlsec.sgml
+++ b/docs/api/src/xmlsec.sgml
@@ -1,4 +1,4 @@
-
+
@@ -119,9 +119,9 @@ http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -2547,14 +2509,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2505,7 +2467,7 @@
+
app<
xmlSecKeyDataAesGetKlass ()
+xmlSecKeyDataAesGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataAesGetKlass (
void
);app<
xmlSecKeyDataConcatKdfGetKlass ()
+xmlSecKeyDataConcatKdfGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataConcatKdfGetKlass (
void
);app<
xmlSecKeyDataDesGetKlass ()
+xmlSecKeyDataDesGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataDesGetKlass (
void
);app<
xmlSecKeyDataDhGetKlass ()
+xmlSecKeyDataDhGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataDhGetKlass (
void
);app<
xmlSecKeyDataDsaGetKlass ()
+xmlSecKeyDataDsaGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataDsaGetKlass (
void
);app<
xmlSecKeyDataEcGetKlass ()
+xmlSecKeyDataEcGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataEcGetKlass (
void
);app<
xmlSecKeyDataGost2001GetKlass ()
+xmlSecKeyDataGost2001GetKlass ()
xmlSecKeyDataId
xmlSecKeyDataGost2001GetKlass (
void
);app<
xmlSecKeyDataGostR3410_2012_256GetKlass ()
+xmlSecKeyDataGostR3410_2012_256GetKlass ()
xmlSecKeyDataId
xmlSecKeyDataGostR3410_2012_256GetKlass
(
@@ -1455,7 +1417,7 @@ void
);app<
xmlSecKeyDataGostR3410_2012_512GetKlass ()
+xmlSecKeyDataGostR3410_2012_512GetKlass ()
xmlSecKeyDataId
xmlSecKeyDataGostR3410_2012_512GetKlass
(
@@ -1469,7 +1431,7 @@ void
);app<
xmlSecKeyDataHmacGetKlass ()
+xmlSecKeyDataHmacGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataHmacGetKlass (
void
);app<
xmlSecKeyDataPbkdf2GetKlass ()
+xmlSecKeyDataPbkdf2GetKlass ()
xmlSecKeyDataId
xmlSecKeyDataPbkdf2GetKlass (
void
);app<
xmlSecKeyDataRsaGetKlass ()
+xmlSecKeyDataRsaGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataRsaGetKlass (
void
);app<
xmlSecKeyDataX509GetKlass ()
+xmlSecKeyDataX509GetKlass ()
xmlSecKeyDataId
xmlSecKeyDataX509GetKlass (
void
);app<
xmlSecKeyDataRawX509CertGetKlass ()
+xmlSecKeyDataRawX509CertGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataRawX509CertGetKlass (
void
);app<
xmlSecKeyDataDEREncodedKeyValueGetKlass ()
+xmlSecKeyDataDEREncodedKeyValueGetKlass ()
xmlSecKeyDataId
xmlSecKeyDataDEREncodedKeyValueGetKlass
(
@@ -1548,7 +1510,7 @@ void
);app<
xmlSecX509StoreGetKlass ()
+xmlSecX509StoreGetKlass ()
xmlSecKeyDataStoreId
xmlSecX509StoreGetKlass (
void
);app<
xmlSecTransformAes128CbcGetKlass ()
+xmlSecTransformAes128CbcGetKlass ()
xmlSecTransformId
xmlSecTransformAes128CbcGetKlass (
void
);app<
xmlSecTransformAes192CbcGetKlass ()
+xmlSecTransformAes192CbcGetKlass ()
xmlSecTransformId
xmlSecTransformAes192CbcGetKlass (
void
);app<
xmlSecTransformAes256CbcGetKlass ()
+xmlSecTransformAes256CbcGetKlass ()
xmlSecTransformId
xmlSecTransformAes256CbcGetKlass (
void
);app<
xmlSecTransformAes128GcmGetKlass ()
+xmlSecTransformAes128GcmGetKlass ()
xmlSecTransformId
xmlSecTransformAes128GcmGetKlass (
void
);app<
xmlSecTransformAes192GcmGetKlass ()
+xmlSecTransformAes192GcmGetKlass ()
xmlSecTransformId
xmlSecTransformAes192GcmGetKlass (
void
);app<
xmlSecTransformAes256GcmGetKlass ()
+xmlSecTransformAes256GcmGetKlass ()
xmlSecTransformId
xmlSecTransformAes256GcmGetKlass (
void
);app<
xmlSecTransformKWAes128GetKlass ()
+xmlSecTransformKWAes128GetKlass ()
xmlSecTransformId
xmlSecTransformKWAes128GetKlass (
void
);app<
xmlSecTransformKWAes192GetKlass ()
+xmlSecTransformKWAes192GetKlass ()
xmlSecTransformId
xmlSecTransformKWAes192GetKlass (
void
);app<
xmlSecTransformKWAes256GetKlass ()
+xmlSecTransformKWAes256GetKlass ()
xmlSecTransformId
xmlSecTransformKWAes256GetKlass (
void
);app<
xmlSecTransformConcatKdfGetKlass ()
+xmlSecTransformConcatKdfGetKlass ()
xmlSecTransformId
xmlSecTransformConcatKdfGetKlass (
void
);app<
xmlSecTransformDes3CbcGetKlass ()
+xmlSecTransformDes3CbcGetKlass ()
xmlSecTransformId
xmlSecTransformDes3CbcGetKlass (
void
);app<
xmlSecTransformKWDes3GetKlass ()
+xmlSecTransformKWDes3GetKlass ()
xmlSecTransformId
xmlSecTransformKWDes3GetKlass (
void
);app<
xmlSecTransformDhEsGetKlass ()
+xmlSecTransformDhEsGetKlass ()
xmlSecTransformId
xmlSecTransformDhEsGetKlass (
void
);app<
xmlSecTransformDsaSha1GetKlass ()
+xmlSecTransformDsaSha1GetKlass ()
xmlSecTransformId
xmlSecTransformDsaSha1GetKlass (
void
);app<
xmlSecTransformDsaSha256GetKlass ()
+xmlSecTransformDsaSha256GetKlass ()
xmlSecTransformId
xmlSecTransformDsaSha256GetKlass (
void
);app<
xmlSecTransformEcdhGetKlass ()
+xmlSecTransformEcdhGetKlass ()
xmlSecTransformId
xmlSecTransformEcdhGetKlass (
void
);app<
xmlSecTransformEcdsaSha1GetKlass ()
+xmlSecTransformEcdsaSha1GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha1GetKlass (
void
);app<
xmlSecTransformEcdsaSha224GetKlass ()
+xmlSecTransformEcdsaSha224GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha224GetKlass (
void
);app<
xmlSecTransformEcdsaSha256GetKlass ()
+xmlSecTransformEcdsaSha256GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha256GetKlass (
void
);app<
xmlSecTransformEcdsaSha384GetKlass ()
+xmlSecTransformEcdsaSha384GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha384GetKlass (
void
);app<
xmlSecTransformEcdsaSha512GetKlass ()
+xmlSecTransformEcdsaSha512GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha512GetKlass (
void
);app<
xmlSecTransformEcdsaSha3_224GetKlass ()
+xmlSecTransformEcdsaSha3_224GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha3_224GetKlass (
void
);app<
xmlSecTransformEcdsaSha3_256GetKlass ()
+xmlSecTransformEcdsaSha3_256GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha3_256GetKlass (
void
);app<
xmlSecTransformEcdsaSha3_384GetKlass ()
+xmlSecTransformEcdsaSha3_384GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha3_384GetKlass (
void
);app<
xmlSecTransformEcdsaSha3_512GetKlass ()
+xmlSecTransformEcdsaSha3_512GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaSha3_512GetKlass (
void
);app<
xmlSecTransformEcdsaRipemd160GetKlass ()
+xmlSecTransformEcdsaRipemd160GetKlass ()
xmlSecTransformId
xmlSecTransformEcdsaRipemd160GetKlass (
void
);app<
xmlSecTransformGost2001GostR3411_94GetKlass ()
+xmlSecTransformGost2001GostR3411_94GetKlass ()
xmlSecTransformId
xmlSecTransformGost2001GostR3411_94GetKlass
(
@@ -1913,7 +1875,7 @@ void
);app<
xmlSecTransformGostR3410_2012GostR3411_2012_256GetKlass ()
+xmlSecTransformGostR3410_2012GostR3411_2012_256GetKlass ()
xmlSecTransformId
xmlSecTransformGostR3410_2012GostR3411_2012_256GetKlass
(
@@ -1927,7 +1889,7 @@ void
);app<
xmlSecTransformGostR3410_2012GostR3411_2012_512GetKlass ()
+xmlSecTransformGostR3410_2012GostR3411_2012_512GetKlass ()
xmlSecTransformId
xmlSecTransformGostR3410_2012GostR3411_2012_512GetKlass
(
@@ -1941,7 +1903,7 @@ void
);app<
xmlSecTransformHmacMd5GetKlass ()
+xmlSecTransformHmacMd5GetKlass ()
xmlSecTransformId
xmlSecTransformHmacMd5GetKlass (
void
);app<
xmlSecTransformHmacRipemd160GetKlass ()
+xmlSecTransformHmacRipemd160GetKlass ()
xmlSecTransformId
xmlSecTransformHmacRipemd160GetKlass (
void
);app<
xmlSecTransformHmacSha1GetKlass ()
+xmlSecTransformHmacSha1GetKlass ()
xmlSecTransformId
xmlSecTransformHmacSha1GetKlass (
void
);app<
xmlSecTransformHmacSha224GetKlass ()
+xmlSecTransformHmacSha224GetKlass ()
xmlSecTransformId
xmlSecTransformHmacSha224GetKlass (
void
);app<
xmlSecTransformHmacSha256GetKlass ()
+xmlSecTransformHmacSha256GetKlass ()
xmlSecTransformId
xmlSecTransformHmacSha256GetKlass (
void
);app<
xmlSecTransformHmacSha384GetKlass ()
+xmlSecTransformHmacSha384GetKlass ()
xmlSecTransformId
xmlSecTransformHmacSha384GetKlass (
void
);app<
xmlSecTransformHmacSha512GetKlass ()
+xmlSecTransformHmacSha512GetKlass ()
xmlSecTransformId
xmlSecTransformHmacSha512GetKlass (
void
);app<
xmlSecTransformMd5GetKlass ()
+xmlSecTransformMd5GetKlass ()
xmlSecTransformId
xmlSecTransformMd5GetKlass (
void
);app<
xmlSecTransformPbkdf2GetKlass ()
+xmlSecTransformPbkdf2GetKlass ()
xmlSecTransformId
xmlSecTransformPbkdf2GetKlass (
void
);app<
xmlSecTransformRipemd160GetKlass ()
+xmlSecTransformRipemd160GetKlass ()
xmlSecTransformId
xmlSecTransformRipemd160GetKlass (
void
);app<
xmlSecTransformRsaMd5GetKlass ()
+xmlSecTransformRsaMd5GetKlass ()
xmlSecTransformId
xmlSecTransformRsaMd5GetKlass (
void
);app<
xmlSecTransformRsaRipemd160GetKlass ()
+xmlSecTransformRsaRipemd160GetKlass ()
xmlSecTransformId
xmlSecTransformRsaRipemd160GetKlass (
void
);app<
xmlSecTransformRsaSha1GetKlass ()
+xmlSecTransformRsaSha1GetKlass ()
xmlSecTransformId
xmlSecTransformRsaSha1GetKlass (
void
);app<
xmlSecTransformRsaSha224GetKlass ()
+xmlSecTransformRsaSha224GetKlass ()
xmlSecTransformId
xmlSecTransformRsaSha224GetKlass (
void
);app<
xmlSecTransformRsaSha256GetKlass ()
+xmlSecTransformRsaSha256GetKlass ()
xmlSecTransformId
xmlSecTransformRsaSha256GetKlass (
void
);app<
xmlSecTransformRsaSha384GetKlass ()
+xmlSecTransformRsaSha384GetKlass ()
xmlSecTransformId
xmlSecTransformRsaSha384GetKlass (
void
);app<
xmlSecTransformRsaSha512GetKlass ()
+xmlSecTransformRsaSha512GetKlass ()
xmlSecTransformId
xmlSecTransformRsaSha512GetKlass (
void
);app<
xmlSecTransformRsaPssSha1GetKlass ()
+xmlSecTransformRsaPssSha1GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha1GetKlass (
void
);app<
xmlSecTransformRsaPssSha224GetKlass ()
+xmlSecTransformRsaPssSha224GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha224GetKlass (
void
);app<
xmlSecTransformRsaPssSha256GetKlass ()
+xmlSecTransformRsaPssSha256GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha256GetKlass (
void
);app<
xmlSecTransformRsaPssSha384GetKlass ()
+xmlSecTransformRsaPssSha384GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha384GetKlass (
void
);app<
xmlSecTransformRsaPssSha512GetKlass ()
+xmlSecTransformRsaPssSha512GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha512GetKlass (
void
);app<
xmlSecTransformRsaPssSha3_224GetKlass ()
+xmlSecTransformRsaPssSha3_224GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha3_224GetKlass (
void
);app<
xmlSecTransformRsaPssSha3_256GetKlass ()
+xmlSecTransformRsaPssSha3_256GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha3_256GetKlass (
void
);app<
xmlSecTransformRsaPssSha3_384GetKlass ()
+xmlSecTransformRsaPssSha3_384GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha3_384GetKlass (
void
);app<
xmlSecTransformRsaPssSha3_512GetKlass ()
+xmlSecTransformRsaPssSha3_512GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPssSha3_512GetKlass (
void
);app<
xmlSecTransformRsaPkcs1GetKlass ()
+xmlSecTransformRsaPkcs1GetKlass ()
xmlSecTransformId
xmlSecTransformRsaPkcs1GetKlass (
void
);app<
xmlSecTransformRsaOaepGetKlass ()
+xmlSecTransformRsaOaepGetKlass ()
xmlSecTransformId
xmlSecTransformRsaOaepGetKlass (
void
);app<
xmlSecTransformRsaOaepEnc11GetKlass ()
+xmlSecTransformRsaOaepEnc11GetKlass ()
xmlSecTransformId
xmlSecTransformRsaOaepEnc11GetKlass (
void
);app<
xmlSecTransformGostR3411_94GetKlass ()
+xmlSecTransformGostR3411_94GetKlass ()
xmlSecTransformId
xmlSecTransformGostR3411_94GetKlass (
void
);app<
xmlSecTransformGostR3411_2012_256GetKlass ()
+xmlSecTransformGostR3411_2012_256GetKlass ()
xmlSecTransformId
xmlSecTransformGostR3411_2012_256GetKlass
(
@@ -2345,7 +2307,7 @@ void
);app<
xmlSecTransformGostR3411_2012_512GetKlass ()
+xmlSecTransformGostR3411_2012_512GetKlass ()
xmlSecTransformId
xmlSecTransformGostR3411_2012_512GetKlass
(
@@ -2359,7 +2321,7 @@ void
);app<
xmlSecTransformSha1GetKlass ()
+xmlSecTransformSha1GetKlass ()
xmlSecTransformId
xmlSecTransformSha1GetKlass (
void
);app<
xmlSecTransformSha224GetKlass ()
+xmlSecTransformSha224GetKlass ()
xmlSecTransformId
xmlSecTransformSha224GetKlass (
void
);app<
xmlSecTransformSha256GetKlass ()
+xmlSecTransformSha256GetKlass ()
xmlSecTransformId
xmlSecTransformSha256GetKlass (
void
);app<
xmlSecTransformSha384GetKlass ()
+xmlSecTransformSha384GetKlass ()
xmlSecTransformId
xmlSecTransformSha384GetKlass (
void
);app<
xmlSecTransformSha512GetKlass ()
+xmlSecTransformSha512GetKlass ()
xmlSecTransformId
xmlSecTransformSha512GetKlass (
void
);app<
xmlSecTransformSha3_224GetKlass ()
+xmlSecTransformSha3_224GetKlass ()
xmlSecTransformId
xmlSecTransformSha3_224GetKlass (
void
);app<
xmlSecTransformSha3_256GetKlass ()
+xmlSecTransformSha3_256GetKlass ()
xmlSecTransformId
xmlSecTransformSha3_256GetKlass (
void
);app<
xmlSecTransformSha3_384GetKlass ()
+xmlSecTransformSha3_384GetKlass ()
xmlSecTransformId
xmlSecTransformSha3_384GetKlass (
void
);app<
xmlSecTransformSha3_512GetKlass ()
+xmlSecTransformSha3_512GetKlass ()
xmlSecTransformId
xmlSecTransformSha3_512GetKlass (
void
);app<
app<
xmlSecCryptoAppShutdown ()
+xmlSecCryptoAppShutdown ()
int
xmlSecCryptoAppShutdown (
void
);app<
xmlSecCryptoAppDefaultKeysMngrInit ()
+xmlSecCryptoAppDefaultKeysMngrInit ()
int
xmlSecCryptoAppDefaultKeysMngrInit (
xmlSecKeysMngrPtr mngr
);mngr
@@ -2536,7 +2498,7 @@ app<
-
+
app<
xmlSecCryptoAppDefaultKeysMngrAdoptKey ()
+xmlSecCryptoAppDefaultKeysMngrAdoptKey ()
int
xmlSecCryptoAppDefaultKeysMngrAdoptKey
(
xmlSecKeysMngrPtr mngr
,
xmlSecKeyPtr key
);key
to the keys manager mngr
- created with xmlSecCryptoAppDefaultKeysMngrInit
+ created with xmlSecCryptoAppDefaultKeysMngrInit
function.Parameters
@@ -2568,12 +2530,12 @@ app<
-
+
-
+
app<
xmlSecCryptoAppDefaultKeysMngrVerifyKey ()
+xmlSecCryptoAppDefaultKeysMngrVerifyKey ()
int
xmlSecCryptoAppDefaultKeysMngrVerifyKey
(
xmlSecKeysMngrPtr mngr
,
@@ -2593,7 +2555,7 @@ app<
xmlSecKeyInfoCtxPtr keyInfoCtx
);key
with the keys manager mngr
- created with xmlSecCryptoAppDefaultKeysMngrInit
+ created with xmlSecCryptoAppDefaultKeysMngrInit
function:key
to the keys manager mngr
- created with xmlSecCryptoAppDefaultKeysMngrInit
+ created with xmlSecCryptoAppDefaultKeysMngrInit
function.Parameters
@@ -2615,17 +2577,17 @@ app<
-
+
-
+
-
+
app<
xmlSecCryptoAppDefaultKeysMngrLoad ()
+xmlSecCryptoAppDefaultKeysMngrLoad ()
int
xmlSecCryptoAppDefaultKeysMngrLoad (
xmlSecKeysMngrPtr mngr
,
const char *uri
);uri
to the keys manager mngr
created
-with xmlSecCryptoAppDefaultKeysMngrInit function.
xmlSecCryptoAppDefaultKeysMngrSave ()
+xmlSecCryptoAppDefaultKeysMngrSave ()
int
xmlSecCryptoAppDefaultKeysMngrSave (
xmlSecKeysMngrPtr mngr
,
const char *filename
,
@@ -2693,17 +2655,17 @@ app<
-
+
-
+
-
+
app<
xmlSecCryptoAppKeysMngrCertLoad ()
+xmlSecCryptoAppKeysMngrCertLoad ()
int
xmlSecCryptoAppKeysMngrCertLoad (
xmlSecKeysMngrPtr mngr
,
const char *filename
,
@@ -2737,23 +2699,23 @@ app<
-
+
-
+
-
+
-filename
trusted or not.
+
app<
xmlSecCryptoAppKeysMngrCertLoadMemory ()
+xmlSecCryptoAppKeysMngrCertLoadMemory ()
int
xmlSecCryptoAppKeysMngrCertLoadMemory (
xmlSecKeysMngrPtr mngr
,
const xmlSecByte *data
,
@@ -2788,27 +2750,27 @@ app<
-
+
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppKeysMngrCrlLoad ()
+xmlSecCryptoAppKeysMngrCrlLoad ()
int
xmlSecCryptoAppKeysMngrCrlLoad (
xmlSecKeysMngrPtr mngr
,
const char *filename
,
@@ -2840,17 +2802,17 @@ app<
-
+
-
+
-
+
app<
xmlSecCryptoAppKeysMngrCrlLoadMemory ()
+xmlSecCryptoAppKeysMngrCrlLoadMemory ()
int
xmlSecCryptoAppKeysMngrCrlLoadMemory (
xmlSecKeysMngrPtr mngr
,
const xmlSecByte *data
,
@@ -2883,22 +2845,22 @@ app<
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppKeyLoadEx ()
+xmlSecCryptoAppKeyLoadEx ()
xmlSecKeyPtr
xmlSecCryptoAppKeyLoadEx (
const char *filename
,
xmlSecKeyDataType type
,
@@ -2931,32 +2893,32 @@ app<
-
+
-
+
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppKeyLoadMemory ()
+xmlSecCryptoAppKeyLoadMemory ()
xmlSecKeyPtr
xmlSecCryptoAppKeyLoadMemory (
const xmlSecByte *data
,
xmlSecSize dataSize
,
@@ -2989,32 +2951,32 @@ app<
-
+
-
+
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppPkcs12Load ()
+xmlSecCryptoAppPkcs12Load ()
xmlSecKeyPtr
xmlSecCryptoAppPkcs12Load (
const char *filename
,
const char *pwd
,
@@ -3047,22 +3009,22 @@ app<
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppPkcs12LoadMemory ()
+xmlSecCryptoAppPkcs12LoadMemory ()
xmlSecKeyPtr
xmlSecCryptoAppPkcs12LoadMemory (
const xmlSecByte *data
,
xmlSecSize dataSize
,
@@ -3096,27 +3058,27 @@ app<
-
+
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppKeyCertLoad ()
+xmlSecCryptoAppKeyCertLoad ()
int
xmlSecCryptoAppKeyCertLoad (
xmlSecKeyPtr key
,
const char *filename
,
@@ -3147,17 +3109,17 @@ app<
-
+
-
+
-
+
app<
xmlSecCryptoAppKeyCertLoadMemory ()
+xmlSecCryptoAppKeyCertLoadMemory ()
int
xmlSecCryptoAppKeyCertLoadMemory (
xmlSecKeyPtr key
,
const xmlSecByte *data
,
@@ -3188,22 +3150,22 @@ app<
-
+
-
+
-
+
-
+
app<
xmlSecCryptoAppGetDefaultPwdCallback ()
-void *
+
xmlSecCryptoAppGetDefaultPwdCallback ()
+void *
xmlSecCryptoAppGetDefaultPwdCallback (
void
);
xmlSecBase64CtxInitialize ()
+xmlSecBase64CtxInitialize ()
int
xmlSecBase64CtxInitialize (
xmlSecBase64CtxPtr ctx
,
int encode
,
@@ -300,17 +262,17 @@ base64
-
+
-
+
-
+
base64
xmlSecBase64CtxFinalize ()
+xmlSecBase64CtxFinalize ()
void
xmlSecBase64CtxFinalize (
xmlSecBase64CtxPtr ctx
);ctx
@@ -338,14 +300,14 @@ base64
-
+
xmlSecBase64CtxUpdate_ex ()
+xmlSecBase64CtxUpdate_ex ()
int
xmlSecBase64CtxUpdate_ex (
xmlSecBase64CtxPtr ctx
,
const xmlSecByte *in
,
@@ -366,32 +328,32 @@ base64
-
+
-
+
-
+
-
+
-
+
-
+
base64
xmlSecBase64CtxFinal_ex ()
+xmlSecBase64CtxFinal_ex ()
int
xmlSecBase64CtxFinal_ex (
xmlSecBase64CtxPtr ctx
,
xmlSecByte *out
,
@@ -423,22 +385,22 @@ base64
-
+
-
+
-
+
-
+
base64
xmlSecBase64Encode ()
-xmlChar *
+
xmlSecBase64Encode ()
+xmlChar *
xmlSecBase64Encode (
@@ -470,18 +432,18 @@ const xmlSecByte *in
,
xmlSecSize inSize
,
int columns
);base64
-
+
-
+
-
+
base64
xmlSecBase64Decode_ex ()
+xmlSecBase64Decode_ex ()
int
xmlSecBase64Decode_ex (
const xmlChar *str
,
xmlSecByte *out
,
@@ -514,22 +476,22 @@ base64
-
+
-
+
-
+
-
+
base64
xmlSecBase64DecodeInPlace ()
+xmlSecBase64DecodeInPlace ()
int
xmlSecBase64DecodeInPlace (
@@ -560,12 +522,12 @@ xmlChar *str
,
xmlSecSize *outWritten
);base64
-
+
-
+
base64
-
-
+
diff --git a/docs/api/xmlsec-bn.html b/docs/api/xmlsec-bn.html
index 85ca71ede..dd8073af4 100644
--- a/docs/api/xmlsec-bn.html
+++ b/docs/api/xmlsec-bn.html
@@ -1,3 +1,4 @@
+
@@ -10,49 +11,10 @@
-
@@ -376,7 +338,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -316,7 +278,7 @@
-Top
@@ -86,7 +48,7 @@ bnxmlSecBnPtr
-xmlSecBnCreate ()
+xmlSecBnCreate ()
@@ -94,7 +56,7 @@
bnvoid
-xmlSecBnDestroy ()
+xmlSecBnDestroy ()
@@ -102,7 +64,7 @@
bnint
-xmlSecBnInitialize ()
+xmlSecBnInitialize ()
@@ -110,15 +72,15 @@
bnvoid
-xmlSecBnFinalize ()
+xmlSecBnFinalize ()
-xmlSecByte *
+xmlSecByte *
-xmlSecBnGetData ()
+xmlSecBnGetData ()
@@ -126,7 +88,7 @@
bnint
-xmlSecBnSetData ()
+xmlSecBnSetData ()
@@ -134,7 +96,7 @@
bnxmlSecSize
-xmlSecBnGetSize ()
+xmlSecBnGetSize ()
@@ -142,7 +104,7 @@
bnvoid
-xmlSecBnZero ()
+xmlSecBnZero ()
@@ -150,15 +112,15 @@
bnint
-xmlSecBnFromString ()
+xmlSecBnFromString ()
-xmlChar *
+xmlChar *
-xmlSecBnToString ()
+xmlSecBnToString ()
@@ -166,15 +128,15 @@
bnint
-xmlSecBnFromHexString ()
+xmlSecBnFromHexString ()
-xmlChar *
+xmlChar *
-xmlSecBnToHexString ()
+xmlSecBnToHexString ()
@@ -182,15 +144,15 @@
bnint
-xmlSecBnFromDecString ()
+xmlSecBnFromDecString ()
-xmlChar *
+xmlChar *
-xmlSecBnToDecString ()
+xmlSecBnToDecString ()
@@ -198,7 +160,7 @@
bnint
-xmlSecBnMul ()
+xmlSecBnMul ()
@@ -206,7 +168,7 @@
bnint
-xmlSecBnDiv ()
+xmlSecBnDiv ()
@@ -214,7 +176,7 @@
bnint
-xmlSecBnAdd ()
+xmlSecBnAdd ()
@@ -222,7 +184,7 @@
bnint
-xmlSecBnReverse ()
+xmlSecBnReverse ()
@@ -230,7 +192,7 @@
bnint
-xmlSecBnCompare ()
+xmlSecBnCompare ()
@@ -238,7 +200,7 @@
bnint
-xmlSecBnCompareReverse ()
+xmlSecBnCompareReverse ()
@@ -246,7 +208,7 @@
bnint
-xmlSecBnGetNodeValue ()
+xmlSecBnGetNodeValue ()
@@ -254,7 +216,7 @@
bnint
-xmlSecBnSetNodeValue ()
+xmlSecBnSetNodeValue ()
@@ -262,7 +224,7 @@
@@ -288,7 +250,7 @@ bnint
-xmlSecBnBlobSetNodeValue ()
+xmlSecBnBlobSetNodeValue ()
bn
Functions
xmlSecBnCreate ()
+xmlSecBnCreate ()
xmlSecBnPtr
xmlSecBnCreate (
xmlSecSize size
);bn
-
+
bn
xmlSecBnInitialize ()
+xmlSecBnInitialize ()
int
xmlSecBnInitialize (
@@ -359,12 +321,12 @@ xmlSecBnPtr bn
,
xmlSecSize size
);bn
-
+
-
+
bn
xmlSecBnFinalize ()
+xmlSecBnFinalize ()
void
xmlSecBnFinalize (
xmlSecBnPtr bn
);bn
@@ -393,15 +355,15 @@ bn
-
+
xmlSecBnGetData ()
-xmlSecByte *
+
xmlSecBnGetData ()
+xmlSecByte *
xmlSecBnGetData (
xmlSecBnPtr bn
);bn
representation.bn
-
+
bn
xmlSecBnSetData ()
+xmlSecBnSetData ()
int
xmlSecBnSetData (
xmlSecBnPtr bn
,
const xmlSecByte *data
,
@@ -447,17 +409,17 @@ bn
-
+
-
+
-
+
bn
xmlSecBnGetSize ()
+xmlSecBnGetSize ()
xmlSecSize
xmlSecBnGetSize (
xmlSecBnPtr bn
);bn
@@ -485,7 +447,7 @@ bn
-
+
bn
xmlSecBnZero ()
+xmlSecBnZero ()
void
xmlSecBnZero (
xmlSecBnPtr bn
);bn
@@ -512,14 +474,14 @@ bn
-
+
xmlSecBnFromString ()
+xmlSecBnFromString ()
int
xmlSecBnFromString (
xmlSecBnPtr bn
,
const xmlChar *str
,
@@ -540,18 +502,18 @@ bn
-
+
-
+
-str
.
+
bn
xmlSecBnToString ()
-xmlChar *
+
xmlSecBnToString ()
+xmlChar *
xmlSecBnToString (
xmlSecBnPtr bn
,
xmlSecSize base
);bn
@@ -584,12 +546,12 @@ bn
-
+
-
+
bn
xmlSecBnFromHexString ()
+xmlSecBnFromHexString ()
int
xmlSecBnFromHexString (
@@ -620,12 +582,12 @@ xmlSecBnPtr bn
,
const xmlChar *str
);bn
-
+
-
+
bn
xmlSecBnToHexString ()
-xmlChar *
+
xmlSecBnToHexString ()
+xmlChar *
xmlSecBnToHexString (
xmlSecBnPtr bn
);bn
to hex string. Caller is responsible for
@@ -655,7 +617,7 @@ bn
-
+
bn
xmlSecBnFromDecString ()
+xmlSecBnFromDecString ()
int
xmlSecBnFromDecString (
@@ -685,12 +647,12 @@ xmlSecBnPtr bn
,
const xmlChar *str
);bn
-
+
-
+
bn
xmlSecBnToDecString ()
-xmlChar *
+
xmlSecBnToDecString ()
+xmlChar *
xmlSecBnToDecString (
xmlSecBnPtr bn
);bn
to decimal string. Caller is responsible for
@@ -720,7 +682,7 @@ bn
-
+
bn
xmlSecBnMul ()
+xmlSecBnMul ()
int
xmlSecBnMul (
@@ -750,12 +712,12 @@ xmlSecBnPtr bn
,
int multiplier
);bn
-
+
-
+
bn
xmlSecBnDiv ()
+xmlSecBnDiv ()
int
xmlSecBnDiv (
xmlSecBnPtr bn
,
int divider
,
@@ -788,17 +750,17 @@ bn
-
+
-
+
-
+
bn
xmlSecBnAdd ()
+xmlSecBnAdd ()
int
xmlSecBnAdd (
@@ -829,12 +791,12 @@ xmlSecBnPtr bn
,
int delta
);bn
-
+
-
+
bn
xmlSecBnReverse ()
+xmlSecBnReverse ()
int
xmlSecBnReverse (
xmlSecBnPtr bn
);bn
@@ -862,7 +824,7 @@ bn
-
+
bn
xmlSecBnCompare ()
+xmlSecBnCompare ()
int
xmlSecBnCompare (
xmlSecBnPtr bn
,
const xmlSecByte *data
,
@@ -893,18 +855,18 @@ bn
-
+
-
+
-data
size.
+
bn
xmlSecBnCompareReverse ()
+xmlSecBnCompareReverse ()
int
xmlSecBnCompareReverse (
xmlSecBnPtr bn
,
const xmlSecByte *data
,
@@ -939,18 +901,18 @@ bn
-
+
-
+
-data
size.
+
bn
xmlSecBnGetNodeValue ()
+xmlSecBnGetNodeValue ()
int
xmlSecBnGetNodeValue (
xmlSecBnPtr bn
,
xmlNodePtr cur
,
@@ -986,22 +948,22 @@ bn
-
+
-
+
-
+
-
+
bn
xmlSecBnSetNodeValue ()
+xmlSecBnSetNodeValue ()
int
xmlSecBnSetNodeValue (
xmlSecBnPtr bn
,
xmlNodePtr cur
,
@@ -1034,27 +996,27 @@ bn
-
+
-
+
-
+
-
+
-
+
bn
xmlSecBnBlobSetNodeValue ()
+xmlSecBnBlobSetNodeValue ()
int
xmlSecBnBlobSetNodeValue (
const xmlSecByte *data
,
xmlSecSize dataSize
,
@@ -1088,34 +1050,34 @@ bn
-
+
-
+
-
+
-
+
-
+
-
+
bn
-
+
-
+
@@ -1163,6 +1125,5 @@
-
+
bn
-
-
+
diff --git a/docs/api/xmlsec-buffer.html b/docs/api/xmlsec-buffer.html
index 89fa17ad8..db6d3826f 100644
--- a/docs/api/xmlsec-buffer.html
+++ b/docs/api/xmlsec-buffer.html
@@ -1,3 +1,4 @@
+
@@ -10,49 +11,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -360,10 +322,10 @@
+
@@ -332,11 +294,11 @@
-Top
@@ -86,7 +48,7 @@ buffer
void
-xmlSecBufferSetDefaultAllocMode ()
+xmlSecBufferSetDefaultAllocMode ()
@@ -94,7 +56,7 @@
buffer
xmlSecBufferPtr
-xmlSecBufferCreate ()
+xmlSecBufferCreate ()
@@ -102,7 +64,7 @@
buffer
void
-xmlSecBufferDestroy ()
+xmlSecBufferDestroy ()
@@ -110,7 +72,7 @@
buffer
int
-xmlSecBufferInitialize ()
+xmlSecBufferInitialize ()
@@ -118,7 +80,7 @@
buffer
void
-xmlSecBufferFinalize ()
+xmlSecBufferFinalize ()
@@ -126,15 +88,15 @@
buffer
int
-xmlSecBufferIsEmpty ()
+xmlSecBufferIsEmpty ()
-xmlSecByte *
+xmlSecByte *
-xmlSecBufferGetData ()
+xmlSecBufferGetData ()
@@ -142,7 +104,7 @@
buffer
int
-xmlSecBufferSetData ()
+xmlSecBufferSetData ()
@@ -150,7 +112,7 @@
buffer
xmlSecSize
-xmlSecBufferGetSize ()
+xmlSecBufferGetSize ()
@@ -158,7 +120,7 @@
buffer
int
-xmlSecBufferSetSize ()
+xmlSecBufferSetSize ()
@@ -166,7 +128,7 @@
buffer
xmlSecSize
-xmlSecBufferGetMaxSize ()
+xmlSecBufferGetMaxSize ()
@@ -174,7 +136,7 @@
buffer
int
-xmlSecBufferSetMaxSize ()
+xmlSecBufferSetMaxSize ()
@@ -182,7 +144,7 @@
buffer
void
-xmlSecBufferEmpty ()
+xmlSecBufferEmpty ()
@@ -190,7 +152,7 @@
buffer
void
-xmlSecBufferSwap ()
+xmlSecBufferSwap ()
@@ -198,7 +160,7 @@
buffer
int
-xmlSecBufferAppend ()
+xmlSecBufferAppend ()
@@ -206,7 +168,7 @@
buffer
int
-xmlSecBufferPrepend ()
+xmlSecBufferPrepend ()
@@ -214,7 +176,7 @@
buffer
int
-xmlSecBufferRemoveHead ()
+xmlSecBufferRemoveHead ()
@@ -222,7 +184,7 @@
buffer
int
-xmlSecBufferRemoveTail ()
+xmlSecBufferRemoveTail ()
@@ -230,7 +192,7 @@
buffer
int
-xmlSecBufferReverse ()
+xmlSecBufferReverse ()
@@ -238,7 +200,7 @@
buffer
int
-xmlSecBufferReadFile ()
+xmlSecBufferReadFile ()
@@ -246,7 +208,7 @@
buffer
int
-xmlSecBufferBase64NodeContentRead ()
+xmlSecBufferBase64NodeContentRead ()
@@ -254,7 +216,7 @@
buffer
int
-xmlSecBufferBase64NodeContentWrite ()
+xmlSecBufferBase64NodeContentWrite ()
@@ -262,7 +224,7 @@
buffer
int
-xmlSecBufferHexRead ()
+xmlSecBufferHexRead ()
@@ -270,7 +232,7 @@
@@ -302,7 +264,7 @@ buffer
xmlOutputBufferPtr
-xmlSecBufferCreateOutputBuffer ()
+xmlSecBufferCreateOutputBuffer ()
buffer
Functions
xmlSecBufferSetDefaultAllocMode ()
+xmlSecBufferSetDefaultAllocMode ()
void
xmlSecBufferSetDefaultAllocMode (
@@ -319,12 +281,12 @@ xmlSecAllocMode defAllocMode
,
xmlSecSize defInitialSize
);buffer
-
+
-
+
buffer
xmlSecBufferCreate ()
+xmlSecBufferCreate ()
xmlSecBufferPtr
xmlSecBufferCreate (
xmlSecSize size
);buffer
xmlSecBufferDestroy ()
+xmlSecBufferDestroy ()
void
xmlSecBufferDestroy (
-xmlSecBufferPtr buf
);
xmlSecBufferInitialize ()
+xmlSecBufferInitialize ()
int
xmlSecBufferInitialize (
xmlSecBufferPtr buf
,
xmlSecSize size
);buf
. Caller is responsible for calling
-xmlSecBufferFinalize function to free allocated resources.Parameters
@@ -401,12 +363,12 @@
buffer
-
+
-
+
buffer
xmlSecBufferFinalize ()
+xmlSecBufferFinalize ()
void
xmlSecBufferFinalize (
-xmlSecBufferPtr buf
);
xmlSecBufferIsEmpty ()
+xmlSecBufferIsEmpty ()
int
xmlSecBufferIsEmpty (
xmlSecBufferPtr buf
);buf
@@ -460,7 +422,7 @@ buffer
-
+
buffer
xmlSecBufferGetData ()
-xmlSecByte *
+
xmlSecBufferGetData ()
+xmlSecByte *
xmlSecBufferGetData (
xmlSecBufferPtr buf
);buffer
xmlSecBufferSetData ()
+xmlSecBufferSetData ()
int
xmlSecBufferSetData (
xmlSecBufferPtr buf
,
const xmlSecByte *data
,
@@ -516,17 +478,17 @@ buffer
-
+
-
+
-
+
buffer
xmlSecBufferGetSize ()
+xmlSecBufferGetSize ()
xmlSecSize
xmlSecBufferGetSize (
xmlSecBufferPtr buf
);buffer
-
+
buffer
xmlSecBufferSetSize ()
+xmlSecBufferSetSize ()
int
xmlSecBufferSetSize (
@@ -583,12 +545,12 @@ xmlSecBufferPtr buf
,
xmlSecSize size
);buffer
-
+
-
+
buffer
xmlSecBufferGetMaxSize ()
+xmlSecBufferGetMaxSize ()
xmlSecSize
xmlSecBufferGetMaxSize (
xmlSecBufferPtr buf
);buffer
-
+
buffer
xmlSecBufferSetMaxSize ()
+xmlSecBufferSetMaxSize ()
int
xmlSecBufferSetMaxSize (
@@ -645,12 +607,12 @@ xmlSecBufferPtr buf
,
xmlSecSize size
);buffer
-
+
-
+
buffer
xmlSecBufferEmpty ()
+xmlSecBufferEmpty ()
void
xmlSecBufferEmpty (
xmlSecBufferPtr buf
);buffer
-
+
xmlSecBufferSwap ()
+xmlSecBufferSwap ()
void
xmlSecBufferSwap (
@@ -701,12 +663,12 @@ xmlSecBufferPtr buf1
,
xmlSecBufferPtr buf2
);buffer
-
+
-
+
buffer
xmlSecBufferAppend ()
+xmlSecBufferAppend ()
int
xmlSecBufferAppend (
xmlSecBufferPtr buf
,
const xmlSecByte *data
,
@@ -733,17 +695,17 @@ buffer
-
+
-
+
-
+
buffer
xmlSecBufferPrepend ()
+xmlSecBufferPrepend ()
int
xmlSecBufferPrepend (
xmlSecBufferPtr buf
,
const xmlSecByte *data
,
@@ -774,17 +736,17 @@ buffer
-
+
-
+
-
+
buffer
xmlSecBufferRemoveHead ()
+xmlSecBufferRemoveHead ()
int
xmlSecBufferRemoveHead (
@@ -814,12 +776,12 @@ xmlSecBufferPtr buf
,
xmlSecSize size
);buffer
-
+
-
+
buffer
xmlSecBufferRemoveTail ()
+xmlSecBufferRemoveTail ()
int
xmlSecBufferRemoveTail (
@@ -849,12 +811,12 @@ xmlSecBufferPtr buf
,
xmlSecSize size
);buffer
-
+
-
+
buffer
xmlSecBufferReverse ()
+xmlSecBufferReverse ()
int
xmlSecBufferReverse (
xmlSecBufferPtr buf
);buf
@@ -882,7 +844,7 @@ buffer
-
+
buffer
xmlSecBufferReadFile ()
+xmlSecBufferReadFile ()
int
xmlSecBufferReadFile (
@@ -911,12 +873,12 @@ xmlSecBufferPtr buf
,
const char *filename
);buffer
-
+
-
+
buffer
xmlSecBufferBase64NodeContentRead ()
+xmlSecBufferBase64NodeContentRead ()
int
xmlSecBufferBase64NodeContentRead (
@@ -947,12 +909,12 @@ xmlSecBufferPtr buf
,
xmlNodePtr node
);buffer
-
+
-
+
buffer
xmlSecBufferBase64NodeContentWrite ()
+xmlSecBufferBase64NodeContentWrite ()
int
xmlSecBufferBase64NodeContentWrite (
xmlSecBufferPtr buf
,
xmlNodePtr node
,
@@ -983,17 +945,17 @@ buffer
-
+
-
+
-
+
buffer
xmlSecBufferHexRead ()
+xmlSecBufferHexRead ()
int
xmlSecBufferHexRead (
@@ -1024,12 +986,12 @@ xmlSecBufferPtr buf
,
const xmlChar *hexStr
);buffer
-
+
-
+
buffer
xmlSecBufferCreateOutputBuffer ()
+xmlSecBufferCreateOutputBuffer ()
xmlOutputBufferPtr
xmlSecBufferCreateOutputBuffer (
xmlSecBufferPtr buf
);buf
@@ -1059,7 +1021,7 @@ buffer
-
+
buffer
-
+
@@ -1123,24 +1085,24 @@
-
+
buffer
-
+data
;data
;
-
+
-
+size
;size
;
-
+
-
+maxSize
;maxSize
;
-
+
-
@@ -1150,6 +1112,5 @@
+allocMode
;allocMode
;
-
+
buffer
-
-
+
diff --git a/docs/api/xmlsec-custom-keys-manager.html b/docs/api/xmlsec-custom-keys-manager.html
index 64e726856..d50aa62da 100644
--- a/docs/api/xmlsec-custom-keys-manager.html
+++ b/docs/api/xmlsec-custom-keys-manager.html
@@ -1,3 +1,4 @@
+
@@ -10,46 +11,7 @@
-
@@ -796,12 +758,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-decrypt-with-keys-mngr.html b/docs/api/xmlsec-decrypt-with-keys-mngr.html
index f1da76fb5..2cde83420 100644
--- a/docs/api/xmlsec-decrypt-with-keys-mngr.html
+++ b/docs/api/xmlsec-decrypt-with-keys-mngr.html
@@ -1,3 +1,4 @@
+
@@ -10,46 +11,7 @@
-
+
-
@@ -234,7 +196,7 @@
assert(enc_file);
/* load template */
- doc = xmlParseFile(enc_file);
+ doc = xmlReadFile(enc_file, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NONET);
if ((doc == NULL) || (xmlDocGetRootElement(doc) == NULL)){
fprintf(stderr, "Error: unable to parse file \"%s\"\n", enc_file);
goto done;
@@ -441,6 +403,5 @@
-
@@ -772,7 +734,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-decrypt-with-signle-key.html b/docs/api/xmlsec-decrypt-with-signle-key.html
index ebe22feea..4020a0c30 100644
--- a/docs/api/xmlsec-decrypt-with-signle-key.html
+++ b/docs/api/xmlsec-decrypt-with-signle-key.html
@@ -1,3 +1,4 @@
+
@@ -10,46 +11,7 @@
-
+
-
@@ -301,7 +263,7 @@
assert(enc_file);
/* load template */
- doc = xmlParseFile(enc_file);
+ doc = xmlReadFile(enc_file, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NONET);
if ((doc == NULL) || (xmlDocGetRootElement(doc) == NULL)){
fprintf(stderr, "Error: unable to parse file \"%s\"\n", enc_file);
goto done;
@@ -363,6 +325,5 @@
-
+
diff --git a/docs/api/xmlsec-encrypt-dynamic-template.html b/docs/api/xmlsec-encrypt-dynamic-template.html
index 0c9ac4a86..86ffa4704 100644
--- a/docs/api/xmlsec-encrypt-dynamic-template.html
+++ b/docs/api/xmlsec-encrypt-dynamic-template.html
@@ -1,3 +1,4 @@
+
@@ -10,46 +11,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-dl.html b/docs/api/xmlsec-dl.html
index d17626466..f8e2cbb08 100644
--- a/docs/api/xmlsec-dl.html
+++ b/docs/api/xmlsec-dl.html
@@ -1,3 +1,4 @@
+
@@ -10,49 +11,10 @@
-
+
-
@@ -218,7 +180,7 @@
assert(key_file);
/* load template */
- doc = xmlParseFile(enc_file);
+ doc = xmlReadFile(enc_file, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NONET);
if ((doc == NULL) || (xmlDocGetRootElement(doc) == NULL)){
fprintf(stderr, "Error: unable to parse file \"%s\"\n", enc_file);
goto done;
@@ -293,6 +255,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -319,7 +281,7 @@
+
@@ -183,7 +145,7 @@
-Top
@@ -86,7 +48,7 @@ dlint
-xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms ()
+xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms ()
@@ -94,7 +56,7 @@
dlint
-xmlSecCryptoDLInit ()
+xmlSecCryptoDLInit ()
@@ -102,7 +64,7 @@
dlint
-xmlSecCryptoDLShutdown ()
+xmlSecCryptoDLShutdown ()
@@ -110,7 +72,7 @@
dlint
-xmlSecCryptoDLLoadLibrary ()
+xmlSecCryptoDLLoadLibrary ()
@@ -118,7 +80,7 @@
dlxmlSecCryptoDLFunctionsPtr
-xmlSecCryptoDLGetLibraryFunctions ()
+xmlSecCryptoDLGetLibraryFunctions ()
@@ -126,7 +88,7 @@
dlint
-xmlSecCryptoDLUnloadLibrary ()
+xmlSecCryptoDLUnloadLibrary ()
@@ -134,7 +96,7 @@
dlint
-xmlSecCryptoDLSetFunctions ()
+xmlSecCryptoDLSetFunctions ()
@@ -142,7 +104,7 @@
@@ -155,7 +117,7 @@ dlxmlSecCryptoDLFunctionsPtr
-xmlSecCryptoDLGetFunctions ()
+xmlSecCryptoDLGetFunctions ()
dl
Functions
dl
xmlSecCryptoDLInit ()
+xmlSecCryptoDLInit ()
int
xmlSecCryptoDLInit (
void
);dl
xmlSecCryptoDLShutdown ()
+xmlSecCryptoDLShutdown ()
int
xmlSecCryptoDLShutdown (
void
);dl
xmlSecCryptoDLLoadLibrary ()
+xmlSecCryptoDLLoadLibrary ()
int
xmlSecCryptoDLLoadLibrary (
const xmlChar *crypto
);dl
xmlSecCryptoDLGetLibraryFunctions ()
+xmlSecCryptoDLGetLibraryFunctions ()
xmlSecCryptoDLFunctionsPtr
xmlSecCryptoDLGetLibraryFunctions (
const xmlChar *crypto
);dl
xmlSecCryptoDLUnloadLibrary ()
+xmlSecCryptoDLUnloadLibrary ()
int
xmlSecCryptoDLUnloadLibrary (
const xmlChar *crypto
);dl
dl
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-encrypt-template-file.html b/docs/api/xmlsec-encrypt-template-file.html
index 9c20a329e..ad3cd1898 100644
--- a/docs/api/xmlsec-encrypt-template-file.html
+++ b/docs/api/xmlsec-encrypt-template-file.html
@@ -1,3 +1,4 @@
+
@@ -10,46 +11,7 @@
-
+
-
@@ -223,7 +185,7 @@
assert(key_file);
/* load template */
- doc = xmlParseFile(xml_file);
+ doc = xmlReadFile(xml_file, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NONET);
if ((doc == NULL) || (xmlDocGetRootElement(doc) == NULL)){
fprintf(stderr, "Error: unable to parse file \"%s\"\n", xml_file);
goto done;
@@ -315,8 +277,8 @@
encrypt2-doc.xml
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-XML Security Library example: Original XML doc file before encryption (encrypt2 example).
+<!--
+XML Security Library example: Original XML doc file before encryption (encrypt2 example).
-->
<Envelope xmlns="urn:envelope">
<Data>
@@ -330,8 +292,8 @@
encrypt2-res.xml
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-XML Security Library example: Encrypted XML file (encrypt2 example).
+<!--
+XML Security Library example: Encrypted XML file (encrypt2 example).
-->
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
@@ -348,6 +310,5 @@
@@ -681,14 +643,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-encrypt-with-session-key.html b/docs/api/xmlsec-encrypt-with-session-key.html
index 680763737..cf39b5c03 100644
--- a/docs/api/xmlsec-encrypt-with-session-key.html
+++ b/docs/api/xmlsec-encrypt-with-session-key.html
@@ -1,3 +1,4 @@
+
@@ -10,46 +11,7 @@
-
+
-
@@ -225,7 +187,7 @@
assert(data);
/* load template */
- doc = xmlParseFile(tmpl_file);
+ doc = xmlReadFile(tmpl_file, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NONET);
if ((doc == NULL) || (xmlDocGetRootElement(doc) == NULL)){
fprintf(stderr, "Error: unable to parse file \"%s\"\n", tmpl_file);
goto done;
@@ -290,14 +252,14 @@
encrypt1-tmpl.xml
<?xml version="1.0"?>
-<!--
-XML Security Library example: Simple encryption template file for encrypt1 example.
+<!--
+XML Security Library example: Simple encryption template file for encrypt1 example.
-->
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<KeyName/>
- </KeyInfo>
+ </KeyInfo>
<CipherData>
<CipherValue></CipherValue>
</CipherData>
@@ -309,14 +271,14 @@
encrypt1-res.xml
<?xml version="1.0"?>
-<!--
+<!--
XML Security Library example: Encrypted binary data (encrypt1 example).
-->
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<KeyName>deskey.bin</KeyName>
- </KeyInfo>
+ </KeyInfo>
<CipherData>
<CipherValue>t6JVBMihIgRyiK8AS8AX5NcXTfkdXPTK</CipherValue>
</CipherData>
@@ -326,6 +288,5 @@
@@ -637,8 +599,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-encryption-klasses.html b/docs/api/xmlsec-encryption-klasses.html
index ca41a5628..56d2dbc76 100644
--- a/docs/api/xmlsec-encryption-klasses.html
+++ b/docs/api/xmlsec-encryption-klasses.html
@@ -1,55 +1,17 @@
+
+
-
@@ -302,7 +264,7 @@
assert(key_name);
/* load template */
- doc = xmlParseFile(xml_file);
+ doc = xmlReadFile(xml_file, NULL, XML_PARSE_PEDANTIC | XML_PARSE_NONET);
if ((doc == NULL) || (xmlDocGetRootElement(doc) == NULL)){
fprintf(stderr, "Error: unable to parse file \"%s\"\n", xml_file);
goto done;
@@ -410,8 +372,8 @@
encrypt3-doc.xml
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-XML Security Library example: Original XML doc file before encryption (encrypt3 example).
+<!--
+XML Security Library example: Original XML doc file before encryption (encrypt3 example).
-->
<Envelope xmlns="urn:envelope">
<Data>
@@ -425,8 +387,8 @@
encrypt3-res.xml
<?xml version="1.0" encoding="UTF-8"?>
-<!--
-XML Security Library example: Original XML doc file before encryption (encrypt3 example).
+<!--
+XML Security Library example: Original XML doc file before encryption (encrypt3 example).
-->
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
@@ -452,6 +414,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/docs/api/xmlsec-errors.html b/docs/api/xmlsec-errors.html
index 5b9057bc7..a7fe9a3d0 100644
--- a/docs/api/xmlsec-errors.html
+++ b/docs/api/xmlsec-errors.html
@@ -1,3 +1,4 @@
+
@@ -10,49 +11,10 @@
-
+
-
@@ -61,13 +23,12 @@
-
@@ -584,7 +546,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -483,25 +445,25 @@
-Top
@@ -86,7 +48,7 @@ errors
void
-(*xmlSecErrorsCallback) ()
+(*xmlSecErrorsCallback) ()
@@ -94,7 +56,7 @@
errors
void
-xmlSecErrorsInit ()
+xmlSecErrorsInit ()
@@ -102,7 +64,7 @@
errors
void
-xmlSecErrorsShutdown ()
+xmlSecErrorsShutdown ()
@@ -110,7 +72,7 @@
errors
void
-xmlSecErrorsSetCallback ()
+xmlSecErrorsSetCallback ()
@@ -118,7 +80,7 @@
errors
void
-xmlSecErrorsDefaultCallback ()
+xmlSecErrorsDefaultCallback ()
@@ -126,7 +88,7 @@
errors
void
-xmlSecErrorsDefaultCallbackEnableOutput ()
+xmlSecErrorsDefaultCallbackEnableOutput ()
@@ -134,14 +96,14 @@
errors
int
-xmlSecErrorsGetCode ()
+xmlSecErrorsGetCode ()
-
const char *
+ const char *
-xmlSecErrorsGetMsg ()
+xmlSecErrorsGetMsg ()
@@ -155,7 +117,7 @@
errors
void
-xmlSecError ()
+xmlSecError ()
@@ -423,7 +385,7 @@ errors
Functions
xmlSecErrorsCallback ()
+xmlSecErrorsCallback ()
void
(*xmlSecErrorsCallback) (
const char *file
,
int line
,
@@ -445,37 +407,37 @@ errors
-
+
-
+
-
+
-
+
-
+
-
+
-
+
errors
xmlSecErrorsInit ()
+xmlSecErrorsInit ()
void
xmlSecErrorsInit (
-void
);
xmlSecErrorsShutdown ()
+xmlSecErrorsShutdown ()
void
xmlSecErrorsShutdown (
-void
);
xmlSecErrorsSetCallback ()
+xmlSecErrorsSetCallback ()
void
-xmlSecErrorsSetCallback (
+xmlSecErrorsSetCallback (xmlSecErrorsCallback callback
);xmlSecErrorsCallback callback
);
callback
that will be called
every time an error occurs.errors
-
+
xmlSecErrorsDefaultCallback ()
+xmlSecErrorsDefaultCallback ()
void
xmlSecErrorsDefaultCallback (
const char *file
,
int line
,
@@ -546,37 +508,37 @@ errors
-
+
-
+
-
+
-
+
-
+
-
+
-
+
errors
xmlSecErrorsGetCode ()
+xmlSecErrorsGetCode ()
int
xmlSecErrorsGetCode (
xmlSecSize pos
);pos
@@ -624,7 +586,7 @@ errors
-
+
errors
xmlSecErrorsGetMsg ()
-const char *
+
xmlSecErrorsGetMsg ()
+const char *
xmlSecErrorsGetMsg (
xmlSecSize pos
);pos
.errors
-
+
errors
-
+
xmlSecError ()
+xmlSecError ()
void
xmlSecError (
-const char *file
,
int line
,
@@ -698,8 +660,8 @@ errors
int reason
,
const char *msg
,
...
);Parameters
@@ -713,43 +675,43 @@ errors
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-msg
.
+
errors
-
+
errors
-
+
@@ -1210,7 +1172,7 @@
-
+
errors
#define XMLSEC_ERRORS_HERE __FILE__,__LINE__,__XMLSEC_FUNCTION__
xmlSecError()
function.xmlSecError()
function.
-
-
|
-
app<
xmlSecGCryptAppKeysMngrCrlLoad ()+xmlSecGCryptAppKeysMngrCrlLoad ()int xmlSecGCryptAppKeysMngrCrlLoad ( |
int xmlSecGCryptAppKeysMngrCertLoadMemory (xmlSecKeysMngrPtr mngr
,const xmlSecByte *data
, @@ -584,27 +546,27 @@app<
mngr
- the keys manager.
+ data
- the certificate binary data.
+ dataSize
- the certificate binary data size.
+ format
- the certificate file format.
+ type
- the flag that indicates is the certificate trusted or not.
+
xmlSecKeyPtr xmlSecGCryptAppKeyLoadEx (const char *filename
,xmlSecKeyDataType type
, @@ -637,32 +599,32 @@app<
filename
- the key filename.
+ type
- the expected key type.
+ format
- the key file format.
+ pwd
- the key file password.
+ pwdCallback
- the key password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
xmlSecKeyPtr xmlSecGCryptAppKeyLoadMemory (const xmlSecByte *data
,xmlSecSize dataSize
, @@ -695,32 +657,32 @@app<
data
- the binary key data.
+ dataSize
- the size of binary key.
+ format
- the key file format.
+ pwd
- the key file password.
+ pwdCallback
- the key password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
xmlSecKeyPtr xmlSecGCryptAppPkcs12Load (const char *filename
,const char *pwd
, @@ -755,22 +717,22 @@app<
filename
- the PKCS12 key filename.
+ pwd
- the PKCS12 file password.
+ pwdCallback
- the password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
xmlSecKeyPtr xmlSecGCryptAppPkcs12LoadMemory (const xmlSecByte *data
,xmlSecSize dataSize
, @@ -805,27 +767,27 @@app<
data
- the PKCS12 binary data.
+ dataSize
- the PKCS12 binary data size.
+ pwd
- the PKCS12 file password.
+ pwdCallback
- the password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
int xmlSecGCryptAppKeyCertLoad (xmlSecKeyPtr key
,const char *filename
, @@ -857,17 +819,17 @@app<
key
- the pointer to key.
+ filename
- the certificate filename.
+ format
- the certificate file format.
+
int xmlSecGCryptAppKeyCertLoadMemory (xmlSecKeyPtr key
,const xmlSecByte *data
, @@ -899,22 +861,22 @@app<
key
- the pointer to key.
+ data
- the certificate binary data.
+ dataSize
- the certificate binary data size.
+ format
- the certificate file format.
+
void * +xmlSecGCryptAppGetDefaultPwdCallback ()
+void * xmlSecGCryptAppGetDefaultPwdCallback (void
);Gets default password callback.
- - + diff --git a/docs/api/xmlsec-gcrypt-crypto.html b/docs/api/xmlsec-gcrypt-crypto.html index 18946ef5a..4990418ee 100644 --- a/docs/api/xmlsec-gcrypt-crypto.html +++ b/docs/api/xmlsec-gcrypt-crypto.html @@ -1,3 +1,4 @@ + @@ -10,49 +11,10 @@ -
-
-
|
-
c
xmlSecGCryptKeyDataAesGetKlass ()+xmlSecGCryptKeyDataAesGetKlass ()xmlSecKeyDataId
xmlSecGCryptKeyDataAesGetKlass (
The AES key data klass. @@ -1004,7 +966,7 @@cxmlSecGCryptKeyDataAesSet ()+xmlSecGCryptKeyDataAesSet ()int xmlSecGCryptKeyDataAesSet ( |
xmlSecTransformId
xmlSecGCryptTransformAes128CbcGetKlass
(void
);
@@ -1056,7 +1018,7 @@ xmlSecTransformId
xmlSecGCryptTransformAes192CbcGetKlass
(void
);
@@ -1068,7 +1030,7 @@ xmlSecTransformId
xmlSecGCryptTransformAes256CbcGetKlass
(void
);
@@ -1080,7 +1042,7 @@ xmlSecTransformId
xmlSecGCryptTransformKWAes128GetKlass (void
);
The AES-128 kew wrapper transform klass.
@@ -1091,7 +1053,7 @@xmlSecTransformId
xmlSecGCryptTransformKWAes192GetKlass (void
);
The AES-192 kew wrapper transform klass.
@@ -1102,7 +1064,7 @@xmlSecTransformId
xmlSecGCryptTransformKWAes256GetKlass (void
);
The AES-256 kew wrapper transform klass.
@@ -1113,7 +1075,7 @@xmlSecKeyDataId
xmlSecGCryptKeyDataDesGetKlass (void
);
The DES key data klass.
@@ -1124,7 +1086,7 @@int xmlSecGCryptKeyDataDesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -1142,17 +1104,17 @@c
data
- the pointer to DES key data.
+ buf
- the pointer to key value.
+ bufSize
- the key value size (in bytes).
+
xmlSecTransformId
xmlSecGCryptTransformDes3CbcGetKlass (void
);
Triple DES CBC encryption transform klass.
@@ -1175,7 +1137,7 @@xmlSecTransformId
xmlSecGCryptTransformKWDes3GetKlass (void
);
The Triple DES key wrapper transform klass.
@@ -1186,7 +1148,7 @@xmlSecKeyDataId
xmlSecGCryptKeyDataDsaGetKlass (void
);
The DSA key data klass.
@@ -1197,7 +1159,7 @@int xmlSecGCryptKeyDataDsaAdoptKey (@@ -1214,12 +1176,12 @@xmlSecKeyDataPtr data
,gcry_sexp_t dsa_key
);
data
the pointer to DSA key data.
dsa_key
the pointer to GCrypt DSA key.
int xmlSecGCryptKeyDataDsaAdoptKeyPair (xmlSecKeyDataPtr data
,gcry_sexp_t pub_key
, @@ -1249,17 +1211,17 @@c
data
- the pointer to DSA key data.
+ pub_key
- the pointer to GCrypt DSA pub key.
+ priv_key
- the pointer to GCrypt DSA priv key.
+
gcry_sexp_t
xmlSecGCryptKeyDataDsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GCrypt DSA public key from DSA key data.
@@ -1286,7 +1248,7 @@data
the pointer to DSA key data.
gcry_sexp_t
xmlSecGCryptKeyDataDsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GCrypt DSA private key from DSA key data.
@@ -1312,7 +1274,7 @@data
the pointer to DSA key data.
xmlSecTransformId
xmlSecGCryptTransformDsaSha1GetKlass (void
);
The DSA-SHA1 signature transform klass.
@@ -1334,7 +1296,7 @@xmlSecKeyDataId
xmlSecGCryptkeyDataEcGetKlass (void
);
The GCrypt EC key data klass.
@@ -1345,7 +1307,7 @@int xmlSecGCryptKeyDataEcAdoptKey (@@ -1362,12 +1324,12 @@xmlSecKeyDataPtr data
,gcry_sexp_t ec_key
);
data
the pointer to EC key data.
ec_key
the pointer to GCrypt EC key.
int xmlSecGCryptKeyDataEcAdoptKeyPair (xmlSecKeyDataPtr data
,gcry_sexp_t pub_key
, @@ -1397,17 +1359,17 @@c
data
- the pointer to EC key data.
+ pub_key
- the pointer to GCrypt EC pub key.
+ priv_key
- the pointer to GCrypt EC priv key.
+
gcry_sexp_t
xmlSecGCryptKeyDataEcGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GCrypt EC public key from EC key data.
@@ -1434,7 +1396,7 @@data
the pointer to EC key data.
gcry_sexp_t
xmlSecGCryptKeyDataEcGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GCrypt EC private key from EC key data.
@@ -1460,7 +1422,7 @@data
the pointer to EC key data.
xmlSecTransformId
xmlSecGCryptTransformEcdsaSha1GetKlass
(void
);
@@ -1483,7 +1445,7 @@ xmlSecTransformId
xmlSecGCryptTransformEcdsaSha256GetKlass
(void
);
@@ -1495,7 +1457,7 @@ xmlSecTransformId
xmlSecGCryptTransformEcdsaSha384GetKlass
(void
);
@@ -1507,7 +1469,7 @@ xmlSecTransformId
xmlSecGCryptTransformEcdsaSha512GetKlass
(void
);
@@ -1519,7 +1481,7 @@ xmlSecTransformId
xmlSecGCryptTransformEcdsaSha3_256GetKlass
(void
);
@@ -1531,7 +1493,7 @@ xmlSecTransformId
xmlSecGCryptTransformEcdsaSha3_384GetKlass
(void
);
@@ -1543,7 +1505,7 @@ xmlSecTransformId
xmlSecGCryptTransformEcdsaSha3_512GetKlass
(void
);
@@ -1555,7 +1517,7 @@ xmlSecKeyDataId
xmlSecGCryptKeyDataHmacGetKlass (void
);
The HMAC key data klass.
@@ -1566,7 +1528,7 @@int xmlSecGCryptKeyDataHmacSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -1584,17 +1546,17 @@c
data
- the pointer to HMAC key data.
+ buf
- the pointer to key value.
+ bufSize
- the key value size (in bytes).
+
xmlSecTransformId
xmlSecGCryptTransformHmacMd5GetKlass (void
);
The HMAC-MD5 transform klass.
@@ -1617,7 +1579,7 @@xmlSecTransformId
xmlSecGCryptTransformHmacRipemd160GetKlass
(void
);
@@ -1629,7 +1591,7 @@ xmlSecTransformId
xmlSecGCryptTransformHmacSha1GetKlass (void
);
The HMAC-SHA1 transform klass.
@@ -1640,7 +1602,7 @@xmlSecTransformId
xmlSecGCryptTransformHmacSha256GetKlass
(void
);
@@ -1652,7 +1614,7 @@ xmlSecTransformId
xmlSecGCryptTransformHmacSha384GetKlass
(void
);
@@ -1664,7 +1626,7 @@ xmlSecTransformId
xmlSecGCryptTransformHmacSha512GetKlass
(void
);
@@ -1676,7 +1638,7 @@ xmlSecKeyDataId
xmlSecGCryptKeyDataRsaGetKlass (void
);
The GCrypt RSA key data klass.
@@ -1687,7 +1649,7 @@int xmlSecGCryptKeyDataRsaAdoptKey (@@ -1704,12 +1666,12 @@xmlSecKeyDataPtr data
,gcry_sexp_t rsa_key
);
data
the pointer to RSA key data.
rsa_key
the pointer to GCrypt RSA key.
int xmlSecGCryptKeyDataRsaAdoptKeyPair (xmlSecKeyDataPtr data
,gcry_sexp_t pub_key
, @@ -1739,17 +1701,17 @@c
data
- the pointer to RSA key data.
+ pub_key
- the pointer to GCrypt RSA pub key.
+ priv_key
- the pointer to GCrypt RSA priv key.
+
gcry_sexp_t
xmlSecGCryptKeyDataRsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GCrypt RSA public key from RSA key data.
@@ -1776,7 +1738,7 @@data
the pointer to RSA key data.
gcry_sexp_t
xmlSecGCryptKeyDataRsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GCrypt RSA private key from RSA key data.
@@ -1802,7 +1764,7 @@data
the pointer to RSA key data.
xmlSecTransformId
xmlSecGCryptTransformRsaMd5GetKlass (void
);
The RSA-MD5 signature transform klass.
@@ -1824,7 +1786,7 @@xmlSecTransformId
xmlSecGCryptTransformRsaRipemd160GetKlass
(void
);
@@ -1836,7 +1798,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaSha1GetKlass (void
);
The RSA-SHA1 signature transform klass.
@@ -1847,7 +1809,7 @@xmlSecTransformId
xmlSecGCryptTransformRsaSha256GetKlass
(void
);
@@ -1859,7 +1821,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaSha384GetKlass
(void
);
@@ -1871,7 +1833,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaSha512GetKlass
(void
);
@@ -1883,7 +1845,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha1GetKlass
(void
);
@@ -1895,7 +1857,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha256GetKlass
(void
);
@@ -1907,7 +1869,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha384GetKlass
(void
);
@@ -1919,7 +1881,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha512GetKlass
(void
);
@@ -1931,7 +1893,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha3_256GetKlass
(void
);
@@ -1943,7 +1905,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha3_384GetKlass
(void
);
@@ -1955,7 +1917,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPssSha3_512GetKlass
(void
);
@@ -1967,7 +1929,7 @@ xmlSecTransformId
xmlSecGCryptTransformRsaPkcs1GetKlass (void
);
The RSA-PKCS1 key transport transform klass.
@@ -1978,7 +1940,7 @@xmlSecTransformId
xmlSecGCryptTransformRsaOaepGetKlass (void
);
The RSA-OAEP key transport transform klass (XMLEnc 1.0).
@@ -1989,7 +1951,7 @@xmlSecTransformId
xmlSecGCryptTransformRsaOaepEnc11GetKlass
(void
);
@@ -2001,7 +1963,7 @@ xmlSecTransformId
xmlSecGCryptTransformSha1GetKlass (void
);
SHA-1 digest transform klass.
@@ -2012,7 +1974,7 @@xmlSecTransformId
xmlSecGCryptTransformSha256GetKlass (void
);
SHA2-256 digest transform klass.
@@ -2023,7 +1985,7 @@xmlSecTransformId
xmlSecGCryptTransformSha384GetKlass (void
);
SHA2-384 digest transform klass.
@@ -2034,7 +1996,7 @@xmlSecTransformId
xmlSecGCryptTransformSha512GetKlass (void
);
SHA2-512 digest transform klass.
@@ -2045,7 +2007,7 @@xmlSecTransformId
xmlSecGCryptTransformSha3_256GetKlass (void
);
SHA3-256 digest transform klass.
@@ -2056,7 +2018,7 @@xmlSecTransformId
xmlSecGCryptTransformSha3_384GetKlass (void
);
SHA3-384 digest transform klass.
@@ -2067,7 +2029,7 @@xmlSecTransformId
xmlSecGCryptTransformSha3_512GetKlass (void
);
SHA3-512 digest transform klass.
@@ -2078,7 +2040,7 @@xmlSecTransformId
xmlSecGCryptTransformMd5GetKlass (void
);
MD5 digest transform klass.
@@ -2089,7 +2051,7 @@xmlSecTransformId
xmlSecGCryptTransformRipemd160GetKlass
(void
);
@@ -2424,6 +2386,5 @@
-
-
|
-
app<
xmlSecGnuTLSAppDefaultKeysMngrVerifyKey ()+xmlSecGnuTLSAppDefaultKeysMngrVerifyKey ()int xmlSecGnuTLSAppDefaultKeysMngrVerifyKey ( Verifies Adds |
int xmlSecGnuTLSAppDefaultKeysMngrLoad (xmlSecKeysMngrPtr mngr
,const char *uri
);
Loads XML keys file from uri
to the keys manager mngr
created
-with xmlSecGnuTLSAppDefaultKeysMngrInit function.
int xmlSecGnuTLSAppDefaultKeysMngrSave (xmlSecKeysMngrPtr mngr
,const char *filename
, @@ -452,17 +414,17 @@app<
mngr
- the pointer to keys manager.
+ filename
- the destination filename.
+ type
- the type of keys to save (public/private/symmetric).
+
int xmlSecGnuTLSAppKeysMngrCertLoad (xmlSecKeysMngrPtr mngr
,const char *filename
, @@ -496,23 +458,23 @@app<
mngr
- the keys manager.
+ filename
- the certificate file.
+ format
- the certificate file format.
+ type
- the flag that indicates is the certificate in
filename
trusted or not.+
int xmlSecGnuTLSAppKeysMngrCertLoadMemory (xmlSecKeysMngrPtr mngr
,const xmlSecByte *data
, @@ -547,27 +509,27 @@app<
mngr
- the keys manager.
+ data
- the certificate binary data.
+ dataSize
- the certificate binary data size.
+ format
- the certificate file format.
+ type
- the flag that indicates is the certificate trusted or not.
+
int xmlSecGnuTLSAppKeysMngrCrlLoad (xmlSecKeysMngrPtr mngr
,const char *filename
, @@ -599,17 +561,17 @@app<
mngr
- the keys manager.
+ filename
- the CRL file.
+ format
- the CRL file format.
+
int xmlSecGnuTLSAppKeysMngrCrlLoadMemory (xmlSecKeysMngrPtr mngr
,const xmlSecByte *data
, @@ -643,22 +605,22 @@app<
mngr
- the keys manager.
+ data
- the CRL binary data.
+ dataSize
- the CRL binary data size.
+ format
- the CRL file format.
+
xmlSecKeyPtr xmlSecGnuTLSAppKeyLoadEx (const char *filename
,xmlSecKeyDataType type
, @@ -691,32 +653,32 @@app<
filename
- the key filename.
+ type
- the expected key type.
+ format
- the key file format.
+ pwd
- the key file password.
+ pwdCallback
- the key password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
xmlSecKeyPtr xmlSecGnuTLSAppKeyLoadMemory (const xmlSecByte *data
,xmlSecSize dataSize
, @@ -749,32 +711,32 @@app<
data
- the binary key data.
+ dataSize
- the size of binary key.
+ format
- the key file format.
+ pwd
- the key file password.
+ pwdCallback
- the key password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
xmlSecKeyPtr xmlSecGnuTLSAppPkcs12Load (const char *filename
,const char *pwd
, @@ -808,22 +770,22 @@app<
filename
- the PKCS12 key filename.
+ pwd
- the PKCS12 file password.
+ pwdCallback
- the password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
xmlSecKeyPtr xmlSecGnuTLSAppPkcs12LoadMemory (const xmlSecByte *data
,xmlSecSize dataSize
, @@ -857,27 +819,27 @@app<
data
- the PKCS12 binary data.
+ dataSize
- the PKCS12 binary data size.
+ pwd
- the PKCS12 file password.
+ pwdCallback
- the password callback.
+ pwdCallbackCtx
- the user context for password callback.
+
int xmlSecGnuTLSAppKeyCertLoad (xmlSecKeyPtr key
,const char *filename
, @@ -908,17 +870,17 @@app<
key
- the pointer to key.
+ filename
- the certificate filename.
+ format
- the certificate file format.
+
int xmlSecGnuTLSAppKeyCertLoadMemory (xmlSecKeyPtr key
,const xmlSecByte *data
, @@ -949,22 +911,22 @@app<
key
- the pointer to key.
+ data
- the certificate binary data.
+ dataSize
- the certificate binary data size.
+ format
- the certificate file format.
+
void * +xmlSecGnuTLSAppGetDefaultPwdCallback ()
+void * xmlSecGnuTLSAppGetDefaultPwdCallback (void
);Gets default password callback.
- - + diff --git a/docs/api/xmlsec-gnutls-crypto.html b/docs/api/xmlsec-gnutls-crypto.html index ad97dc1d3..4620620be 100644 --- a/docs/api/xmlsec-gnutls-crypto.html +++ b/docs/api/xmlsec-gnutls-crypto.html @@ -1,3 +1,4 @@ + @@ -10,49 +11,10 @@ -
-
-
|
-
c
xmlSecGCryptAsymetricKeyCreatePub ()+xmlSecGCryptAsymetricKeyCreatePub ()xmlSecKeyPtr
xmlSecGCryptAsymetricKeyCreatePub (
Creates XMLSec key from GnuTLS public key. @@ -1144,7 +1106,7 @@c
pubkey |
-the pointer to GnuTLS public key. |
+ |
|
xmlSecKeyPtr
xmlSecGCryptAsymetricKeyCreatePriv (gnutls_privkey_t privkey
);
Creates XMLSec key from GnuTLS private key.
@@ -1170,7 +1132,7 @@privkey
the pointer to GnuTLS private key.
gnutls_pubkey_t
xmlSecGCryptAsymetricKeyGetPub (xmlSecKeyPtr key
);
Gets GnuTLS public key from an XMLSec key
@@ -1197,7 +1159,7 @@
key
the pointer to XMLSec key.
gnutls_privkey_t
xmlSecGCryptAsymetricKeyGetPriv (xmlSecKeyPtr key
);
Gets GnuTLS private key from an XMLSec key
@@ -1224,7 +1186,7 @@
key
the pointer to XMLSec key.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataAesGetKlass (void
);
The AES key data klass.
@@ -1246,7 +1208,7 @@int xmlSecGnuTLSKeyDataAesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -1264,17 +1226,17 @@c
data
- the pointer to AES key data.
+ buf
- the pointer to key value.
+ bufSize
- the key value size (in bytes).
+
xmlSecTransformId
xmlSecGnuTLSTransformAes128CbcGetKlass
(void
);
@@ -1298,7 +1260,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformAes192CbcGetKlass
(void
);
@@ -1310,7 +1272,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformAes256CbcGetKlass
(void
);
@@ -1322,7 +1284,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformAes128GcmGetKlass
(void
);
@@ -1334,7 +1296,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformAes192GcmGetKlass
(void
);
@@ -1346,7 +1308,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformAes256GcmGetKlass
(void
);
@@ -1358,7 +1320,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformKWAes128GetKlass (void
);
The AES-128 kew wrapper transform klass.
@@ -1369,7 +1331,7 @@xmlSecTransformId
xmlSecGnuTLSTransformKWAes192GetKlass (void
);
The AES-192 kew wrapper transform klass.
@@ -1380,7 +1342,7 @@xmlSecTransformId
xmlSecGnuTLSTransformKWAes256GetKlass (void
);
The AES-256 kew wrapper transform klass.
@@ -1391,7 +1353,7 @@xmlSecKeyDataId
xmlSecGnuTLSKeyDataDesGetKlass (void
);
The DES key data klass.
@@ -1402,7 +1364,7 @@int xmlSecGnuTLSKeyDataDesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -1420,17 +1382,17 @@c
data
- the pointer to DES key data.
+ buf
- the pointer to key value.
+ bufSize
- the key value size (in bytes).
+
xmlSecTransformId
xmlSecGnuTLSTransformDes3CbcGetKlass (void
);
Triple DES CBC encryption transform klass.
@@ -1453,7 +1415,7 @@xmlSecTransformId
xmlSecGnuTLSTransformKWDes3GetKlass (void
);
The Triple DES key wrapper transform klass.
@@ -1464,7 +1426,7 @@xmlSecKeyDataId
xmlSecGnuTLSKeyDataDsaGetKlass (void
);
The DSA key data klass.
@@ -1475,7 +1437,7 @@int xmlSecGnuTLSKeyDataDsaAdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
, @@ -1496,17 +1458,17 @@c
data
- the pointer to DSA key data.
+ pubkey
- the pointer to GnuTLS DSA key.
+ privkey
- the pointer to GnuTLS DSA key.
+
gnutls_pubkey_t
xmlSecGnuTLSKeyDataDsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS DSA public key from DSA key data.
@@ -1533,7 +1495,7 @@data
the pointer to DSA key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataDsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS DSA private key from DSA key data.
@@ -1559,7 +1521,7 @@data
the pointer to DSA key data.
xmlSecTransformId
xmlSecGnuTLSTransformDsaSha1GetKlass (void
);
The DSA-SHA1 signature transform klass.
@@ -1581,7 +1543,7 @@xmlSecTransformId
xmlSecGnuTLSTransformDsaSha256GetKlass
(void
);
@@ -1593,7 +1555,7 @@ xmlSecKeyDataId
xmlSecGnuTLSKeyDataEcGetKlass (void
);
The GnuTLS EC key data klass.
@@ -1604,7 +1566,7 @@int xmlSecGnuTLSKeyDataEcAdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
, @@ -1625,17 +1587,17 @@c
data
- the pointer to EC key data.
+ pubkey
- the pointer to GnuTLS EC key.
+ privkey
- the pointer to GnuTLS EC key.
+
gnutls_pubkey_t
xmlSecGnuTLSKeyDataEcGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS EC public key from EC key data.
@@ -1662,7 +1624,7 @@data
the pointer to EC key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataEcGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS EC private key from EC key data.
@@ -1688,7 +1650,7 @@data
the pointer to EC key data.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha1GetKlass
(void
);
@@ -1711,7 +1673,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha256GetKlass
(void
);
@@ -1723,7 +1685,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha384GetKlass
(void
);
@@ -1735,7 +1697,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha512GetKlass
(void
);
@@ -1747,7 +1709,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha3_256GetKlass
(void
);
@@ -1759,7 +1721,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha3_384GetKlass
(void
);
@@ -1771,7 +1733,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha3_512GetKlass
(void
);
@@ -1783,7 +1745,7 @@ xmlSecKeyDataId
xmlSecGnuTLSKeyDataGost2001GetKlass (void
);
The GnuTLS GOST 2001 key data klass.
@@ -1794,7 +1756,7 @@int xmlSecGnuTLSKeyDataGost2001AdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
, @@ -1815,17 +1777,17 @@c
data
- the pointer to GOST 2001 key data.
+ pubkey
- the pointer to GnuTLS GOST 2001 key.
+ privkey
- the pointer to GnuTLS GOST 2001 key.
+
gnutls_pubkey_t
xmlSecGnuTLSKeyDataGost2001GetPublicKey
(xmlSecKeyDataPtr data
);
@@ -1853,7 +1815,7 @@ data
the pointer to GOST 2001 key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataGost2001GetPrivateKey
(xmlSecKeyDataPtr data
);
@@ -1880,7 +1842,7 @@ data
the pointer to GOST 2001 key data.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3411_94GetKlass
(void
);
@@ -1903,7 +1865,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformGost2001GostR3411_94GetKlass
(void
);
@@ -1915,7 +1877,7 @@ xmlSecKeyDataId
xmlSecGnuTLSKeyDataGost2012_256GetKlass
(void
);
@@ -1927,7 +1889,7 @@ int xmlSecGnuTLSKeyDataGost2012_256AdoptKey (xmlSecKeyDataPtr data
, @@ -1949,17 +1911,17 @@c
data
- the pointer to GOST 2012 (256 bits) key data.
+ pubkey
- the pointer to GnuTLS GOST 2012 (256 bits) key.
+ privkey
- the pointer to GnuTLS GOST 2012 (256 bits) key.
+
gnutls_pubkey_t
xmlSecGnuTLSKeyDataGost2012_256GetPublicKey
(xmlSecKeyDataPtr data
);
@@ -1987,7 +1949,7 @@ data
the pointer to GOST 2012 (256 bits) key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataGost2012_256GetPrivateKey
(xmlSecKeyDataPtr data
);
@@ -2014,7 +1976,7 @@ data
the pointer to GOST 2012 (256 bits) key data.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataGost2012_512GetKlass
(void
);
@@ -2037,7 +1999,7 @@ int xmlSecGnuTLSKeyDataGost2012_512AdoptKey (xmlSecKeyDataPtr data
, @@ -2059,17 +2021,17 @@c
data
- the pointer to GOST 2012 (512 bits) key data.
+ pubkey
- the pointer to GnuTLS GOST 2012 (512 bits) key.
+ privkey
- the pointer to GnuTLS GOST 2012 (512 bits) key.
+
gnutls_pubkey_t
xmlSecGnuTLSKeyDataGost2012_512GetPublicKey
(xmlSecKeyDataPtr data
);
@@ -2097,7 +2059,7 @@ data
the pointer to GOST 2012 (512 bits) key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataGost2012_512GetPrivateKey
(xmlSecKeyDataPtr data
);
@@ -2124,7 +2086,7 @@ data
the pointer to GOST 2012 (512 bits) key data.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3411_2012_256GetKlass
(void
);
@@ -2147,7 +2109,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformGostR3411_2012_512GetKlass
(void
);
@@ -2159,7 +2121,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256GetKlass
(void
);
@@ -2171,7 +2133,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512GetKlass
(void
);
@@ -2183,7 +2145,7 @@ xmlSecKeyDataId
xmlSecGnuTLSKeyDataHmacGetKlass (void
);
The HMAC key data klass.
@@ -2194,7 +2156,7 @@int xmlSecGnuTLSKeyDataHmacSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -2212,17 +2174,17 @@c
data
- the pointer to HMAC key data.
+ buf
- the pointer to key value.
+ bufSize
- the key value size (in bytes).
+
xmlSecTransformId
xmlSecGnuTLSTransformHmacSha1GetKlass (void
);
The HMAC-SHA1 transform klass.
@@ -2245,7 +2207,7 @@xmlSecTransformId
xmlSecGnuTLSTransformHmacSha256GetKlass
(void
);
@@ -2257,7 +2219,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformHmacSha384GetKlass
(void
);
@@ -2269,7 +2231,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformHmacSha512GetKlass
(void
);
@@ -2281,7 +2243,7 @@ xmlSecKeyDataId
xmlSecGnuTLSKeyDataPbkdf2GetKlass (void
);
The PBKDF2 key data klass.
@@ -2292,7 +2254,7 @@int xmlSecGnuTLSKeyDataPbkdf2Set (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -2310,17 +2272,17 @@c
data
- the pointer to PBKDF2 key data.
+ buf
- the pointer to key value.
+ bufSize
- the key value size (in bytes).
+
xmlSecTransformId
xmlSecGnuTLSTransformPbkdf2GetKlass (void
);
The PBKDF2 key derivation transform klass.
@@ -2343,7 +2305,7 @@xmlSecKeyDataId
xmlSecGnuTLSKeyDataRsaGetKlass (void
);
The RSA key data klass.
@@ -2354,7 +2316,7 @@int xmlSecGnuTLSKeyDataRsaAdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
, @@ -2375,17 +2337,17 @@c
data
- the pointer to RSA key data.
+ pubkey
- the pointer to GnuTLS RSA key.
+ privkey
- the pointer to GnuTLS RSA key.
+
gnutls_pubkey_t
xmlSecGnuTLSKeyDataRsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS RSA public key from RSA key data.
@@ -2412,7 +2374,7 @@data
the pointer to RSA key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataRsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS RSA private key from RSA key data.
@@ -2438,7 +2400,7 @@data
the pointer to RSA key data.
xmlSecTransformId
xmlSecGnuTLSTransformRsaSha1GetKlass (void
);
The RSA-SHA1 signature transform klass.
@@ -2460,7 +2422,7 @@xmlSecTransformId
xmlSecGnuTLSTransformRsaSha256GetKlass
(void
);
@@ -2472,7 +2434,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformRsaSha384GetKlass
(void
);
@@ -2484,7 +2446,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformRsaSha512GetKlass
(void
);
@@ -2496,7 +2458,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformRsaPssSha256GetKlass
(void
);
@@ -2508,7 +2470,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformRsaPssSha384GetKlass
(void
);
@@ -2520,7 +2482,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformRsaPssSha512GetKlass
(void
);
@@ -2532,7 +2494,7 @@ xmlSecTransformId
xmlSecGnuTLSTransformRsaPkcs1GetKlass (void
);
The RSA-PKCS1 key transport transform klass.
@@ -2543,7 +2505,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha1GetKlass (void
);
SHA-1 digest transform klass.
@@ -2554,7 +2516,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha256GetKlass (void
);
SHA2-256 digest transform klass.
@@ -2565,7 +2527,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha384GetKlass (void
);
SHA2-384 digest transform klass.
@@ -2576,7 +2538,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha512GetKlass (void
);
SHA2-512 digest transform klass.
@@ -2587,7 +2549,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha3_256GetKlass (void
);
SHA3-256 digest transform klass.
@@ -2598,7 +2560,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha3_384GetKlass (void
);
SHA3-384 digest transform klass.
@@ -2609,7 +2571,7 @@xmlSecTransformId
xmlSecGnuTLSTransformSha3_512GetKlass (void
);
SHA3-512 digest transform klass.
@@ -2620,7 +2582,7 @@xmlSecKeyDataId
xmlSecGnuTLSKeyDataDEREncodedKeyValueGetKlass
(void
);
@@ -2990,6 +2952,5 @@
-
-
|
-
x50
xmlSecGnuTLSKeyDataX509GetCert ()+xmlSecGnuTLSKeyDataX509GetCert ()gnutls_x509_crt_t xmlSecGnuTLSKeyDataX509GetCert (@@ -360,12 +322,12 @@ x50
data |
-the pointer to X509 key data. |
+ |
pos |
-the desired certificate position. |
+ |
|
xmlSecSize
xmlSecGnuTLSKeyDataX509GetCertsSize (xmlSecKeyDataPtr data
);
Gets the number of certificates in data
@@ -396,7 +358,7 @@
data
the pointer to X509 key data.
int xmlSecGnuTLSKeyDataX509AdoptCrl (@@ -425,12 +387,12 @@xmlSecKeyDataPtr data
,gnutls_x509_crl_t crl
);
data
the pointer to X509 key data.
crl
the pointer to GnuTLS X509 crl.
gnutls_x509_crl_t xmlSecGnuTLSKeyDataX509GetCrl (@@ -459,12 +421,12 @@xmlSecKeyDataPtr data
,xmlSecSize pos
);
data
the pointer to X509 key data.
pos
the desired crl position.
xmlSecSize
xmlSecGnuTLSKeyDataX509GetCrlsSize (xmlSecKeyDataPtr data
);
Gets the number of crls in data
@@ -495,7 +457,7 @@
data
the pointer to X509 key data.
xmlSecKeyDataPtr
xmlSecGnuTLSX509CertGetKey (gnutls_x509_crt_t cert
);
Extracts public key from the cert
@@ -523,7 +485,7 @@
cert
the certificate.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataRawX509CertGetKlass
(void
);
@@ -546,7 +508,7 @@ xmlSecKeyDataStoreId
xmlSecGnuTLSX509StoreGetKlass (void
);
The GnuTLS X509 certificates key data store klass.
@@ -557,7 +519,7 @@gnutls_x509_crt_t xmlSecGnuTLSX509StoreVerify (xmlSecKeyDataStorePtr store
,xmlSecPtrListPtr certs
, @@ -577,22 +539,22 @@x50
store
- the pointer to X509 key data store klass.
+ certs
- the untrusted certificates.
+ crls
- the crls.
+ keyInfoCtx
- the pointer to <dsig:KeyInfo/> element processing context.
+
int xmlSecGnuTLSX509StoreAdoptCert (xmlSecKeyDataStorePtr store
,gnutls_x509_crt_t cert
, @@ -623,17 +585,17 @@x50
store
- the pointer to X509 key data store klass.
+ cert
- the pointer to GnuTLS X509 certificate.
+ type
- the certificate type (trusted/untrusted).
+
int xmlSecGnuTLSX509StoreAdoptCrl (@@ -662,12 +624,12 @@xmlSecKeyDataStorePtr store
,gnutls_x509_crl_t crl
);
store
the pointer to X509 key data store klass.
crl
the pointer to GnuTLS X509 CRL.
-
-
|
-
io - |
the pointer to IO transform.
-
-
|
-
keyinfo
xmlSecKeyInfoCtxCreate ()+xmlSecKeyInfoCtxCreate ()xmlSecKeyInfoCtxPtr
xmlSecKeyInfoCtxCreate (
Allocates and initializes <dsig:KeyInfo/> element processing context. -Caller is responsible for freeing it by calling xmlSecKeyInfoCtxDestroy +Caller is responsible for freeing it by calling xmlSecKeyInfoCtxDestroy function. |
void
xmlSecKeyInfoCtxDestroy (xmlSecKeyInfoCtxPtr keyInfoCtx
);
Destroys keyInfoCtx
- object created with xmlSecKeyInfoCtxCreate function.
keyInfoCtx |
the pointer to <dsig:KeyInfo/> element processing context. |
-+ |
int xmlSecKeyInfoCtxInitialize (xmlSecKeyInfoCtxPtr keyInfoCtx
,xmlSecKeysMngrPtr keysMngr
);
Initializes <dsig:KeyInfo/> element processing context. Caller is -responsible for cleaning it up by xmlSecKeyInfoCtxFinalize function.
+responsible for cleaning it up by xmlSecKeyInfoCtxFinalize function.keyInfoCtx |
the pointer to <dsig:KeyInfo/> element processing context. |
-+ | |
keysMngr |
the pointer to keys manager (may be NULL). |
-+ |
void
xmlSecKeyInfoCtxFinalize (xmlSecKeyInfoCtxPtr keyInfoCtx
);
Cleans up the keyInfoCtx
- initialized with xmlSecKeyInfoCtxInitialize
+ initialized with xmlSecKeyInfoCtxInitialize
function.
keyInfoCtx
the pointer to <dsig:KeyInfo/> element processing context.
void
xmlSecKeyInfoCtxReset (xmlSecKeyInfoCtxPtr keyInfoCtx
);
Resets the keyInfoCtx
@@ -579,14 +541,14 @@
keyInfoCtx
the pointer to <dsig:KeyInfo/> element processing context.
int xmlSecKeyInfoCtxCopyUserPref (@@ -605,12 +567,12 @@xmlSecKeyInfoCtxPtr dst
,xmlSecKeyInfoCtxPtr src
);
dst
the pointer to destination context object.
src
the pointer to source context object.
int
xmlSecKeyInfoCtxCreateEncCtx (xmlSecKeyInfoCtxPtr keyInfoCtx
);
Creates encryption context form processing <enc:EncryptedKey/> child @@ -638,7 +600,7 @@
keyInfoCtx
the pointer to <dsig:KeyInfo/> element processing context.
void xmlSecKeyInfoCtxDebugDump (@@ -667,12 +629,12 @@xmlSecKeyInfoCtxPtr keyInfoCtx
,FILE *output
);
keyInfoCtx
the pointer to <dsig:KeyInfo/> element processing context.
output
the output file pointer.
void xmlSecKeyInfoCtxDebugXmlDump (@@ -698,12 +660,12 @@xmlSecKeyInfoCtxPtr keyInfoCtx
,FILE *output
);
keyInfoCtx
the pointer to <dsig:KeyInfo/> element processing context.
output
the output file pointer.
xmlSecKeyDataId
xmlSecKeyDataNameGetKlass (void
);
The <dsig:KeyName/> element key data klass @@ -730,7 +692,7 @@
xmlSecKeyDataId
xmlSecKeyDataValueGetKlass (void
);
The <dsig:KeyValue/> element key data klass @@ -744,7 +706,7 @@
xmlSecKeyDataId
xmlSecKeyDataRetrievalMethodGetKlass (void
);
The <dsig:RetrievalMethod/> element key data klass @@ -765,7 +727,7 @@
xmlSecKeyDataId
xmlSecKeyDataKeyInfoReferenceGetKlass (void
);
A KeyInfoReference element within KeyInfo is used to convey a reference to @@ -788,7 +750,7 @@
xmlSecKeyDataId
xmlSecKeyDataEncryptedKeyGetKlass (void
);
The <enc:EncryptedKey/> element key data klass @@ -807,7 +769,7 @@
xmlSecKeyDataId
xmlSecKeyDataAgreementMethodGetKlass (void
);
The <enc:AgreementMethod/> element key data klass @@ -825,7 +787,7 @@
xmlSecKeyDataId
xmlSecKeyDataDerivedKeyGetKlass (void
);
The<enc11:DerivedKey/> element key data klass @@ -864,12 +826,12 @@
read <dsig:KeyInfo /> element.
write <dsig:KeyInfo /> element.
the pointer to user data (xmlsec and xmlsec-crypto never touch this).
the bit mask for flags that control processin.
reserved for future.
xmlSecKeysMngrPtr keysMngr
;
xmlSecKeysMngrPtr keysMngr
;
the pointer to current keys manager.
xmlSecKeyInfoMode mode
;
xmlSecKeyInfoMode mode
;
do we read or write <dsig:KeyInfo /> element.
xmlSecPtrList enabledKeyData
;
xmlSecPtrList enabledKeyData
;
the list of enabled xmlSecKeyDataId
(if list is
empty then all data ids are enabled).
the max columns size for base64 encoding.
xmlSecTransformCtx retrievalMethodCtx
;
xmlSecTransformCtx retrievalMethodCtx
;
the transforms context for <dsig:RetrievalMethod /> element processing.
the max recursion level when processing
<dsig:RetrievalMethod/> element; default level is 1
(see also curRetrievalMethodLevel
).
xmlSecTransformCtx keyInfoReferenceCtx
;
xmlSecTransformCtx keyInfoReferenceCtx
;
the transforms context for<dsig11:KeyInfoReference/> element processing.
the max recursion level when processing
<dsig11:KeyInfoReference/> element; default level is 1
(see also curKeyInfoReferenceLevel
).
xmlSecEncCtxPtr encCtx
;
xmlSecEncCtxPtr encCtx
;
the encryption context for <dsig:EncryptedKey /> element processing.
the max recursion level when processing
<enc:EncryptedKey/> element; default level is 1
(see curEncryptedKeyLevel
).
the time to use for X509 certificates verification
("not valid before" and "not valid after" checks);
if certsVerificationTime
is equal to 0 (default)
then we verify certificates against the system's
clock "now".
the max certifications chain length (default is 9).
reserved for PGP.
the current<dsig:RetrievalMethod/> element
processing level (see maxRetrievalMethodLevel
).
the current<dsig11:KeyInfoReference/> element
processing level (see maxKeyInfoReferenceLevel
).
the current<enc:EncryptedKey/> or<enc11:DerivedKey/> element
processing level (see maxEncryptedKeyLevel
).
xmlSecTransformOperation operation
;
xmlSecTransformOperation operation
;
the transform operation for this key info.
xmlSecKeyReq keyReq
;
xmlSecKeyReq keyReq
;
the current key requirements.
reserved for the future.
reserved for the future.
-
-
|
-
- xmlSecKeyUseWithReset ()+xmlSecKeyUseWithReset ()void
xmlSecKeyUseWithReset (
Resets the keyskeyUseWith |
-the pointer to information about key application/user. |
+ |
|
int xmlSecKeyUseWithCopy (@@ -613,12 +575,12 @@xmlSecKeyUseWithPtr dst
,xmlSecKeyUseWithPtr src
);
dst
the pointer to destination object.
src
the pointer to source object.
xmlSecKeyUseWithPtr xmlSecKeyUseWithCreate (@@ -649,12 +611,12 @@const xmlChar *application
,const xmlChar *identifier
);
application
the application value.
identifier
the identifier value.
xmlSecKeyUseWithPtr
xmlSecKeyUseWithDuplicate (xmlSecKeyUseWithPtr keyUseWith
);
Duplicates keyUseWith
@@ -684,7 +646,7 @@
keyUseWith
the pointer to information about key application/user.
void
xmlSecKeyUseWithDestroy (xmlSecKeyUseWithPtr keyUseWith
);
Destroys keyUseWith
@@ -714,14 +676,14 @@
keyUseWith
the pointer to information about key application/user.
int xmlSecKeyUseWithSet (xmlSecKeyUseWithPtr keyUseWith
,const xmlChar *application
, @@ -742,17 +704,17 @@keys
keyUseWith
- the pointer to information about key application/user.
+ application
- the new application value.
+ identifier
- the new identifier value.
+
void xmlSecKeyUseWithDebugDump (@@ -782,12 +744,12 @@xmlSecKeyUseWithPtr keyUseWith
,FILE *output
);
keyUseWith
the pointer to information about key application/user.
output
the pointer to output FILE.
void xmlSecKeyUseWithDebugXmlDump (@@ -813,12 +775,12 @@xmlSecKeyUseWithPtr keyUseWith
,FILE *output
);
keyUseWith
the pointer to information about key application/user.
output
the pointer to output FILE.
xmlSecPtrListId
xmlSecKeyUseWithPtrListGetKlass (void
);
The key data list klass.
@@ -837,11 +799,11 @@int
xmlSecKeyReqInitialize (xmlSecKeyReqPtr keyReq
);
Initialize key requirements object. Caller is responsible for -cleaning it with xmlSecKeyReqFinalize function.
+cleaning it with xmlSecKeyReqFinalize function. @@ -864,10 +826,10 @@void
xmlSecKeyReqFinalize (xmlSecKeyReqPtr keyReq
);
-Cleans the key requirements object initialized with xmlSecKeyReqInitialize +
Cleans the key requirements object initialized with xmlSecKeyReqInitialize function.
void
xmlSecKeyReqReset (xmlSecKeyReqPtr keyReq
);
Resets key requirements object for new key search.
@@ -902,14 +864,14 @@keyReq
the pointer to key requirements object.
int xmlSecKeyReqCopy (@@ -928,12 +890,12 @@xmlSecKeyReqPtr dst
,xmlSecKeyReqPtr src
);
dst
the pointer to destination object.
src
the pointer to source object.
int xmlSecKeyReqMatchKey (@@ -964,12 +926,12 @@xmlSecKeyReqPtr keyReq
,xmlSecKeyPtr key
);
keyReq
the pointer to key requirements object.
key
the pointer to key.
int xmlSecKeyReqMatchKeyValue (@@ -1001,12 +963,12 @@xmlSecKeyReqPtr keyReq
,xmlSecKeyDataPtr value
);
keyReq
the pointer to key requirements.
value
the pointer to key value.
void xmlSecKeyReqDebugDump (@@ -1038,12 +1000,12 @@xmlSecKeyReqPtr keyReq
,FILE *output
);
keyReq
the pointer to key requirements object.
output
the pointer to output FILE.
void xmlSecKeyReqDebugXmlDump (@@ -1070,12 +1032,12 @@xmlSecKeyReqPtr keyReq
,FILE *output
);
keyReq
the pointer to key requirements object.
output
the pointer to output FILE.
xmlSecKeyPtr
xmlSecKeyCreate (void
);
Allocates and initializes new key. Caller is responsible for -freeing returned object with xmlSecKeyDestroy function.
+freeing returned object with xmlSecKeyDestroy function. the pointer to newly allocated xmlSecKey
@@ -1097,10 +1059,10 @@
void
xmlSecKeyDestroy (xmlSecKeyPtr key
);
-Destroys the key created using xmlSecKeyCreate function.
+Destroys the key created using xmlSecKeyCreate function.
void
xmlSecKeyEmpty (xmlSecKeyPtr key
);
Clears the key
@@ -1135,14 +1097,14 @@
key
the pointer to key.
xmlSecKeyPtr
xmlSecKeyDuplicate (xmlSecKeyPtr key
);
Creates a duplicate of the given key
@@ -1158,7 +1120,7 @@
key
the pointer to the xmlSecKey structure.
int xmlSecKeyCopy (@@ -1189,12 +1151,12 @@xmlSecKeyPtr keyDst
,xmlSecKeyPtr keySrc
);
keyDst
the destination key.
keySrc
the source key.
int xmlSecKeySwap (@@ -1225,12 +1187,12 @@xmlSecKeyPtr key1
,xmlSecKeyPtr key2
);
key1
the first key.
key2
the second key.
const xmlChar * +xmlSecKeyGetName ()
+const xmlChar * xmlSecKeyGetName (-xmlSecKeyPtr key
);Gets key name (see also xmlSecKeySetName function).
+Gets key name (see also xmlSecKeySetName function).
@@ -1268,11 +1230,11 @@keys
-@@ -2180,6 +2142,5 @@xmlSecKeySetName ()
+xmlSecKeySetName ()
int xmlSecKeySetName (-xmlSecKeyPtr key
,const xmlChar *name
);Sets key name (see also xmlSecKeyGetName function).
+Sets key name (see also xmlSecKeyGetName function).
@@ -2136,34 +2098,34 @@Parameters
@@ -1302,12 +1264,12 @@keys
-@@ -1924,7 +1886,7 @@xmlSecKeySetNameEx ()
+xmlSecKeySetNameEx ()
int xmlSecKeySetNameEx (-xmlSecKeyPtr key
,const xmlChar *name
,xmlSecSize nameSize
);Sets key name (see also xmlSecKeyGetName function).
+Sets key name (see also xmlSecKeyGetName function).
@@ -1370,10 +1332,10 @@Parameters
@@ -1343,7 +1305,7 @@@@ -1320,18 +1282,18 @@
keys
key
- the pointer to key.
+ name
- the new key name.
+ nameSize
- the size of
name
.+ keys
-xmlSecKeyGetType ()
+xmlSecKeyGetType ()
xmlSecKeyDataType xmlSecKeyGetType (xmlSecKeyPtr key
);Gets
key
@@ -1359,7 +1321,7 @@keys
key
- the pointer to key.
+ keys
-@@ -1911,12 +1873,12 @@xmlSecKeyGetValue ()
+xmlSecKeyGetValue ()
xmlSecKeyDataPtr xmlSecKeyGetValue (-xmlSecKeyPtr key
);Gets key value (see also xmlSecKeySetValue function).
+Gets key value (see also xmlSecKeySetValue function).
@@ -1396,11 +1358,11 @@keys
-xmlSecKeySetValue ()
+xmlSecKeySetValue ()
int xmlSecKeySetValue (-xmlSecKeyPtr key
,xmlSecKeyDataPtr value
);Sets key value (see also xmlSecKeyGetValue function).
+Sets key value (see also xmlSecKeyGetValue function).
Parameters
@@ -1430,10 +1392,10 @@keys
-xmlSecKeyGetSize ()
+xmlSecKeyGetSize ()
xmlSecSize xmlSecKeyGetSize (-xmlSecKeyPtr key
);Gets key size (see also xmlSecKeyDataGetSize function).
+Gets key size (see also xmlSecKeyDataGetSize function).
@@ -1456,7 +1418,7 @@keys
-@@ -1487,12 +1449,12 @@xmlSecKeyGetData ()
+xmlSecKeyGetData ()
xmlSecKeyDataPtr xmlSecKeyGetData (@@ -1473,12 +1435,12 @@xmlSecKeyPtr key
,xmlSecKeyDataId dataId
);keys
key
- the pointer to key.
+ dataId
- the requested data klass.
+ keys
Returns
additional data associated with the
+xmlSecKeyAdoptData function).key
(see also -xmlSecKeyAdoptData function).
-@@ -1528,7 +1490,7 @@xmlSecKeyEnsureData ()
+xmlSecKeyEnsureData ()
xmlSecKeyDataPtr xmlSecKeyEnsureData (@@ -1511,12 +1473,12 @@xmlSecKeyPtr key
,xmlSecKeyDataId dataId
);keys
key
- the pointer to key.
+ dataId
- the requested data klass.
+ keys
-@@ -1567,7 +1529,7 @@xmlSecKeyAdoptData ()
+xmlSecKeyAdoptData ()
int xmlSecKeyAdoptData (@@ -1550,12 +1512,12 @@xmlSecKeyPtr key
,xmlSecKeyDataPtr data
);keys
key
- the pointer to key.
+ data
- the pointer to key data.
+ keys
-@@ -1599,7 +1561,7 @@xmlSecKeyDebugDump ()
+xmlSecKeyDebugDump ()
void xmlSecKeyDebugDump (@@ -1586,12 +1548,12 @@xmlSecKeyPtr key
,FILE *output
);keys
key
- the pointer to key.
+ output
- the pointer to output FILE.
+ keys
-@@ -1631,7 +1593,7 @@xmlSecKeyDebugXmlDump ()
+xmlSecKeyDebugXmlDump ()
void xmlSecKeyDebugXmlDump (@@ -1618,12 +1580,12 @@xmlSecKeyPtr key
,FILE *output
);keys
key
- the pointer to key.
+ output
- the pointer to output FILE.
+ keys
-@@ -1673,7 +1635,7 @@xmlSecKeyGenerate ()
+xmlSecKeyGenerate ()
xmlSecKeyPtr xmlSecKeyGenerate (xmlSecKeyDataId dataId
,xmlSecSize sizeBits
, @@ -1651,17 +1613,17 @@keys
dataId
- the requested key klass (rsa, dsa, aes, ...).
+ sizeBits
- the new key size (in bits!).
+ type
- the new key type (session, permanent, ...).
+ keys
-@@ -1715,7 +1677,7 @@xmlSecKeyGenerateByName ()
+xmlSecKeyGenerateByName ()
xmlSecKeyPtr xmlSecKeyGenerateByName (const xmlChar *name
,xmlSecSize sizeBits
, @@ -1693,17 +1655,17 @@keys
name
- the requested key klass name (rsa, dsa, aes, ...).
+ sizeBits
- the new key size (in bits!).
+ type
- the new key type (session, permanent, ...).
+ keys
-@@ -1756,7 +1718,7 @@xmlSecKeyMatch ()
+xmlSecKeyMatch ()
int xmlSecKeyMatch (xmlSecKeyPtr key
,const xmlChar *name
, @@ -1734,17 +1696,17 @@keys
key
- the pointer to key.
+ name
- the pointer to key name (may be NULL).
+ keyReq
- the pointer to key requirements.
+ keys
-@@ -1791,7 +1753,7 @@xmlSecKeyReadBuffer ()
+xmlSecKeyReadBuffer ()
xmlSecKeyPtr xmlSecKeyReadBuffer (@@ -1774,12 +1736,12 @@xmlSecKeyDataId dataId
,xmlSecBuffer *buffer
);keys
dataId
- the key value data klass.
+ buffer
- the buffer that contains the binary data.
+ keys
-@@ -1827,7 +1789,7 @@xmlSecKeyReadBinaryFile ()
+xmlSecKeyReadBinaryFile ()
xmlSecKeyPtr xmlSecKeyReadBinaryFile (@@ -1810,12 +1772,12 @@xmlSecKeyDataId dataId
,const char *filename
);keys
dataId
- the key value data klass.
+ filename
- the key binary filename.
+ keys
-@@ -1886,7 +1848,7 @@xmlSecKeyReadMemory ()
+xmlSecKeyReadMemory ()
xmlSecKeyPtr xmlSecKeyReadMemory (xmlSecKeyDataId dataId
,const xmlSecByte *data
, @@ -1847,17 +1809,17 @@keys
dataId
- the key value data klass.
+ data
- the memory containing the key
+ dataSize
- the size of the memory block
+ keys
key
- the pointer to key.
+ keys
key
- the pointer to key.
+ keyId
- the key Id.
+ keys
-@@ -2075,39 +2037,39 @@xmlSecKeyPtrListGetKlass ()
+xmlSecKeyPtrListGetKlass ()
xmlSecPtrListId xmlSecKeyPtrListGetKlass (void
);The keys list klass.
@@ -2020,24 +1982,24 @@keys
- + - the application.
+ - + - the identifier.
+ - + - reserved for future use.
+ - + - reserved for future use.
+ keys
- + - the desired key value klass.
+ - + xmlSecKeyDataType
keyType
;xmlSecKeyDataType
keyType
;- the desired key type.
+ - + xmlSecKeyUsage
keyUsage
;xmlSecKeyUsage
keyUsage
;- the desired key usage.
+ - + xmlSecSize
keyBitsSize
;xmlSecSize
keyBitsSize
;- the desired key size (in bits!).
+ - + xmlSecPtrList
keyUseWithList
;xmlSecPtrList
keyUseWithList
;- the desired key use with application/identifier information.
+ - + - reserved for future use.
+ - + - reserved for future use.
+ keys
- + - the key name.
+ - + xmlSecKeyDataPtr
value
;xmlSecKeyDataPtr
value
;- the key value.
+ - + xmlSecPtrListPtr
dataList
;xmlSecPtrListPtr
dataList
;- the key data list.
+ - + xmlSecKeyUsage
usage
;xmlSecKeyUsage
usage
;- the key usage.
+ - + - the start key validity interval.
+ - + - the end key validity interval.
+ keys - - + diff --git a/docs/api/xmlsec-keysdata.html b/docs/api/xmlsec-keysdata.html index 669dbad18..55a4774a5 100644 --- a/docs/api/xmlsec-keysdata.html +++ b/docs/api/xmlsec-keysdata.html @@ -1,3 +1,4 @@ + @@ -10,49 +11,10 @@ -
-
-
|
-
keysda
xmlSecKeyDataCreate ()+xmlSecKeyDataCreate ()xmlSecKeyDataPtr
xmlSecKeyDataCreate (
Allocates and initializes new key data of the specified type keysdaxmlSecKeyDataDuplicate ()+xmlSecKeyDataDuplicate ()xmlSecKeyDataPtr
xmlSecKeyDataDuplicate (
Creates a duplicate of the given keysdaxmlSecKeyDataDestroy ()+xmlSecKeyDataDestroy ()void
xmlSecKeyDataDestroy (
Destroys the data and frees all allocated memory. @@ -881,14 +843,14 @@keysda
data |
-the pointer to the key data. |
+ |
|
int xmlSecKeyDataGenerate (xmlSecKeyDataPtr data
,xmlSecSize sizeBits
, @@ -906,17 +868,17 @@keysda
data
- the pointer to key data.
+ sizeBits
- the desired key data size (in bits).
+ type
- the desired key data type.
+
xmlSecKeyDataType
xmlSecKeyDataGetType (xmlSecKeyDataPtr data
);
Gets key data type.
@@ -943,7 +905,7 @@data
the pointer to key data.
xmlSecSize
xmlSecKeyDataGetSize (xmlSecKeyDataPtr data
);
Gets key data size.
@@ -969,7 +931,7 @@data
the pointer to key data.
const xmlChar * +xmlSecKeyDataGetIdentifier ()
+const xmlChar * xmlSecKeyDataGetIdentifier (xmlSecKeyDataPtr data
);Gets key data identifier string.
void xmlSecKeyDataDebugDump (@@ -1023,12 +985,12 @@xmlSecKeyDataPtr data
,FILE *output
);
data
the pointer to key data.
output
the pointer to output FILE.
void xmlSecKeyDataDebugXmlDump (@@ -1053,12 +1015,12 @@xmlSecKeyDataPtr data
,FILE *output
);
data
the pointer to key data.
output
the pointer to output FILE.
int xmlSecKeyDataXmlRead (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1088,22 +1050,22 @@keysda
id
- the data klass.
+ key
- the destination key.
+ node
- the pointer to an XML node.
+ keyInfoCtx
- the pointer to <dsig:KeyInfo/> element processing context.
+
int xmlSecKeyDataXmlWrite (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1137,22 +1099,22 @@keysda
id
- the data klass.
+ key
- the source key.
+ node
- the pointer to an XML node.
+ keyInfoCtx
- the pointer to <dsig:KeyInfo/> element processing context.
+
int xmlSecKeyDataBinRead (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1187,27 +1149,27 @@keysda
id
- the data klass.
+ key
- the destination key.
+ buf
- the input binary buffer.
+ bufSize
- the input buffer size.
+ keyInfoCtx
- the <dsig:KeyInfo/> node processing context.
+
int xmlSecKeyDataBinWrite (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1242,27 +1204,27 @@keysda
id
- the data klass.
+ key
- the source key.
+ buf
- the output binary buffer.
+ bufSize
- the output buffer size.
+ keyInfoCtx
- the <dsig:KeyInfo/> node processing context.
+
data
the pointer to key data.
data
the pointer to data.
data
the pointer to data.
dataId
the data Id.
data
the pointer to data.
usg
the data usage.
data
the pointer to data.
size
the expected size.
int
(*xmlSecKeyDataInitMethod) (xmlSecKeyDataPtr data
);
Key data specific initialization method.
@@ -1426,7 +1388,7 @@data
the pointer to key data.
int (*xmlSecKeyDataDuplicateMethod) (@@ -1454,12 +1416,12 @@xmlSecKeyDataPtr dst
,xmlSecKeyDataPtr src
);
dst
the pointer to destination key data.
src
the pointer to source key data.
void
(*xmlSecKeyDataFinalizeMethod) (xmlSecKeyDataPtr data
);
Key data specific finalization method. All the objects and resources allocated @@ -1487,14 +1449,14 @@
data
the data.
int (*xmlSecKeyDataXmlReadMethod) (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1513,22 +1475,22 @@keysda
id
- the data id.
+ key
- the key.
+ node
- the pointer to data's value XML node.
+ keyInfoCtx
- the <dsig:KeyInfo/> node processing context.
+
int (*xmlSecKeyDataXmlWriteMethod) (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1559,22 +1521,22 @@keysda
id
- the data id.
+ key
- the key.
+ node
- the pointer to data's value XML node.
+ keyInfoCtx
- the <dsig:KeyInfo/> node processing context.
+
int (*xmlSecKeyDataBinReadMethod) (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1606,27 +1568,27 @@keysda
id
- the data id.
+ key
- the key.
+ buf
- the input buffer.
+ bufSize
- the buffer size.
+ keyInfoCtx
- the <dsig:KeyInfo/> node processing context.
+
int (*xmlSecKeyDataBinWriteMethod) (xmlSecKeyDataId id
,xmlSecKeyPtr key
, @@ -1658,27 +1620,27 @@keysda
id
- the data id.
+ key
- the key.
+ buf
- the output buffer.
+ bufSize
- the buffer size.
+ keyInfoCtx
- the <dsig:KeyInfo/> node processing context.
+
int (*xmlSecKeyDataGenerateMethod) (xmlSecKeyDataPtr data
,xmlSecSize sizeBits
, @@ -1708,17 +1670,17 @@keysda
data
- the pointer to key data.
+ sizeBits
- the key data specific size.
+ type
- the required key type (session/permanent, etc.)
+
xmlSecKeyDataType
(*xmlSecKeyDataGetTypeMethod) (xmlSecKeyDataPtr data
);
Key data specific method to get the key type.
@@ -1745,7 +1707,7 @@data
the data.
xmlSecSize
(*xmlSecKeyDataGetSizeMethod) (xmlSecKeyDataPtr data
);
Key data specific method to get the key size.
@@ -1771,7 +1733,7 @@data
the pointer to key data.
const xmlChar * +xmlSecKeyDataGetIdentifierMethod ()
+const xmlChar * (*xmlSecKeyDataGetIdentifierMethod) (xmlSecKeyDataPtr data
);Key data specific method to get the key data identifier string (for example, X509 data identifier is the subject of the verified cert).
@@ -1798,7 +1760,7 @@keysda
data
- the pointer to key data.
+
void (*xmlSecKeyDataDebugDumpMethod) (@@ -1826,12 +1788,12 @@xmlSecKeyDataPtr data
,FILE *output
);
data
the data.
output
the FILE to print debug info (should be open for writing).
klass
the data klass.
xmlSecSize
xmlSecKeyDataBinaryValueGetSize (xmlSecKeyDataPtr data
);
Gets the binary key data size.
@@ -1875,7 +1837,7 @@data
the pointer to binary key data.
xmlSecBufferPtr
xmlSecKeyDataBinaryValueGetBuffer (xmlSecKeyDataPtr data
);
Gets the binary key data buffer.
@@ -1901,7 +1863,7 @@data
the pointer to binary key data.
int xmlSecKeyDataBinaryValueSetBuffer (xmlSecKeyDataPtr data
,const xmlSecByte *buf
, @@ -1932,17 +1894,17 @@keysda
data
- the pointer to binary key data.
+ buf
- the pointer to binary buffer.
+ bufSize
- the binary buffer size.
+
xmlSecPtrListId
xmlSecKeyDataListGetKlass (void
);
The key data list klass.
@@ -1965,7 +1927,7 @@xmlSecPtrListId
xmlSecKeyDataIdListGetKlass (void
);
The key data id list klass.
@@ -1976,7 +1938,7 @@int xmlSecKeyDataIdListFind (@@ -1995,12 +1957,12 @@xmlSecPtrListPtr list
,xmlSecKeyDataId dataId
);
list
the pointer to key data ids list.
dataId
the key data klass.
xmlSecKeyDataId xmlSecKeyDataIdListFindByNode (xmlSecPtrListPtr list
,const xmlChar *nodeName
, @@ -2039,22 +2001,22 @@keysda
list
- the pointer to key data ids list.
+ nodeName
- the desired key data klass XML node name.
+ nodeNs
- the desired key data klass XML node namespace.
+ usage
- the desired key data usage.
+
xmlSecKeyDataId xmlSecKeyDataIdListFindByHref (xmlSecPtrListPtr list
,const xmlChar *href
, @@ -2087,17 +2049,17 @@keysda
list
- the pointer to key data ids list.
+ href
- the desired key data klass href.
+ usage
- the desired key data usage.
+
xmlSecKeyDataId xmlSecKeyDataIdListFindByName (xmlSecPtrListPtr list
,const xmlChar *name
, @@ -2130,17 +2092,17 @@keysda
list
- the pointer to key data ids list.
+ name
- the desired key data klass name.
+ usage
- the desired key data usage.
+
void xmlSecKeyDataIdListDebugDump (@@ -2170,12 +2132,12 @@xmlSecPtrListPtr list
,FILE *output
);
list
the pointer to key data ids list.
output
the pointer to output FILE.
void xmlSecKeyDataIdListDebugXmlDump (@@ -2201,12 +2163,12 @@xmlSecPtrListPtr list
,FILE *output
);
list
the pointer to key data ids list.
output
the pointer to output FILE.
xmlSecKeyDataStorePtr
xmlSecKeyDataStoreCreate (xmlSecKeyDataStoreId id
);
Creates new key data store of the specified klass id
. Caller is responsible
-for freeing returned object with xmlSecKeyDataStoreDestroy function.
void
xmlSecKeyDataStoreDestroy (xmlSecKeyDataStorePtr store
);
-Destroys the key data store created with xmlSecKeyDataStoreCreate +
Destroys the key data store created with xmlSecKeyDataStoreCreate function.
store
the pointer to store.
store
the pointer to store.
store
the pointer to store.
storeId
the store Id.
store
the pointer to store.
size
the expected size.
int
(*xmlSecKeyDataStoreInitializeMethod) (xmlSecKeyDataStorePtr store
);
Key data store specific initialization method.
@@ -2388,7 +2350,7 @@store
the data store.
void
(*xmlSecKeyDataStoreFinalizeMethod) (xmlSecKeyDataStorePtr store
);
Key data store specific finalization (destroy) method.
@@ -2414,7 +2376,7 @@store
the data store.
klass
the pointer to store klass.
xmlSecPtrListId
xmlSecKeyDataStorePtrListGetKlass (void
);
Key data stores list.
@@ -2453,7 +2415,7 @@void
xmlSecImportSetPersistKey (void
);
Sets global flag to import keys to persistent storage (MSCrypto and MSCNG). @@ -2461,7 +2423,7 @@