Struct ic_agent::identity::BasicIdentity [−][src]
pub struct BasicIdentity { /* fields omitted */ }Expand description
A Basic Identity which sign using an ED25519 key pair.
Implementations
Create a BasicIdentity from reading a PEM file at the path.
Create a BasicIdentity from reading a PEM File from a Reader.
Create a BasicIdentity from a KeyPair from the ring crate.
Trait Implementations
Returns a sender, ie. the Principal ID that is used to sign a request. Only one sender can be used per request. Read more
Auto Trait Implementations
impl RefUnwindSafe for BasicIdentity
impl Send for BasicIdentity
impl Sync for BasicIdentity
impl Unpin for BasicIdentity
impl UnwindSafe for BasicIdentity
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more