Details
xmlSecKeyInifiteRetrivals
#define xmlSecKeyInifiteRetrivals 99999 |
Macro. Inifinite number of retrievals (really big number :) )
xmlSecKeyCreateMethod ()
xmlSecKeyPtr (*xmlSecKeyCreateMethod) (xmlSecKeyId id); |
Key specific creation method.
xmlSecKeyDuplicateMethod ()
xmlSecKeyPtr (*xmlSecKeyDuplicateMethod) (xmlSecKeyPtr key); |
Key specific duplication method.
xmlSecKeyDestroyMethod ()
void (*xmlSecKeyDestroyMethod) (xmlSecKeyPtr key); |
Key specific destroy method.
xmlSecKeyReadXmlMethod ()
int (*xmlSecKeyReadXmlMethod) (xmlSecKeyPtr key,
xmlNodePtr node); |
Key specific reading from XML node method.
xmlSecKeyWriteXmlMethod ()
int (*xmlSecKeyWriteXmlMethod) (xmlSecKeyPtr key,
xmlSecKeyType type,
xmlNodePtr parent); |
Key specific writing to XML node method.
xmlSecKeyReadBinaryMethod ()
int (*xmlSecKeyReadBinaryMethod) (xmlSecKeyPtr key,
unsigned char *buf,
size_t size); |
Key specific reading binary data method.
xmlSecKeyWriteBinaryMethod ()
int (*xmlSecKeyWriteBinaryMethod) (xmlSecKeyPtr key,
xmlSecKeyType type,
unsigned char **buf,
size_t *size); |
Key specific writing binary data method. The data are returned
in an allocated buf and caller is responsible for freeing
it using xmlFree() function.
xmlSecKeysInit ()
void xmlSecKeysInit (void); |
Initializes the key ids list (called from xmlSecInit() function).
This function should not be called directly by applications.
xmlSecKeyIsValid()
#define xmlSecKeyIsValid(key) |
Macro. Returns 1 if key is not NULL and key->id is not NULL
or 0 otherwise.
xmlSecKeyCheckId()
#define xmlSecKeyCheckId(key, keyId) |
Macro. Returns 1 if key is valid and key's id is equal to keyId.
xmlSecKeyCheckTransform()
#define xmlSecKeyCheckTransform(key, tr) |
Macro. Returns 1 if key is valid and could be used for transform tr.
xmlSecKeyReadXml ()
xmlSecKeyPtr xmlSecKeyReadXml (xmlSecKeyId id,
xmlNodePtr node); |
Reads the key from XML node.
xmlSecKeyWriteXml ()
int xmlSecKeyWriteXml (xmlSecKeyPtr key,
xmlSecKeyType type,
xmlNodePtr node); |
Writes the key in the XML node.
xmlSecKeyReadBin ()
xmlSecKeyPtr xmlSecKeyReadBin (xmlSecKeyId id,
unsigned char *buf,
size_t size); |
Reads the key from binary data.
xmlSecKeyWriteBin ()
int xmlSecKeyWriteBin (xmlSecKeyPtr key,
xmlSecKeyType type,
unsigned char **buf,
size_t *size); |
Writes the key in the binary buffer. The caller is responsible
for freeing the returned buffer using xmlFree() function.