LibreOffice LibreOffice 6.2 SDK API Reference

XSecurityEnvironment.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 #ifndef __com_sun_star_xml_crypto_xsecurityenvironment_idl_
21 #define __com_sun_star_xml_crypto_xsecurityenvironment_idl_
22
23 #include <com/sun/star/uno/SecurityException.idl>
24 #include <com/sun/star/uno/XInterface.idl>
25 #include <com/sun/star/uno/Exception.idl>
26 #include <com/sun/star/security/XCertificate.idl>
27 #include <com/sun/star/security/CertificateCharacters.idl>
28 #include <com/sun/star/security/CertificateValidity.idl>
29
30 module com { module sun { module star { module xml { module crypto {
31
35 interface XSecurityEnvironment : com::sun::star::uno::XInterface
36 {
40 sequence< com::sun::star::security::XCertificate > getPersonalCertificates() raises( com::sun::star::uno::SecurityException ) ;
41
45 com::sun::star::security::XCertificate getCertificate( [in] string issuerName, [in] sequence< byte > serialNumber ) raises( com::sun::star::uno::SecurityException ) ;
46
50 sequence< com::sun::star::security::XCertificate > buildCertificatePath( [in] com::sun::star::security::XCertificate beginCert ) raises( com::sun::star::uno::SecurityException ) ;
51
55 com::sun::star::security::XCertificate createCertificateFromRaw( [in] sequence< byte > rawCertificate ) raises( com::sun::star::uno::SecurityException ) ;
56
60 com::sun::star::security::XCertificate createCertificateFromAscii( [in] string asciiCertificate ) raises( com::sun::star::uno::SecurityException ) ;
61
80 long verifyCertificate( [in] com::sun::star::security::XCertificate xEECertificate,
81 [in] sequence< com::sun::star::security::XCertificate > intermediateCertificates)
82 raises( com::sun::star::uno::SecurityException ) ;
83
95 long getCertificateCharacters( [in] com::sun::star::security::XCertificate xCertificate ) raises( com::sun::star::uno::SecurityException ) ;
96
100 string getSecurityEnvironmentInformation ( );
101
107 sequence< com::sun::star::security::XCertificate > getAllCertificates() raises( com::sun::star::uno::SecurityException ) ;
108
109 } ;
110
111 } ; } ; } ; } ; } ;
112
113 #endif
114
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
CertificateCharacters.idl
com
Definition: Ambiguous.idl:22
com::sun::star::uno::SecurityException
Base exception for all security related exceptions.
Definition: SecurityException.idl:31
com::sun::star::xml::crypto::XSecurityEnvironment
Interface of Security Environment.
Definition: XSecurityEnvironment.idl:35
Exception.idl
XInterface.idl
CertificateValidity.idl
SecurityException.idl
XCertificate.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
com::sun::star::security::XCertificate
Interface of a PKI Certificate.
Definition: XCertificate.idl:35