/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #include #include namespace svl { namespace crypto { enum class SignatureMethodAlgorithm; } } namespace xmlsecurity { /// Extension of css::security::XCertificate for module-internal purposes. class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") Certificate { public: /// Returns the SHA-256 thumbprint. /// /// @throws css::uno::RuntimeException virtual css::uno::Sequence getSHA256Thumbprint() = 0; /// Same as getSubjectPublicKeyAlgorithm(), but returns an ID, not a string. virtual svl::crypto::SignatureMethodAlgorithm getSignatureMethodAlgorithm() = 0; protected: ~Certificate() noexcept = default; }; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ zeta-7-4'>distro/allotropia/zeta-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-05-20loplugin:unusedmethodsNoel Grandin
2023-04-25expose recovering zips for testingCaolán McNamara
2023-04-25Resolves: tdf#155005 use of uninitialised valueCaolán McNamara
2023-04-25tdf#155005 fail gracefully on encountering a negative compression valueCaolán McNamara
2023-03-30ofz#57529 Integer-overflowCaolán McNamara
2023-03-20Missing includes (for std::exception_ptr)Stephan Bergmann
2023-03-09cid#1521901 Pointer to local outside scopeCaolán McNamara
2023-03-09ofz#56826 Heap-use-after-freeCaolán McNamara
2023-03-09Fix typoAndrea Gelmini
2023-03-08tdf#82984 tdf#94915 zip64 support (import + export)Attila Szűcs
2023-03-01assert that Mutex exists at ctor timeCaolán McNamara
2023-03-01cid#1521559 pass arg as ref to prove no Dereference before null checkCaolán McNamara
2023-02-28flatten OWriteStreamNoel Grandin
2023-02-28no need to allocate OTypeCollection separately in OStorageNoel Grandin
2023-02-28no need to allocate OTypeCollection separately in WSInternalData_ImplNoel Grandin
2023-02-17osl::Mutex->std::mutex in OHierarchyElement_ImplNoel Grandin
2023-02-15Drop 'using namespace ::std' in dirs [e-p]*Gabor Kelemen
2023-01-17XUnoTunnel->dynamic_cast in ZipPackageEntryNoel Grandin
2023-01-17XUnoTunnel->dynamic_cast in ZipPackageNoel Grandin
2023-01-15Merge SvXMLAttributeList to comphelper::AttributeListMike Kaganski
2023-01-13Simplify a bitMike Kaganski
2023-01-13XUnoTunnel->dynamic_cast in comphelper::ByteReader and comphelper::ByteWriterNoel Grandin
2023-01-09use std::this_thread::sleep_for instead of osl equivalentArnaud VERSINI