Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / xml / crypto / SecurityOperationStatus.idl
blob88adfe3bbc9060a2000f8d40249a2e0d036ca339
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SecurityOperationStatus.idl,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 //i20156 - new file for xmlsecurity module
33 /** -- idl definition -- **/
35 #ifndef __com_sun_star_xml_crypto_securityoperationstatus_idl_
36 #define __com_sun_star_xml_crypto_securityoperationstatus_idl_
38 module com { module sun { module star { module xml { module crypto {
40 /**
41 * Defines results for security operation.
43 enum SecurityOperationStatus
45 UNKNOWN,
46 OPERATION_SUCCEEDED,
47 RUNTIMEERROR_FAILED,
48 /**
49 * The following constants are derived from xmlsec error definations, as following:
51 * XMLSEC_ERRORS_R_XMLSEC_FAILED
52 * XMLSEC_ERRORS_R_MALLOC_FAILED
53 * XMLSEC_ERRORS_R_STRDUP_FAILED
54 * XMLSEC_ERRORS_R_CRYPTO_FAILED
55 * XMLSEC_ERRORS_R_XML_FAILED
56 * XMLSEC_ERRORS_R_XSLT_FAILED
57 * XMLSEC_ERRORS_R_IO_FAILED
58 * XMLSEC_ERRORS_R_DISABLED
59 * XMLSEC_ERRORS_R_NOT_IMPLEMENTED
60 * XMLSEC_ERRORS_R_INVALID_SIZE
61 * XMLSEC_ERRORS_R_INVALID_DATA
62 * XMLSEC_ERRORS_R_INVALID_RESULT
63 * XMLSEC_ERRORS_R_INVALID_TYPE
64 * XMLSEC_ERRORS_R_INVALID_OPERATION
65 * XMLSEC_ERRORS_R_INVALID_STATUS
66 * XMLSEC_ERRORS_R_INVALID_FORMAT
67 * XMLSEC_ERRORS_R_DATA_NOT_MATCH
68 * XMLSEC_ERRORS_R_INVALID_NODE
69 * XMLSEC_ERRORS_R_INVALID_NODE_CONTENT
70 * XMLSEC_ERRORS_R_INVALID_NODE_ATTRIBUTE
71 * XMLSEC_ERRORS_R_MISSING_NODE_ATTRIBUTE
72 * XMLSEC_ERRORS_R_NODE_ALREADY_PRESENT
73 * XMLSEC_ERRORS_R_UNEXPECTED_NODE
74 * XMLSEC_ERRORS_R_NODE_NOT_FOUND
75 * XMLSEC_ERRORS_R_INVALID_TRANSFORM
76 * XMLSEC_ERRORS_R_INVALID_TRANSFORM_KEY
77 * XMLSEC_ERRORS_R_INVALID_URI_TYPE
78 * XMLSEC_ERRORS_R_TRANSFORM_SAME_DOCUMENT_REQUIRED
79 * XMLSEC_ERRORS_R_TRANSFORM_DISABLED
80 * XMLSEC_ERRORS_R_INVALID_KEY_DATA
81 * XMLSEC_ERRORS_R_KEY_DATA_NOT_FOUND
82 * XMLSEC_ERRORS_R_KEY_DATA_ALREADY_EXIST
83 * XMLSEC_ERRORS_R_INVALID_KEY_DATA_SIZE
84 * XMLSEC_ERRORS_R_KEY_NOT_FOUND
85 * XMLSEC_ERRORS_R_KEYDATA_DISABLED
86 * XMLSEC_ERRORS_R_MAX_RETRIEVALS_LEVEL
87 * XMLSEC_ERRORS_R_MAX_RETRIEVAL_TYPE_MISMATCH
88 * XMLSEC_ERRORS_R_MAX_ENCKEY_LEVEL
89 * XMLSEC_ERRORS_R_CERT_VERIFY_FAILED
90 * XMLSEC_ERRORS_R_CERT_NOT_FOUND
91 * XMLSEC_ERRORS_R_CERT_REVOKED
92 * XMLSEC_ERRORS_R_CERT_ISSUER_FAILED
93 * XMLSEC_ERRORS_R_CERT_NOT_YET_VALID
94 * XMLSEC_ERRORS_R_CERT_HAS_EXPIRED
95 * XMLSEC_ERRORS_R_DSIG_NO_REFERENCES
96 * XMLSEC_ERRORS_R_DSIG_INVALID_REFERENCE
97 * XMLSEC_ERRORS_R_ASSERTION
98 * XMLSEC_ERRORS_MAX_NUMBER
100 ENGINE_FAILED,
101 MALLOC_FAILED,
102 STRDUP_FAILED,
103 CRYPTO_FAILED,
104 XML_FAILED,
105 XSLT_FAILED,
106 IO_FAILED,
107 DISABLED,
108 NOT_IMPLEMENTED,
109 INVALID_SIZE,
110 INVALID_DATA,
111 INVALID_RESULT,
112 INVALID_TYPE,
113 INVALID_OPERATION,
114 INVALID_STATUS,
115 INVALID_FORMAT,
116 DATA_NOT_MATCH,
117 INVALID_NODE,
118 INVALID_NODE_CONTENT,
119 INVALID_NODE_ATTRIBUTE,
120 MISSING_NODE_ATTRIBUTE,
121 NODE_ALREADY_PRESENT,
122 UNEXPECTED_NODE,
123 NODE_NOT_FOUND,
124 INVALID_TRANSFORM,
125 INVALID_TRANSFORM_KEY,
126 INVALID_URI_TYPE,
127 TRANSFORM_SAME_DOCUMENT_REQUIRED,
128 TRANSFORM_DISABLED,
129 INVALID_KEY_DATA,
130 KEY_DATA_NOT_FOUND,
131 KEY_DATA_ALREADY_EXIST,
132 INVALID_KEY_DATA_SIZE,
133 KEY_NOT_FOUND,
134 KEYDATA_DISABLED,
135 MAX_RETRIEVALS_LEVEL,
136 MAX_RETRIEVAL_TYPE_MISMATCH,
137 MAX_ENCKEY_LEVEL,
138 CERT_VERIFY_FAILED,
139 CERT_NOT_FOUND,
140 CERT_REVOKED,
141 CERT_ISSUER_FAILED,
142 CERT_NOT_YET_VALID,
143 CERT_HAS_EXPIRED,
144 DSIG_NO_REFERENCES,
145 DSIG_INVALID_REFERENCE,
146 ASSERTION
149 } ; } ; } ; } ; } ;
152 #endif