1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef SFX2_SIGNATURESTATE_HXX 25 #define SFX2_SIGNATURESTATE_HXX 26 27 // xmlsec05, check with SFX team 28 #define SIGNATURESTATE_UNKNOWN (sal_Int16)(-1) 29 #define SIGNATURESTATE_NOSIGNATURES (sal_Int16)0 30 #define SIGNATURESTATE_SIGNATURES_OK (sal_Int16)1 31 #define SIGNATURESTATE_SIGNATURES_BROKEN (sal_Int16)2 32 // State was SIGNATURES_OK, but doc is modified now 33 #define SIGNATURESTATE_SIGNATURES_INVALID (sal_Int16)3 34 // signature is OK, but certificate could not be validated 35 #define SIGNATURESTATE_SIGNATURES_NOTVALIDATED (sal_Int16)4 36 //signatur and certificate are ok,but not al files are signed, as was the case in 37 //OOo 2.x - OOo 3.1.1. This state is only used together with document signatures. 38 #define SIGNATURESTATE_SIGNATURES_PARTIAL_OK (sal_Int16)5 39 40 #endif // SFX2_SIGNATURESTATE_HXX 41