office-gobmx/offapi/com/sun/star/security/CertificateValidity.idl
Rüdiger Timm 6cb44bb2b1 INTEGRATION: CWS ooo19126 (1.3.52); FILE MERGED
2005/09/05 12:26:51 rt 1.3.52.1: #i54170# Change license header: remove SISSL
2005-09-08 03:09:48 +00:00

134 lines
3.4 KiB
Text

/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CertificateValidity.idl,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 04:09:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 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
*
************************************************************************/
//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 INVALID = 0x00000001 ;
/**
* The certificate itself is untrusted.
*/
const long UNTRUSTED = 0x00000002 ;
/**
* It is a time-out certificate.
*/
const long TIMEOUT = 0x00000004 ;
/**
* It is a revoked certificate.
*/
const long REVOKED = 0x00000008 ;
/**
* The certificate revocation status is unknown.
*/
const long UNKNOWN_REVOKATION = 0x00000010 ;
/**
* The certificate signature is invalid.
*/
const long SIGNATURE_INVALID = 0x00000020 ;
/**
* The certificate has invalid extensions.
*/
const long EXTENSION_INVALID = 0x00000040 ;
/**
* The certificate has critical unknown extensions.
*/
const long EXTENSION_UNKNOWN = 0x00000080 ;
/**
* The certificate issuer is unknown.
*/
const long ISSUER_UNKNOWN = 0x00000100 ;
/**
* The certificate issuer is untrusted.
*/
const long ISSUER_UNTRUSTED = 0x00000200 ;
/**
* The certificate issuer is invalid.
*/
const long ISSUER_INVALID = 0x00000400 ;
/**
* The root certificate is unknown.
*/
const long ROOT_UNKNOWN = 0x00001000 ;
/**
* The root certificate is untrusted.
*/
const long ROOT_UNTRUSTED = 0x00002000 ;
/**
* The root certificate is invalid.
*/
const long ROOT_INVALID = 0x00004000 ;
/**
* The certificate chain is incomplete.
*/
const long CHAIN_INCOMPLETE = 0x00010000 ;
} ;
} ; } ; } ; } ;
#endif