aries / net.globalid.aries.features.issuecredential / CredentialService / processCredentialOffer

processCredentialOffer

abstract fun processCredentialOffer(agent: Agent, credentialOffer: CredentialOfferMessage, connectionContext: ConnectionContext): Single<ReceivedOffer>

Processes the given offer message and stores the offer in the wallet.

Parameters

agent - to process the offer for.

credentialOffer - is the message to process.

connectionContext - is the context for the offer. Using this context, a response message can be sent back to the issuer.

Return
Single of a CredentialRecord.ReceivedOffer, the record created from the message.