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 
29 
30 module com { module sun { module star { module xml { module crypto {
31 
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)
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: */
Definition: Ambiguous.idl:22
Base exception for all security related exceptions.
Definition: SecurityException.idl:31
Interface of Security Environment.
Definition: XSecurityEnvironment.idl:35
base interface of all UNO interfaces
Definition: XInterface.idl:47
Interface of a PKI Certificate.
Definition: XCertificate.idl:35