LibreOffice: com/sun/star/xml/crypto/XSecurityEnvironment.idl Source File

LibreOffice LibreOffice 24.2 SDK API Reference |

Loading...
Searching...
No Matches
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
20module com { module sun { module star { module xml { module crypto {
21
25 interface XSecurityEnvironment : com::sun::star::uno::XInterface
26{
30 sequence< com::sun::star::security::XCertificate > getPersonalCertificates() raises( com::sun::star::uno::SecurityException ) ;
31
35 com::sun::star::security::XCertificate getCertificate( [in] string issuerName, [in] sequence< byte > serialNumber ) raises( com::sun::star::uno::SecurityException ) ;
36
40 sequence< com::sun::star::security::XCertificate > buildCertificatePath( [in] com::sun::star::security::XCertificate beginCert ) raises( com::sun::star::uno::SecurityException ) ;
41
45 com::sun::star::security::XCertificate createCertificateFromRaw( [in] sequence< byte > rawCertificate ) raises( com::sun::star::uno::SecurityException ) ;
46
50 com::sun::star::security::XCertificate createCertificateFromAscii( [in] string asciiCertificate ) raises( com::sun::star::uno::SecurityException ) ;
51
70 long verifyCertificate( [in] com::sun::star::security::XCertificate xEECertificate,
71 [in] sequence< com::sun::star::security::XCertificate > intermediateCertificates)
72 raises( com::sun::star::uno::SecurityException ) ;
73
85 long getCertificateCharacters( [in] com::sun::star::security::XCertificate xCertificate ) raises( com::sun::star::uno::SecurityException ) ;
86
90 string getSecurityEnvironmentInformation ( );
91
97 sequence< com::sun::star::security::XCertificate > getAllCertificates() raises( com::sun::star::uno::SecurityException ) ;
98
99} ;
100
101} ; } ; } ; } ; } ;
102
103/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
com::sun::star::xml::crypto::XSecurityEnvironment
Interface of Security Environment.
Definition XSecurityEnvironment.idl:26
com::sun::star::xml::crypto::XSecurityEnvironment::getCertificate
com::sun::star::security::XCertificate getCertificate([in] string issuerName, [in] sequence< byte > serialNumber)
Get certificate from the environment by issuer name and serial number.
com::sun::star::xml::crypto::XSecurityEnvironment::getPersonalCertificates
sequence< com::sun::star::security::XCertificate > getPersonalCertificates()
Get personal certificates from the environment.
com::sun::star::xml::crypto::XSecurityEnvironment::createCertificateFromAscii
com::sun::star::security::XCertificate createCertificateFromAscii([in] string asciiCertificate)
Create certificate interface from a Base64 encoded certificate.
com::sun::star::xml::crypto::XSecurityEnvironment::buildCertificatePath
sequence< com::sun::star::security::XCertificate > buildCertificatePath([in] com::sun::star::security::XCertificate beginCert)
Build certificate path from a certain certificate.
com::sun::star::xml::crypto::XSecurityEnvironment::getAllCertificates
sequence< com::sun::star::security::XCertificate > getAllCertificates()
List all certificates, private (as returned by getPersonalCertificates) as well as those of other peo...
com::sun::star::xml::crypto::XSecurityEnvironment::getCertificateCharacters
long getCertificateCharacters([in] com::sun::star::security::XCertificate xCertificate)
Get a certificate characters.
com::sun::star::xml::crypto::XSecurityEnvironment::getSecurityEnvironmentInformation
string getSecurityEnvironmentInformation()
Get the Environment detail information.
com::sun::star::xml::crypto::XSecurityEnvironment::verifyCertificate
long verifyCertificate([in] com::sun::star::security::XCertificate xEECertificate, [in] sequence< com::sun::star::security::XCertificate > intermediateCertificates)
Verify a certificate.
com::sun::star::xml::crypto::XSecurityEnvironment::createCertificateFromRaw
com::sun::star::security::XCertificate createCertificateFromRaw([in] sequence< byte > rawCertificate)
Create certificate interface from raw DER encoded certificate.
com::sun::star::security
Interface for authorisation and authentication.
Definition modules.idl:69
com::sun::star::uno
Basic UNO interfaces.
Definition modules.idl:72
com::sun::star
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
com::sun
Definition Ambiguous.idl:20
com
Definition Ambiguous.idl:20