Enum ockam_entity::IdentityResponse[][src]

pub enum IdentityResponse {
Show 31 variants CreateProfile(ProfileIdentifier), CreateAuthenticationProof(AuthenticationProof), GetPublicKey(PublicKey), GetProfilePublicKey(PublicKey), GetProfileSecretKey(Secret), GetSecretKey(Secret), GetChanges(Changes), Contacts(Vec<Contact>), GetContact(MaybeContact), VerifyAuthenticationProof(bool), VerifyContact(bool), VerifyAndUpdateContact(bool), VerifyChanges(bool), VerifyAndAddContact(bool), CreateSecureChannelListener, CreateSecureChannel(Address), GetSigningKey(BlsSecretKey), GetIssuerPublicKey(CredentialPublicKey), CreateOffer(CredentialOffer), CreateProofOfPossession(CredentialProof), SignCredential(BbsCredential), SignCredentialRequest(CredentialFragment2), AcceptCredentialOffer(CredentialRequestFragment), CombineCredentialFragments(BbsCredential), IsValidCredential(bool), PresentCredential(CredentialPresentation), CreateProofRequestId(ProofRequestId), VerifyProofOfPossession(bool), VerifyCredentialPresentation(bool), AddCredential, GetCredential(EntityCredential),
}

Variants

CreateProfile

Tuple Fields of CreateProfile

0: ProfileIdentifier
CreateAuthenticationProof

Tuple Fields of CreateAuthenticationProof

0: AuthenticationProof
GetPublicKey

Tuple Fields of GetPublicKey

0: PublicKey
GetProfilePublicKey

Tuple Fields of GetProfilePublicKey

0: PublicKey
GetProfileSecretKey

Tuple Fields of GetProfileSecretKey

0: Secret
GetSecretKey

Tuple Fields of GetSecretKey

0: Secret
GetChanges

Tuple Fields of GetChanges

0: Changes
Contacts

Tuple Fields of Contacts

0: Vec<Contact>
GetContact

Tuple Fields of GetContact

0: MaybeContact
VerifyAuthenticationProof

Tuple Fields of VerifyAuthenticationProof

0: bool
VerifyContact

Tuple Fields of VerifyContact

0: bool
VerifyAndUpdateContact

Tuple Fields of VerifyAndUpdateContact

0: bool
VerifyChanges

Tuple Fields of VerifyChanges

0: bool
VerifyAndAddContact

Tuple Fields of VerifyAndAddContact

0: bool
CreateSecureChannelListener
CreateSecureChannel

Tuple Fields of CreateSecureChannel

0: Address
GetSigningKey

Tuple Fields of GetSigningKey

0: BlsSecretKey
GetIssuerPublicKey

Tuple Fields of GetIssuerPublicKey

0: CredentialPublicKey
CreateOffer

Tuple Fields of CreateOffer

0: CredentialOffer
CreateProofOfPossession

Tuple Fields of CreateProofOfPossession

0: CredentialProof
SignCredential

Tuple Fields of SignCredential

0: BbsCredential
SignCredentialRequest

Tuple Fields of SignCredentialRequest

0: CredentialFragment2
AcceptCredentialOffer

Tuple Fields of AcceptCredentialOffer

0: CredentialRequestFragment
CombineCredentialFragments

Tuple Fields of CombineCredentialFragments

0: BbsCredential
IsValidCredential

Tuple Fields of IsValidCredential

0: bool
PresentCredential

Tuple Fields of PresentCredential

0: CredentialPresentation
CreateProofRequestId

Tuple Fields of CreateProofRequestId

0: ProofRequestId
VerifyProofOfPossession

Tuple Fields of VerifyProofOfPossession

0: bool
VerifyCredentialPresentation

Tuple Fields of VerifyCredentialPresentation

0: bool
AddCredential
GetCredential

Tuple Fields of GetCredential

0: EntityCredential

Trait Implementations

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

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.