All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.at.asitplus.wallet.lib.aries.InternalNextMessage.kt Maven / Gradle / Ivy

package at.asitplus.wallet.lib.aries

import at.asitplus.crypto.datatypes.jws.JsonWebKey
import at.asitplus.wallet.lib.msg.JsonWebMessage


sealed class InternalNextMessage {

    data class Finished(
        val lastMessage: JsonWebMessage
    ) : InternalNextMessage()

    data class SendAndWrap(
        val message: JsonWebMessage,
        val senderKey: JsonWebKey? = null,
        val endpoint: String? = null
    ) : InternalNextMessage()

    data class IncorrectState(
        val reason: String
    ) : InternalNextMessage()

    data class SendProblemReport(
        val message: JsonWebMessage,
        val senderKey: JsonWebKey? = null,
        val endpoint: String? = null
    ) : InternalNextMessage()
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy