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 BasicIdentityimpl Send for BasicIdentityimpl Sync for BasicIdentityimpl Unpin for BasicIdentityimpl UnwindSafe for BasicIdentity