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 Aug 19, 2024
1 parent 159eb75 commit 77e4ee9
Show file tree
Hide file tree
Showing 7 changed files with 414 additions and 14 deletions.
128 changes: 128 additions & 0 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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
18 changes: 18 additions & 0 deletions rust/nasl-builtin-cert/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[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-function-proc-macro = { path = "../nasl-function-proc-macro" }
nasl-syntax = { path = "../nasl-syntax" }
storage = { path = "../storage" }

x509-parser = "0.16"
time = { version = "0", features = ["parsing"] }

[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 77e4ee9

Please sign in to comment.