Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AttachmentFormatReference(val attachmentId: String, val format: String)

Data class for DIDComm Messaging

Link copied to clipboard
@Serializable
@SerialName(value = "https://wallet.a-sit.at/issue-credential/1.0/issue-credential")
class IssueCredential : JsonWebMessage
Link copied to clipboard
@Serializable
data class IssueCredentialBody(val comment: String, val formats: Array<AttachmentFormatReference>)
Link copied to clipboard
@Serializable
sealed class JsonWebMessage
Link copied to clipboard
@Serializable
data class JwmAttachment(val id: String, val mediaType: String? = null, val data: JwmAttachmentData, val filename: String? = null, val parent: String? = null)
Link copied to clipboard
@Serializable
data class JwmAttachmentData(val json: JsonObject? = null, val jws: String? = null, val base64: String? = null)
Link copied to clipboard
@Serializable
@SerialName(value = "https://wallet.a-sit.at/out-of-band/1.0/invitation")
class OutOfBandInvitation : JsonWebMessage
Link copied to clipboard
@Serializable
data class OutOfBandInvitationBody(val handshakeProtocols: Array<String>, val acceptTypes: Array<String>, val goalCode: String, val services: Array<OutOfBandService>? = null)
Link copied to clipboard
@Serializable
data class OutOfBandService(val type: String, val recipientKeys: Array<String>, val serviceEndpoint: String)
Link copied to clipboard
@Serializable
@SerialName(value = "https://wallet.a-sit.at/present-proof/1.0/presentation")
class Presentation : JsonWebMessage
Link copied to clipboard
@Serializable
data class PresentationBody(val comment: String, val formats: Array<AttachmentFormatReference>)
Link copied to clipboard
@Serializable
@SerialName(value = "https://wallet.a-sit.at/problems/1.0/problem-report")
class ProblemReport : JsonWebMessage
Link copied to clipboard
@Serializable
data class ProblemReportBody(val code: String, val comment: String? = null, val args: Array<String>? = null, val escalateTo: String? = null)
Link copied to clipboard
@Serializable
@SerialName(value = "https://wallet.a-sit.at/issue-credential/1.0/request-credential")
class RequestCredential : JsonWebMessage
Link copied to clipboard
@Serializable
data class RequestCredentialAttachment(val credentialManifest: CredentialManifest, val presentationSubmission: PresentationSubmission? = null)
Link copied to clipboard
@Serializable
data class RequestCredentialBody(val comment: String, val goalCode: String, val formats: Array<AttachmentFormatReference>)
Link copied to clipboard
@Serializable
@SerialName(value = "https://wallet.a-sit.at/present-proof/1.0/request-presentation")
class RequestPresentation : JsonWebMessage
Link copied to clipboard
@Serializable
data class RequestPresentationAttachment(val presentationDefinition: PresentationDefinition, val options: RequestPresentationAttachmentOptions)

Attachment format for at.asitplus.wallet.lib.agent.PresentProofProtocol

Link copied to clipboard
@Serializable
data class RequestPresentationAttachmentOptions(val challenge: String, val verifier: String?, val domain: String? = null)
Link copied to clipboard
@Serializable
data class RequestPresentationBody(val comment: String, val formats: Array<AttachmentFormatReference>)