LibreOffice Module xmlsecurity (master) 1
certificate.hxx
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
10#pragma once
11
12#include <sal/types.h>
13
14#include <com/sun/star/uno/Sequence.hxx>
15
16namespace svl
17{
18namespace crypto
19{
21}
22}
23
24namespace xmlsecurity
25{
27class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") Certificate
28{
29public:
33 virtual css::uno::Sequence<sal_Int8> getSHA256Thumbprint() = 0;
34
36 virtual svl::crypto::SignatureMethodAlgorithm getSignatureMethodAlgorithm() = 0;
37
38protected:
39 ~Certificate() noexcept = default;
40};
41}
42
43/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") Certificate
Extension of css::security::XCertificate for module-internal purposes.
Definition: certificate.hxx:27
#define SAL_NO_VTABLE