summaryrefslogtreecommitdiffstats
path: root/core/crypto/crypto.h
Commit message (Collapse)AuthorAgeFilesLines
* [Crypto] Expose TLSOptions gettersFabio Alessandrelli2024-06-141-11/+9
|
* Add 'override' mark to ResourceFormat classppphp2024-03-251-7/+7
|
* Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-16/+16
|
* Exposes String functions for X509CertificatesScorpionInc2023-05-091-0/+2
| | | | Exposes String functions for X509Certificates via two function calls: save_to_string() and load_from_string(str).
* [NET] Refactor TLS configuration.Fabio Alessandrelli2023-01-281-0/+34
| | | | | | | | | | | | | Use a TLSOptions configuration object which is created via static functions. - "TLSOptions.client": uses the standard CA and common name verification. - "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified) - "TLSOptions.server": is the standard server configuration (chain + key) This will allow us to expand the TLS configuration options to include e.g. mutual authentication without bloating the classes that uses StreamPeerTLS and PacketPeerDTLS as underlying peers.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Swap arguments of ResourceSaver.save()kobewi2022-07-291-1/+1
|
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-4/+4
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* [Crypto] Delete mbedtls ctx in deconstructor.Fabio Alessandrelli2021-07-031-0/+1
| | | | | Would cause memory leak when the context was `start`ed but not `finish`ed.
* Rename Reference to RefCountedPedro J. Estébanez2021-06-111-5/+5
|
* Improve resource load cachereduz2021-02-111-1/+1
| | | | | | -Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* feat: HMAC support in Crypto APIsJon Bonazza2020-11-261-0/+23
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-2/+2
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Implement RSA encryption/decryption.Fabio Alessandrelli2020-06-181-0/+2
|
* Implement sign and verify in crypto.Fabio Alessandrelli2020-06-181-0/+4
|
* CryptoKey supports public keys.Fabio Alessandrelli2020-06-181-2/+5
|
* Crypto as a custom instance class.Fabio Alessandrelli2020-06-061-3/+3
|
* Port member initialization from constructor to declaration (C++11)Rémi Verschelde2020-05-141-4/+3
| | | | | | | | | | Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
* Exposed RenderingDevice to script APIJuan Linietsky2020-04-201-1/+1
| | | | | | | | | | | | | Also added an easier way to load native GLSL shaders. Extras: Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload. Note: The precommit hooks are broken because they don't seem to support enums from one class being used in another. Feel free to fix this after merging this PR.
* DocData: Skip unexposed classesRémi Verschelde2020-04-201-4/+0
| | | | Properly expose classes that we actually want accessible.
* Replace NULL with nullptrlupoDharkael2020-04-021-1/+1
|
* Removed interactive loader, added proper thread loading.Juan Linietsky2020-02-281-1/+1
|
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-1/+1
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Add Crypto custom classFabio Alessandrelli2019-08-211-0/+105