Module types

Module types 

Source
Expand description

Types used in polyproto and the polyproto HTTP/REST APIs

Re-exports§

pub use domain_name::*;
pub use encrypted_pkm::*;
pub use federation_id::*;
pub use local_name::*;
pub use pdn::*;
pub use rawr::*;
pub use service::*;
pub use session_id::*;

Modules§

der
This module contains wrappers for types from the der crate which interface directly with the HTTP API of polyproto. These wrappers enable the types to be serialized and deserialized using the serde crate, if the serde feature is enabled.
domain_name
Module defining a type DomainName, which is a higher level abstraction of the DN components in X.509 Distinguished Names.
encrypted_pkm
Module defining the EncryptedPkm type, as well as related subtypes.
federation_id
Module defining the FederationId type.
gateway
Module defining types associated with the polyproto WebSocket gateway.
keytrial
Module defining the KeyTrial type family, including [KeyTrial] and [KeyTrialResponse].
local_name
Module defining the LocalName type.
p2_exportDeprecated
🚧 Under construction
pdn
Module defining the PolyprotoDistinguishedName type.
rawr
Module defining the “Resource adressing with relative roots” (RawR) types.
routes
Module defining the [Route] type, as well as static endpoints and their associated HTTP methods for the polyproto API. These statics can be used as a single source of truth for the API endpoints and what methods to submit to them.
service
Module defining the Service type.
session_id
Module defining the SessionId type.
spki
This module contains wrappers for types from the spki crate which interface directly with the HTTP API of polyproto. These wrappers enable the types to be serialized and deserialized using the serde crate, if the serde feature is enabled.
x509_cert
This module contains wrappers for types from the x509_cert crate which interface directly with the HTTP API of polyproto. These wrappers enable the types to be serialized and deserialized using the serde crate, if the serde feature is enabled.