~ubuntu-branches/ubuntu/gutsy/lasso/gutsy-security

« back to all changes in this revision

Viewing changes to lasso/id-ff/provider.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: provider.h,v 1.23 2006/02/21 09:51:49 fpeters Exp $ 
 
1
/* $Id: provider.h,v 1.29 2006/12/27 15:04:00 fpeters Exp $ 
2
2
 *
3
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
4
4
 *
30
30
#endif /* __cplusplus */ 
31
31
 
32
32
#include <lasso/xml/xml.h>
 
33
#include <lasso/xml/xml_enc.h>
33
34
 
34
35
#define LASSO_TYPE_PROVIDER (lasso_provider_get_type())
35
36
#define LASSO_PROVIDER(obj) \
115
116
 
116
117
/**
117
118
 * LassoProtocolConformance:
118
 
 * LASSO_PROTOCOL_LIBERTY_1_0: Liberty ID-FF 1.0
119
 
 * LASSO_PROTOCOL_LIBERTY_1_1: Liberty ID-FF 1.1
120
 
 * LASSO_PROTOCOL_LIBERTY_1_2: Liberty ID-FF 1.2 / ID-WSF 1.0
121
 
 * LASSO_PROTOCOL_SAML_2_0: SAML 2.0
 
119
 * @LASSO_PROTOCOL_LIBERTY_1_0: Liberty ID-FF 1.0
 
120
 * @LASSO_PROTOCOL_LIBERTY_1_1: Liberty ID-FF 1.1
 
121
 * @LASSO_PROTOCOL_LIBERTY_1_2: Liberty ID-FF 1.2 / ID-WSF 1.0
 
122
 * @LASSO_PROTOCOL_SAML_2_0: SAML 2.0
122
123
 *
123
124
 * Provider protocol conformance.
124
125
 **/
130
131
} LassoProtocolConformance;
131
132
 
132
133
 
 
134
/**
 
135
 * LassoEncryptionMode:
 
136
 * @LASSO_ENCRYPTION_MODE_NONE: Encrypt nothing
 
137
 * @LASSO_ENCRYPTION_MODE_NAMEID: Encrypt NameIDs
 
138
 * @LASSO_ENCRYPTION_MODE_ASSERTION : Encrypt Assertions
 
139
 *
 
140
 * Encryption mode.
 
141
 **/
 
142
typedef enum {
 
143
        LASSO_ENCRYPTION_MODE_NONE,
 
144
        LASSO_ENCRYPTION_MODE_NAMEID,
 
145
        LASSO_ENCRYPTION_MODE_ASSERTION,
 
146
} LassoEncryptionMode;
 
147
 
 
148
 
133
149
struct _LassoProvider {
134
150
        LassoNode parent;
135
151
 
176
192
LASSO_EXPORT LassoProtocolConformance lasso_provider_get_protocol_conformance(
177
193
                LassoProvider *provider);
178
194
 
 
195
LASSO_EXPORT void lasso_provider_set_encryption_mode(LassoProvider *provider,
 
196
                LassoEncryptionMode encryption_mode);
 
197
 
 
198
LASSO_EXPORT void lasso_provider_set_encryption_sym_key_type(LassoProvider *provider,
 
199
                LassoEncryptionSymKeyType encryption_sym_key_type);
 
200
 
179
201
#ifdef __cplusplus
180
202
}
181
203
#endif /* __cplusplus */