Enum ockam_entity::IdentityRequest[][src]

pub enum IdentityRequest {
Show 37 variants CreateProfile(Address), CreateAuthenticationProof(IdByteVec), CreateKey(IdString), GetProfilePublicKey(Id), GetProfileSecretKey(Id), GetPublicKey(IdString), GetSecretKey(IdString), GetChanges(Id), GetContacts(Id), GetContact(IdId), RotateKey(Id), AddChange(IdProfileChangeEvent), VerifyAuthenticationProof(IdByteVecIdAuthenticationProof), VerifyChanges(Id), VerifyAndAddContact(IdContact), VerifyContact(IdContact), VerifyAndUpdateContact(IdIdChanges), RemoveProfile(Id), CreateSecureChannelListener(IdAddressAddress), CreateSecureChannel(IdRouteAddress), GetSigningKey(Id), GetIssuerPublicKey(Id), CreateOffer(IdCredentialSchema), CreateProofOfPossession(Id), SignCredential(IdCredentialSchemaVec<CredentialAttribute>), SignCredentialRequest(IdCredentialRequestCredentialSchemaVec<(String, CredentialAttribute)>, OfferId), AcceptCredentialOffer(IdCredentialOfferCredentialPublicKey), CombineCredentialFragments(IdCredentialFragment1CredentialFragment2), IsValidCredential(IdBbsCredentialCredentialPublicKey), PresentCredential(IdBbsCredentialPresentationManifestProofRequestId), CreateProofRequestId(Id), VerifyProofOfPossession(IdCredentialPublicKeyCredentialProof), VerifyCredentialPresentation(IdCredentialPresentationPresentationManifestProofRequestId), AddCredential(IdEntityCredential), GetCredential(IdCredential), GetLease(RouteIdStringStringTTL), RevokeLease(RouteIdLease),
}

Variants

CreateProfile(Address)

Tuple Fields of CreateProfile

0: Address
CreateAuthenticationProof(IdByteVec)

Tuple Fields of CreateAuthenticationProof

0: Id1: ByteVec
CreateKey(IdString)

Tuple Fields of CreateKey

0: Id1: String
GetProfilePublicKey(Id)

Tuple Fields of GetProfilePublicKey

0: Id
GetProfileSecretKey(Id)

Tuple Fields of GetProfileSecretKey

0: Id
GetPublicKey(IdString)

Tuple Fields of GetPublicKey

0: Id1: String
GetSecretKey(IdString)

Tuple Fields of GetSecretKey

0: Id1: String
GetChanges(Id)

Tuple Fields of GetChanges

0: Id
GetContacts(Id)

Tuple Fields of GetContacts

0: Id
GetContact(IdId)

Tuple Fields of GetContact

0: Id1: Id
RotateKey(Id)

Tuple Fields of RotateKey

0: Id
AddChange(IdProfileChangeEvent)

Tuple Fields of AddChange

0: Id1: ProfileChangeEvent
VerifyAuthenticationProof(IdByteVecIdAuthenticationProof)

Tuple Fields of VerifyAuthenticationProof

0: Id1: ByteVec2: Id3: AuthenticationProof
VerifyChanges(Id)

Tuple Fields of VerifyChanges

0: Id
VerifyAndAddContact(IdContact)

Tuple Fields of VerifyAndAddContact

0: Id1: Contact
VerifyContact(IdContact)

Tuple Fields of VerifyContact

0: Id1: Contact
VerifyAndUpdateContact(IdIdChanges)

Tuple Fields of VerifyAndUpdateContact

0: Id1: Id2: Changes
RemoveProfile(Id)

Tuple Fields of RemoveProfile

0: Id
CreateSecureChannelListener(IdAddressAddress)

Tuple Fields of CreateSecureChannelListener

0: Id1: Address2: Address
CreateSecureChannel(IdRouteAddress)

Tuple Fields of CreateSecureChannel

0: Id1: Route2: Address
GetSigningKey(Id)

Tuple Fields of GetSigningKey

0: Id
GetIssuerPublicKey(Id)

Tuple Fields of GetIssuerPublicKey

0: Id
CreateOffer(IdCredentialSchema)

Tuple Fields of CreateOffer

0: Id1: CredentialSchema
CreateProofOfPossession(Id)

Tuple Fields of CreateProofOfPossession

0: Id

Tuple Fields of SignCredential

0: Id1: CredentialSchema2: Vec<CredentialAttribute>

Tuple Fields of SignCredentialRequest

0: Id1: CredentialRequest2: CredentialSchema3: Vec<(String, CredentialAttribute)>4: OfferId
AcceptCredentialOffer(IdCredentialOfferCredentialPublicKey)

Tuple Fields of AcceptCredentialOffer

0: Id1: CredentialOffer2: CredentialPublicKey
CombineCredentialFragments(IdCredentialFragment1CredentialFragment2)

Tuple Fields of CombineCredentialFragments

0: Id1: CredentialFragment12: CredentialFragment2
IsValidCredential(IdBbsCredentialCredentialPublicKey)

Tuple Fields of IsValidCredential

0: Id1: BbsCredential2: CredentialPublicKey

Tuple Fields of PresentCredential

0: Id1: BbsCredential2: PresentationManifest3: ProofRequestId
CreateProofRequestId(Id)

Tuple Fields of CreateProofRequestId

0: Id
VerifyProofOfPossession(IdCredentialPublicKeyCredentialProof)

Tuple Fields of VerifyProofOfPossession

0: Id1: CredentialPublicKey2: CredentialProof
VerifyCredentialPresentation(IdCredentialPresentationPresentationManifestProofRequestId)

Tuple Fields of VerifyCredentialPresentation

0: Id1: CredentialPresentation2: PresentationManifest3: ProofRequestId
AddCredential(IdEntityCredential)

Tuple Fields of AddCredential

0: Id1: EntityCredential
GetCredential(IdCredential)

Tuple Fields of GetCredential

0: Id1: Credential
GetLease(RouteIdStringStringTTL)

Tuple Fields of GetLease

0: Route1: Id2: String3: String4: TTL
RevokeLease(RouteIdLease)

Tuple Fields of RevokeLease

0: Route1: Id2: Lease

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Encode the type representation into an Encoded type.

Decode an Encoded type into the Message’s type.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Should always be Self

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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