tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / xml / crypto / KDFID.idl
blobdc58e6b7463ea635c6bf9977b9668c7cce2bcce3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 module com { module sun { module star { module xml { module crypto {
12 /** Constants to identify Key Derivation Function
13 @since LibreOffice 24.2
15 constants KDFID
17 /** PBKDF2
19 Derive key material from password. When used with ODF, the
20 "StartKeyGenerationAlgorithm" is applied to the password and the
21 result is passed to KDF.
23 const long PBKDF2 = 1;
25 /** OpenPGP/GnuPG
27 Of course this is public key encryption, but it does produce
28 key material for symmetric encryption. When used with ODF, the
29 "StartKeyGenerationAlgorithm" digest is not used, as the input
30 is not a password.
32 const long PGP_RSA_OAEP_MGF1P = 2;
34 /** Argon2id
36 Derive key material from password. When used with ODF, the
37 "StartKeyGenerationAlgorithm" is applied to the password and the
38 result is passed to KDF.
40 @see https://www.rfc-editor.org/rfc/rfc9106.html
42 const long Argon2id = 3;
45 }; }; }; }; };
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */