Rust API: Security

Module rustflexstack::security (ETSI TS 103 097 V2.2.1, TS 102 941 V2.2.1, TS 103 601). See Rust Security Subsystem for usage.

Item

Role

ecdsa_backend::EcdsaBackend

Key storage, signing and verification on NIST P-256/P-384 and brainpool P-256/P-384: new, import_signing_key, import_signing_key_with.

certificate

Certificate (from_bytes(bytes, issuer)) and OwnCertificate (new(cert, key_id)).

certificate_library::CertificateLibrary

Trust store: new(&backend, roots, aas, ats), look-ups by HashedId8 and HashedId3.

sign_service::SignService

Signing: new(backend, library), add_own_certificate.

verify_service

verify_message and the verification report.

sn_sap

SN-SAP primitives (SNSignRequest, SNVerifyRequest, ReportVerify) and SecurityProfile.

pki_client

PkiClient and load_or_create_canonical_key: enrolment, authorization, CTL/CRL, request repetition.

The exact signatures are in the generated Rustdoc reference, built from rustflexstack 0.4.0.