typedef int(* | xmlSecCryptoInitMethod |
Default 'http://' protocol callbacks Default 'ftp://' protocol callbacks xmlSecCryptoInitMethod:
xmlsec-crypto libraryinitialization method.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoShutdownMethod |
xmlSecCryptoShutdownMethod:
xmlsec-crypto library shutdown method.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoKeysMngrInitMethod |
xmlSecCryptoKeysMngrInitMethod: : the pointer to keys manager.
Initializes with xmlsec-crypto library specific data.
Returns 0 on success or a negative value otherwise.
typedef xmlSecKeyDataId (* | xmlSecCryptoKeyDataGetKlassMethod |
xmlSecCryptoKeyDataGetKlassMethod:
Gets the key data klass.
Returns pointer to key data klass or NULL if an error occurs (the xmlsec-crypto library is not loaded or this key data klass is not implemented).
typedef xmlSecKeyDataStoreId (* | xmlSecCryptoKeyDataStoreGetKlassMethod |
xmlSecCryptoKeyDataStoreGetKlassMethod:
Gets the key data store klass.
Returns pointer to key data store klass or NULL if an error occurs (the xmlsec-crypto library is not loaded or this key data store klass is not implemented).
typedef xmlSecTransformId (* | xmlSecCryptoTransformGetKlassMethod |
xmlSecCryptoTransformGetKlassMethod:
Gets the transform klass.
Returns pointer to transform klass or NULL if an error occurs (the xmlsec-crypto library is not loaded or this transform is not implemented).
typedef int(* | xmlSecCryptoAppInitMethod |
xmlSecCryptoAppInitMethod: : the path to crypto library configuration.
General crypto engine initialization. This function is used by XMLSec command line utility and called before function.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppShutdownMethod |
xmlSecCryptoAppShutdownMethod:
General crypto engine shutdown. This function is used by XMLSec command line utility and called after function.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppDefaultKeysMngrInitMethod |
xmlSecCryptoAppDefaultKeysMngrInitMethod: : the pointer to keys manager.
Initializes with simple keys store xmlSecSimpleKeysStoreId and a default crypto key data stores.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppDefaultKeysMngrAdoptKeyMethod |
xmlSecCryptoAppDefaultKeysMngrAdoptKeyMethod: : the pointer to keys manager. : the pointer to key.
Adds to the keys manager created with xmlSecCryptoAppDefaultKeysMngrInit function.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppDefaultKeysMngrLoadMethod |
xmlSecCryptoAppDefaultKeysMngrLoadMethod: : the pointer to keys manager. : the uri.
Loads XML keys file from to the keys manager created with xmlSecCryptoAppDefaultKeysMngrInit function.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppDefaultKeysMngrSaveMethod |
xmlSecCryptoAppDefaultKeysMngrSaveMethod: : the pointer to keys manager. : the destination filename. : the type of keys to save (public/private/symmetric).
Saves keys from to XML keys file.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppKeysMngrCertLoadMethod |
xmlSecCryptoAppKeysMngrCertLoadMethod: : the keys manager. : the certificate file. : the certificate file format. : the flag that indicates is the certificate in trusted or not.
Reads cert from and adds to the list of trusted or known untrusted certs in .
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppKeysMngrCertLoadMemoryMethod |
xmlSecCryptoAppKeysMngrCertLoadMemoryMethod: : the keys manager. : the key data. : the key data size. : the certificate format. : the flag that indicates is the certificate in trusted or not.
Reads cert from and adds to the list of trusted or known untrusted certs in .
Returns 0 on success or a negative value otherwise.
typedef xmlSecKeyPtr (* | xmlSecCryptoAppKeyLoadMethod |
xmlSecCryptoAppKeyLoadMethod: : the key filename. : the key file format. : the key file password. : the key password callback. : the user context for password callback.
Reads key from the a file.
Returns pointer to the key or NULL if an error occurs.
typedef xmlSecKeyPtr (* | xmlSecCryptoAppKeyLoadWithNameMethod |
xmlSecCryptoAppKeyLoadMethod: : the key filename. : the key file format. : the key file password. : the key password callback. : the user context for password callback.
Reads key from the a file.
Returns pointer to the key or NULL if an error occurs.
typedef xmlSecKeyPtr (* | xmlSecCryptoAppKeyLoadMemoryMethod |
xmlSecCryptoAppKeyLoadMemoryMethod: : the key data. : the key data size. : the key data format. : the key data password. : the key password callback. : the user context for password callback.
Reads key from the binary data buffer.
Returns pointer to the key or NULL if an error occurs.
typedef xmlSecKeyPtr (* | xmlSecCryptoAppPkcs12LoadMethod |
xmlSecCryptoAppPkcs12LoadMethod: : the PKCS12 key filename. : the PKCS12 file password. : the password callback. : the user context for password callback.
Reads key and all associated certificates from the PKCS12 file. For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass in format=xmlSecKeyDataFormatPkcs12.
Returns pointer to the key or NULL if an error occurs.
typedef xmlSecKeyPtr (* | xmlSecCryptoAppPkcs12LoadMemoryMethod |
xmlSecCryptoAppPkcs12LoadMemoryMethod: : the pkcs12 data. : the pkcs12 data size. : the PKCS12 data password. : the password callback. : the user context for password callback.
Reads key and all associated certificates from the PKCS12 binary data. For uniformity, call xmlSecCryptoAppKeyLoad instead of this function. Pass in format=xmlSecKeyDataFormatPkcs12.
Returns pointer to the key or NULL if an error occurs.
typedef int(* | xmlSecCryptoAppKeyCertLoadMethod |
xmlSecCryptoAppKeyCertLoadMethod: : the pointer to key. : the certificate filename. : the certificate file format.
Reads the certificate from $ and adds it to key.
Returns 0 on success or a negative value otherwise.
typedef int(* | xmlSecCryptoAppKeyCertLoadMemoryMethod |
xmlSecCryptoAppKeyCertLoadMemoryMethod: : the pointer to key. : the cert data. : the cert data size. : the certificate data format.
Reads the certificate from binary buffer and adds it to key.
Returns 0 on success or a negative value otherwise.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.