Enum ockam_entity::IdentityRequest[][src]

pub enum IdentityRequest {
Show 35 variants CreateProfile(Address), CreateAuthenticationProof(Id, ByteVec), CreateKey(Id, String), 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), GetSigningKey(Id), GetIssuerPublicKey(Id), CreateOffer(Id, CredentialSchema), CreateProofOfPossession(Id), SignCredential(Id, CredentialSchema, Vec<CredentialAttribute>), SignCredentialRequest(Id, CredentialRequest, CredentialSchema, Vec<(String, CredentialAttribute)>, OfferId), AcceptCredentialOffer(Id, CredentialOffer, CredentialPublicKey), CombineCredentialFragments(Id, CredentialFragment1, CredentialFragment2), IsValidCredential(Id, BbsCredential, CredentialPublicKey), PresentCredential(Id, BbsCredential, PresentationManifest, ProofRequestId), CreateProofRequestId(Id), VerifyProofOfPossession(Id, CredentialPublicKey, CredentialProof), VerifyCredentialPresentation(Id, CredentialPresentation, PresentationManifest, ProofRequestId), AddCredential(Id, EntityCredential), GetCredential(Id, Credential),
}

Variants

CreateProfile

Tuple Fields of CreateProfile

0: Address
CreateAuthenticationProof

Tuple Fields of CreateAuthenticationProof

0: Id1: ByteVec
CreateKey

Tuple Fields of CreateKey

0: Id1: String
GetProfilePublicKey

Tuple Fields of GetProfilePublicKey

0: Id
GetProfileSecretKey

Tuple Fields of GetProfileSecretKey

0: Id
GetPublicKey

Tuple Fields of GetPublicKey

0: Id1: String
GetSecretKey

Tuple Fields of GetSecretKey

0: Id1: String
GetChanges

Tuple Fields of GetChanges

0: Id
GetContacts

Tuple Fields of GetContacts

0: Id
GetContact

Tuple Fields of GetContact

0: Id1: Id
RotateKey

Tuple Fields of RotateKey

0: Id
AddChange

Tuple Fields of AddChange

0: Id1: ProfileChangeEvent
VerifyAuthenticationProof

Tuple Fields of VerifyAuthenticationProof

0: Id1: ByteVec2: Id3: AuthenticationProof
VerifyChanges

Tuple Fields of VerifyChanges

0: Id
VerifyAndAddContact

Tuple Fields of VerifyAndAddContact

0: Id1: Contact
VerifyContact

Tuple Fields of VerifyContact

0: Id1: Contact
VerifyAndUpdateContact

Tuple Fields of VerifyAndUpdateContact

0: Id1: Id2: Changes
RemoveProfile

Tuple Fields of RemoveProfile

0: Id
CreateSecureChannelListener

Tuple Fields of CreateSecureChannelListener

0: Id1: Address2: Address
CreateSecureChannel

Tuple Fields of CreateSecureChannel

0: Id1: Route2: Address
GetSigningKey

Tuple Fields of GetSigningKey

0: Id
GetIssuerPublicKey

Tuple Fields of GetIssuerPublicKey

0: Id
CreateOffer

Tuple Fields of CreateOffer

0: Id1: CredentialSchema
CreateProofOfPossession

Tuple Fields of CreateProofOfPossession

0: Id
SignCredential

Tuple Fields of SignCredential

0: Id1: CredentialSchema2: Vec<CredentialAttribute>
SignCredentialRequest

Tuple Fields of SignCredentialRequest

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

Tuple Fields of AcceptCredentialOffer

0: Id1: CredentialOffer2: CredentialPublicKey
CombineCredentialFragments

Tuple Fields of CombineCredentialFragments

0: Id1: CredentialFragment12: CredentialFragment2
IsValidCredential

Tuple Fields of IsValidCredential

0: Id1: BbsCredential2: CredentialPublicKey
PresentCredential

Tuple Fields of PresentCredential

0: Id1: BbsCredential2: PresentationManifest3: ProofRequestId
CreateProofRequestId

Tuple Fields of CreateProofRequestId

0: Id
VerifyProofOfPossession

Tuple Fields of VerifyProofOfPossession

0: Id1: CredentialPublicKey2: CredentialProof
VerifyCredentialPresentation

Tuple Fields of VerifyCredentialPresentation

0: Id1: CredentialPresentation2: PresentationManifest3: ProofRequestId
AddCredential

Tuple Fields of AddCredential

0: Id1: EntityCredential
GetCredential

Tuple Fields of GetCredential

0: Id1: Credential

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.