Move PKCS#11, RSA key transport, AES-GCM, key import, CMC, and MTC
reference documentation from api-reference.md into a new
crypto-operations.md page. api-reference.md now contains only the
rustdoc iframe embed.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Add CMC crate entry to the root README protocol schemas section,
codebase summary inventory, system architecture Mermaid diagram,
and API reference.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
- system-architecture.md: update leaf hash wire format to include
extensions prefix per draft-04 section 4.1; add tools --> mtc
dependency edge
- api-reference.md: update CosignerID from struct to ObjectIdentifier
- codebase-summary.md: update synta-tools line count (~500 -> ~1600)
and description to include MTC support
- contribution.md: update synta-tools description for MTC capabilities
- synta-tools/README.md: document MTC certificate types (X.509 wrapper,
standalone, landmark) and --subtree-root option
- CHANGELOGs: add entries for MTC tools (synta-tools), extensions
prefix fix (synta-mtc), and FailedKeySigner gating (synta-certificate)
- Fix incorrect "NSS takes priority" claims in rust/installation.md,
rust/pki/keys.md, and python/dev/cargo-features.md; OpenSSL takes
priority per the actual cfg gating in synta-certificate/src/lib.rs
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Add user-facing documentation for the raw component import constructors
added to BackendPrivateKey:
- BackendPrivateKey::from_ec_private_scalar
- BackendPrivateKey::from_rsa_private_components / RsaPrivateComponents
Covers docs/api-reference.md (new section), docs/python/src/pki/keys.md
(note on Python workaround), docs/rust/src/pki/keys.md (usage examples
and RsaPrivateComponents field table), and synta-certificate/README.md
(updated BackendPrivateKey description).
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
- api-reference.md: add PKCS#11 URI Key Loading section with full API
reference for from_pkcs11_uri(), pkcs11_info(), Pkcs11Uri, and
Pkcs11UriAttributes including per-backend mandatory attribute table
- system-architecture.md: add PKCS#11 Key Loading Architecture section
with OpenSSL (OSSL_STORE) and NSS (PK11_ListPrivKeysInSlot) Mermaid
sequence diagrams and design decision table
- testing-guide.md: add PKCS#11/HSM integration test section documenting
the kryoptic test, build-time library discovery, --test-threads=1
requirement, and graceful skip behaviour
- deployment-guide.md: add HSM/PKCS#11 Key Storage section with step-by-step
OpenSSL provider and NSS secmod setup, kryoptic usage example, and
no-key-extraction guarantee
- codebase-summary.md: note new synta-certificate modules, foreign-types
optional dependency, and PKCS#11 URI support in Python API surface
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Scale rustdoc font size to match mdBook: the iframe viewport is the
content area (~83% of page width), so clamp(16px, 1.5vw, 26px) on
html produces the same effective text size as mdBook's 1.2vw on the
full page.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
- Extend job_doc in local-ci.sh to build the mdBook and copy
target/doc/ into docs/book/api/ after cargo doc runs
- Detect mdbook in detect_tools(); gracefully skip book build if absent
- Add docs/api-reference.md: meta-refresh redirect + per-crate links
with a note explaining how to build when links are missing
- Register the page in docs/SUMMARY.md under the Reference section
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
All 15 files were 5-10 line stubs pointing to pages in the new sub-books
(docs/rust/src/, docs/c/src/, docs/perf/src/, docs/python/src/).
Content is fully covered; no migration needed.
Removed: C_API.md, C_CODE_GENERATION.md, C_MEMORY.md,
COMPARISON_BENCHMARK.md, MIGRATION_LIBTASN1.md, MIGRATION_OPENSSL.md,
api-reference.md, asn1-support.md, best-practices.md, c-generation.md,
no_std.md, performance.md, rust-generation.md, tutorial.md, usage.md
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
- README.md: update feature list to reflect CMS full suite (SignedData,
EnvelopedData, EncryptedData, DigestedData), Python synta.cms submodule,
Kerberos ETYPE_* constants, and improved codegen capabilities; refresh
docs table of contents with new guide links
- docs/C_API.md: add complete CMS API section (ContentInfo, SignedData,
SignerInfo, EnvelopedData, EncryptedData, DigestedData) with function
signatures, parameters, return values, and usage examples
- docs/api-reference.md: expand codegen library API reference with
DeriveMode, any_as_raw_der, and Information Object Class sections
- docs/asn1-support.md: document ANY DEFINED BY and IOC parsing support
- docs/rust-generation.md: document DeriveMode variants and RawDer output
for open-typed fields
- synta-ffi/README.md: update feature count and add CMS section overview
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The two CCodeGenConfig examples use synta_codegen::{parse, …} which
is not a dependency of the doc-checker crate (the validator only
depends on synta). Mark them rust,ignore so the validator skips
them.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
All markdown documentation outside README files now lives under a
single docs/ tree. Move the eight files from synta-codegen/docs/:
asn1-support.md, api-reference.md, best-practices.md,
c-generation.md, limitations.md, rust-generation.md,
troubleshooting.md, tutorial.md
Cross-references between these files use relative names and remain
correct since they all land in the same directory. Remove the now-empty
synta-codegen/docs/ directory and merge its README into docs/README.md
as a new "Code Generation" section.
Update synta-codegen/README.md links from docs/ to ../docs/.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2026-02-28 23:39:52 +01:00
Renamed from synta-codegen/docs/api-reference.md (Browse further)