Skip to content

Commit

Permalink
Add: NASL bultin functions for certificate handling
Browse files Browse the repository at this point in the history
Added functions: cert_open, cert_query, cert_close
  • Loading branch information
Kraemii committed Sep 10, 2024
1 parent 2771ad3 commit 94573d7
Show file tree
Hide file tree
Showing 8 changed files with 687 additions and 72 deletions.
302 changes: 232 additions & 70 deletions rust/Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
resolver = "2"
members = [
"nasl-builtin-cert",
"nasl-builtin-knowledge-base",
"nasl-builtin-raw-ip",
"nasl-builtin-cryptographic",
Expand Down
19 changes: 19 additions & 0 deletions rust/nasl-builtin-cert/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "nasl-builtin-cert"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
nasl-builtin-utils = { path = "../nasl-builtin-utils" }
nasl-builtin-string = { path = "../nasl-builtin-string" }
nasl-function-proc-macro = { path = "../nasl-function-proc-macro" }
nasl-syntax = { path = "../nasl-syntax" }
storage = { path = "../storage" }

x509-certificate = "0.23.1"
x509-parser = "0.16.0"

[dev-dependencies]
nasl-interpreter = { path = "../nasl-interpreter" }
6 changes: 6 additions & 0 deletions rust/nasl-builtin-cert/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Implements
- cert_close
- cert_open
- cert_query

## Missing
Loading

0 comments on commit 94573d7

Please sign in to comment.