mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-22 09:24:55 +02:00
53 lines
858 B
Rust
53 lines
858 B
Rust
//! Certificate Authority related code.
|
|
//!
|
|
use rpki::ca::idexchange::CaHandle;
|
|
|
|
use crate::commons::error::Error;
|
|
|
|
mod aspa;
|
|
pub use self::aspa::*;
|
|
|
|
mod bgpsec;
|
|
pub use self::bgpsec::*;
|
|
|
|
mod certauth;
|
|
pub use self::certauth::CertAuth;
|
|
|
|
mod child;
|
|
pub use self::child::*;
|
|
|
|
mod rc;
|
|
pub use self::rc::ResourceClass;
|
|
|
|
mod keys;
|
|
pub use self::keys::*;
|
|
|
|
mod publishing;
|
|
pub use self::publishing::*;
|
|
|
|
mod routes;
|
|
pub use self::routes::*;
|
|
|
|
mod commands;
|
|
pub use self::commands::*;
|
|
|
|
mod events;
|
|
pub use self::events::Rfc8183Id;
|
|
pub use self::events::*;
|
|
|
|
mod manager;
|
|
pub use self::manager::CaManager;
|
|
|
|
mod rta;
|
|
pub use self::rta::*;
|
|
|
|
mod status;
|
|
pub use self::status::*;
|
|
|
|
pub const TESTBED_CA_NAME: &str = "testbed"; // reserved for testbed mode
|
|
|
|
pub fn testbed_ca_handle() -> CaHandle {
|
|
use std::str::FromStr;
|
|
CaHandle::from_str(TESTBED_CA_NAME).unwrap()
|
|
}
|