summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/security
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-08-31 08:50:27 +0000
committerKurt Zenker <kz@openoffice.org>2004-08-31 08:50:27 +0000
commitab87c4b495e18f59fc9a05e38008e0740f85d1fd (patch)
tree9184abcf516d3820786bf93b0c3583885a515fd3 /offapi/com/sun/star/security
parentaec421a040354d884b35ace98cf4f64c79fd4561 (diff)
INTEGRATION: CWS xmlsec05 (1.1.2); FILE ADDED
2004/08/02 04:48:35 mmi 1.1.2.2: Issue number: Submitted by: Andrew Fan Reviewed by: Adjust CertificateValidity interface. 2004/07/19 11:33:08 mmi 1.1.2.1: Issue number: Submitted by: Andrew Fan Reviewed by: Add certificate statuse interfaces.
Diffstat (limited to 'offapi/com/sun/star/security')
-rw-r--r--offapi/com/sun/star/security/CertificateValidity.idl160
1 files changed, 160 insertions, 0 deletions
diff --git a/offapi/com/sun/star/security/CertificateValidity.idl b/offapi/com/sun/star/security/CertificateValidity.idl
new file mode 100644
index 000000000000..7424aabc1eb6
--- /dev/null
+++ b/offapi/com/sun/star/security/CertificateValidity.idl
@@ -0,0 +1,160 @@
+/*************************************************************************
+ *
+ * $RCSfile: CertificateValidity.idl,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: kz $ $Date: 2004-08-31 09:50:27 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+//i20156 - new file for xmlsecurity module
+
+/** -- idl definition -- **/
+
+#ifndef __com_sun_star_security_CertificateValidity_idl_
+#define __com_sun_star_security_CertificateValidity_idl_
+
+#include <com/sun/star/uno/XInterface.idl>
+#include <com/sun/star/util/DateTime.idl>
+
+module com { module sun { module star { module security {
+
+/**
+ * Constant definiton of a certificate characters.
+ *
+ * The certificate characters will be defined as bit-wise constants.
+ */
+constants CertificateValidity
+{
+ /**
+ * The certificate is invalid.
+ */
+ const long CERT_VALIDITY_INVALID = 0x00000001 ;
+
+ /**
+ * The certificate itself is untrusted.
+ */
+ const long CERT_VALIDITY_UNTRUSTED = 0x00000002 ;
+
+ /**
+ * It is a time-out certificate.
+ */
+ const long CERT_VALIDITY_TIMEOUT = 0x00000004 ;
+
+ /**
+ * It is a revoked certificate.
+ */
+ const long CERT_VALIDITY_REVOKED = 0x00000008 ;
+
+ /**
+ * The certificate revocation status is unknown.
+ */
+ const long CERT_VALIDITY_UNKNOWN_REVOKATION = 0x00000010 ;
+
+ /**
+ * The certificate signature is invalid.
+ */
+ const long CERT_VALIDITY_SIGNATURE_INVALID = 0x00000020 ;
+
+ /**
+ * The certificate has invalid extensions.
+ */
+ const long CERT_VALIDITY_EXTENSION_INVALID = 0x00000040 ;
+
+ /**
+ * The certificate has critical unknown extensions.
+ */
+ const long CERT_VALIDITY_EXTENSION_UNKNOWN = 0x00000080 ;
+
+ /**
+ * The certificate issuer is unknown.
+ */
+ const long CERT_VALIDITY_ISSUER_UNKNOWN = 0x00000100 ;
+
+ /**
+ * The certificate issuer is untrusted.
+ */
+ const long CERT_VALIDITY_ISSUER_UNTRUSTED = 0x00000200 ;
+
+ /**
+ * The certificate issuer is invalid.
+ */
+ const long CERT_VALIDITY_ISSUER_INVALID = 0x00000400 ;
+
+ /**
+ * The root certificate is unknown.
+ */
+ const long CERT_VALIDITY_ROOT_UNKNOWN = 0x00001000 ;
+
+ /**
+ * The root certificate is untrusted.
+ */
+ const long CERT_VALIDITY_ROOT_UNTRUSTED = 0x00002000 ;
+
+ /**
+ * The root certificate is invalid.
+ */
+ const long CERT_VALIDITY_ROOT_INVALID = 0x00004000 ;
+
+ /**
+ * The certificate chain is incomplete.
+ */
+ const long CERT_VALIDITY_CHAIN_INCOMPLETE = 0x00010000 ;
+} ;
+
+} ; } ; } ; } ;
+
+#endif
+