pub trait Load<'s, S: SOP<'s>> {
// Required method
fn from_reader(
sop: &'s S,
source: &mut (dyn Read + Send + Sync)
) -> Result<Self>
where Self: Sized;
// Provided method
fn from_bytes(sop: &'s S, source: &[u8]) -> Result<Self>
where Self: Sized { ... }
}
Expand description
Loads objects like certs and keys.