Enum ockam_entity::IdentityRequest
source · [−]pub enum IdentityRequest {
Show 23 variants
CreateProfile(Address),
CreateAuthenticationProof(Id, ByteVec),
CreateKey(Id, String),
AddKey(Id, String, Secret),
GetProfilePublicKey(Id),
GetProfileSecretKey(Id),
GetPublicKey(Id, String),
GetSecretKey(Id, String),
GetChanges(Id),
GetContacts(Id),
GetContact(Id, Id),
RotateKey(Id),
AddChange(Id, ProfileChangeEvent),
VerifyAuthenticationProof(Id, ByteVec, Id, AuthenticationProof),
VerifyChanges(Id),
VerifyAndAddContact(Id, Contact),
VerifyContact(Id, Contact),
VerifyAndUpdateContact(Id, Id, Changes),
RemoveProfile(Id),
CreateSecureChannelListener(Id, Address, Address),
CreateSecureChannel(Id, Route, Address),
GetLease(Route, Id, String, String, TTL),
RevokeLease(Route, Id, Lease),
}
Variants
CreateProfile(Address)
CreateAuthenticationProof(Id, ByteVec)
CreateKey(Id, String)
AddKey(Id, String, Secret)
GetProfilePublicKey(Id)
GetProfileSecretKey(Id)
GetPublicKey(Id, String)
GetSecretKey(Id, String)
GetChanges(Id)
GetContacts(Id)
GetContact(Id, Id)
RotateKey(Id)
AddChange(Id, ProfileChangeEvent)
VerifyAuthenticationProof(Id, ByteVec, Id, AuthenticationProof)
VerifyChanges(Id)
VerifyAndAddContact(Id, Contact)
VerifyContact(Id, Contact)
VerifyAndUpdateContact(Id, Id, Changes)
RemoveProfile(Id)
CreateSecureChannelListener(Id, Address, Address)
CreateSecureChannel(Id, Route, Address)
GetLease(Route, Id, String, String, TTL)
RevokeLease(Route, Id, Lease)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IdentityRequest
impl Send for IdentityRequest
impl Sync for IdentityRequest
impl Unpin for IdentityRequest
impl UnwindSafe for IdentityRequest
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