diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-01 12:41:28 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-03 19:02:37 +0200 |
commit | 35ff3d6950e6428c3a6c3d7b275313db2412aafa (patch) | |
tree | bb6659da78f8020d09be8d849cfb1baa0416634a /lasso/xml | |
parent | 8ebeeb9a361d6bb9f7f74039eef9feb320feeb17 (diff) | |
download | lasso-35ff3d6950e6428c3a6c3d7b275313db2412aafa.tar.gz lasso-35ff3d6950e6428c3a6c3d7b275313db2412aafa.tar.xz lasso-35ff3d6950e6428c3a6c3d7b275313db2412aafa.zip |
[Strings] add string constant for the internal XML attributes used in dumps
Add string constants for signature method, signature type, private key
(file path or content), private key password and certificate (file path
or content).
Add cast for xmlChar constant strings definition in python bindings, it
assumed all constant strings were char*.
Diffstat (limited to 'lasso/xml')
-rw-r--r-- | lasso/xml/strings.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lasso/xml/strings.h b/lasso/xml/strings.h index 9638e9c1..097eac7d 100644 --- a/lasso/xml/strings.h +++ b/lasso/xml/strings.h @@ -131,6 +131,41 @@ */ #define LASSO_PYTHON_HREF "http://www.entrouvert.org/namespaces/python/0.0" +/** + * LASSO_SIGNATURE_TYPE_ATTRIBUTE: + * + * Attribute name for the Lasso signature type attribute. + */ +#define LASSO_SIGNATURE_TYPE_ATTRIBUTE BAD_CAST "SignatureType" + +/** + * LASSO_SIGNATURE_METHOD_ATTRIBUTE: + * + * Attribute name for the Lasso signature type attribute. + */ +#define LASSO_SIGNATURE_METHOD_ATTRIBUTE BAD_CAST "SignatureMethod" + +/** + * LASSO_PRIVATE_KEY_ATTRIBUTE: + * + * Attribute name for the Lasso private key attribute. + */ +#define LASSO_PRIVATE_KEY_ATTRIBUTE BAD_CAST "PrivateKey" + +/** + * LASSO_PRIVATE_KEY_PASSWORD_ATTRIBUTE: + * + * Attribute name for the Lasso private key attribute. + */ +#define LASSO_PRIVATE_KEY_PASSWORD_ATTRIBUTE BAD_CAST "PrivateKeyPassword" + +/** + * LASSO_CERTIFICATE_ATTRIBUTE: + * + * Attribute name for the Lasso private key attribute. + */ +#define LASSO_CERTIFICATE_ATTRIBUTE BAD_CAST "Certificate" + /*****************************************************************************/ /* Liberty Alliance ID-FF */ /*****************************************************************************/ |