1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com
{ module sun
{ module star
{ module xml
{ module crypto
{
23 * Defines results for security operation.
25 enum SecurityOperationStatus
31 * The following constants are derived from XMLSec error definitions, as following:
33 * XMLSEC_ERRORS_R_XMLSEC_FAILED
34 * XMLSEC_ERRORS_R_MALLOC_FAILED
35 * XMLSEC_ERRORS_R_STRDUP_FAILED
36 * XMLSEC_ERRORS_R_CRYPTO_FAILED
37 * XMLSEC_ERRORS_R_XML_FAILED
38 * XMLSEC_ERRORS_R_XSLT_FAILED
39 * XMLSEC_ERRORS_R_IO_FAILED
40 * XMLSEC_ERRORS_R_DISABLED
41 * XMLSEC_ERRORS_R_NOT_IMPLEMENTED
42 * XMLSEC_ERRORS_R_INVALID_SIZE
43 * XMLSEC_ERRORS_R_INVALID_DATA
44 * XMLSEC_ERRORS_R_INVALID_RESULT
45 * XMLSEC_ERRORS_R_INVALID_TYPE
46 * XMLSEC_ERRORS_R_INVALID_OPERATION
47 * XMLSEC_ERRORS_R_INVALID_STATUS
48 * XMLSEC_ERRORS_R_INVALID_FORMAT
49 * XMLSEC_ERRORS_R_DATA_NOT_MATCH
50 * XMLSEC_ERRORS_R_INVALID_NODE
51 * XMLSEC_ERRORS_R_INVALID_NODE_CONTENT
52 * XMLSEC_ERRORS_R_INVALID_NODE_ATTRIBUTE
53 * XMLSEC_ERRORS_R_MISSING_NODE_ATTRIBUTE
54 * XMLSEC_ERRORS_R_NODE_ALREADY_PRESENT
55 * XMLSEC_ERRORS_R_UNEXPECTED_NODE
56 * XMLSEC_ERRORS_R_NODE_NOT_FOUND
57 * XMLSEC_ERRORS_R_INVALID_TRANSFORM
58 * XMLSEC_ERRORS_R_INVALID_TRANSFORM_KEY
59 * XMLSEC_ERRORS_R_INVALID_URI_TYPE
60 * XMLSEC_ERRORS_R_TRANSFORM_SAME_DOCUMENT_REQUIRED
61 * XMLSEC_ERRORS_R_TRANSFORM_DISABLED
62 * XMLSEC_ERRORS_R_INVALID_KEY_DATA
63 * XMLSEC_ERRORS_R_KEY_DATA_NOT_FOUND
64 * XMLSEC_ERRORS_R_KEY_DATA_ALREADY_EXIST
65 * XMLSEC_ERRORS_R_INVALID_KEY_DATA_SIZE
66 * XMLSEC_ERRORS_R_KEY_NOT_FOUND
67 * XMLSEC_ERRORS_R_KEYDATA_DISABLED
68 * XMLSEC_ERRORS_R_MAX_RETRIEVALS_LEVEL
69 * XMLSEC_ERRORS_R_MAX_RETRIEVAL_TYPE_MISMATCH
70 * XMLSEC_ERRORS_R_MAX_ENCKEY_LEVEL
71 * XMLSEC_ERRORS_R_CERT_VERIFY_FAILED
72 * XMLSEC_ERRORS_R_CERT_NOT_FOUND
73 * XMLSEC_ERRORS_R_CERT_REVOKED
74 * XMLSEC_ERRORS_R_CERT_ISSUER_FAILED
75 * XMLSEC_ERRORS_R_CERT_NOT_YET_VALID
76 * XMLSEC_ERRORS_R_CERT_HAS_EXPIRED
77 * XMLSEC_ERRORS_R_DSIG_NO_REFERENCES
78 * XMLSEC_ERRORS_R_DSIG_INVALID_REFERENCE
79 * XMLSEC_ERRORS_R_ASSERTION
80 * XMLSEC_ERRORS_MAX_NUMBER
100 INVALID_NODE_CONTENT
,
101 INVALID_NODE_ATTRIBUTE
,
102 MISSING_NODE_ATTRIBUTE
,
103 NODE_ALREADY_PRESENT
,
107 INVALID_TRANSFORM_KEY
,
109 TRANSFORM_SAME_DOCUMENT_REQUIRED
,
113 KEY_DATA_ALREADY_EXIST
,
114 INVALID_KEY_DATA_SIZE
,
117 MAX_RETRIEVALS_LEVEL
,
118 MAX_RETRIEVAL_TYPE_MISMATCH
,
127 DSIG_INVALID_REFERENCE
,
133 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */