Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / security / CertificateValidity.idl
blobcc304cd4aecbce8693d14142484884c9ab75da6d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 //i20156 - new file for xml security module
31 /** -- idl definition -- **/
33 #ifndef __com_sun_star_security_CertificateValidity_idl_
34 #define __com_sun_star_security_CertificateValidity_idl_
36 #include <com/sun/star/uno/XInterface.idl>
37 #include <com/sun/star/util/DateTime.idl>
39 module com { module sun { module star { module security {
41 /**
42 * Constant definition of a certificate characters.
44 * The certificate characters will be defined as bit-wise constants.
46 constants CertificateValidity
48 const long VALID = 0x00000000;
49 /**
50 * The certificate is invalid.
52 const long INVALID = 0x00000001 ;
54 /**
55 * The certificate itself is untrusted.
57 const long UNTRUSTED = 0x00000002 ;
59 /**
60 * The current time is not in the range of time for
61 * which the certificate is valid.
63 const long TIME_INVALID = 0x00000004 ;
65 /** The time range of a certificate does not fall within
66 the time range of the issuing certificate.
68 const long NOT_TIME_NESTED = 0x00000008;
70 /**
71 * It is a revoked certificate.
73 const long REVOKED = 0x00000010 ;
75 /**
76 * The certificate revocation status is unknown.
78 const long UNKNOWN_REVOKATION = 0x00000020 ;
80 /**
81 * The certificate signature is invalid.
83 const long SIGNATURE_INVALID = 0x00000040 ;
85 /**
86 * The certificate has invalid extensions.
88 const long EXTENSION_INVALID = 0x00000080 ;
90 /**
91 * The certificate has critical unknown extensions.
93 const long EXTENSION_UNKNOWN = 0x00000100 ;
95 /**
96 * The certificate issuer is unknown.
98 const long ISSUER_UNKNOWN = 0x00000200;
101 * The certificate issuer is untrusted.
103 const long ISSUER_UNTRUSTED = 0x00000400 ;
106 * The certificate issuer is invalid.
108 const long ISSUER_INVALID = 0x00001000 ;
111 * The root certificate is unknown.
113 const long ROOT_UNKNOWN = 0x00002000 ;
116 * The root certificate is untrusted.
118 const long ROOT_UNTRUSTED = 0x00004000 ;
121 * The root certificate is invalid.
123 const long ROOT_INVALID = 0x00010000 ;
126 * The certificate chain is incomplete.
128 const long CHAIN_INCOMPLETE = 0x00020000 ;
131 } ; } ; } ; } ;
133 #endif
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */