summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl')
-rw-r--r--offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl21
1 files changed, 7 insertions, 14 deletions
diff --git a/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl b/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
index 6937f92a7..1e8575c00 100644
--- a/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
+++ b/offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -24,18 +24,11 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-
-//i20156 - new file for XML security module
-
-/** -- idl definition -- **/
#ifndef __com_sun_star_xml_crypto_xsecurityenvironment_idl_
#define __com_sun_star_xml_crypto_xsecurityenvironment_idl_
-#ifndef __com_sun_star_uno_SecurityException_idl__
-#include <com/sun/star/uno/SecurityException.idl>
-#endif
-
+#include <com/sun/star/uno/SecurityException.idl>
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/uno/Exception.idl>
#include <com/sun/star/security/XCertificate.idl>
@@ -47,7 +40,7 @@ module com { module sun { module star { module xml { module crypto {
/**
* Interface of Security Environment
*/
-interface XSecurityEnvironment : com::sun::star::uno::XInterface
+published interface XSecurityEnvironment : com::sun::star::uno::XInterface
{
/**
* Get personal certificate from the environment
@@ -76,7 +69,7 @@ interface XSecurityEnvironment : com::sun::star::uno::XInterface
/**
Verify a certificate.
-
+
The method provides a way to verify a certificate.
@param xEECertificate
The certificate which is to be validated.
@@ -103,17 +96,17 @@ interface XSecurityEnvironment : com::sun::star::uno::XInterface
* 1. Whether or not the certificate have a private key in the user profile.
* 2. Whether or not the certificate is a trusted certificate.
* 3. Whether or not the certificate is a self-signed certificate.
- *
+ *
* The certificate characters is defined as bit-wise long, please refer to
* CertificateCharacters definition.
*/
long getCertificateCharacters( [in] com::sun::star::security::XCertificate xCertificate ) raises( com::sun::star::uno::SecurityException ) ;
-
+
/**
* Get the Environment detail infos
*/
string getSecurityEnvironmentInformation ( );
-
+
} ;
} ; } ; } ; } ; } ;