pub trait Creds: CredsPriv + CredsPub + Send + Sync {
// Provided methods
fn issue_writecap(
&self,
issued_to: Principal,
path_components: &mut dyn Iterator<Item = &str>,
expires: Epoch
) -> Result<Writecap> { ... }
fn pub_sign_kind(&self) -> Sign { ... }
fn priv_sign_kind(&self) -> Sign { ... }
}
Expand description
Trait for types which contain both public and private credentials.