Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/document metadata #54

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
.externalNativeBuild
.cxx
local.properties
/app/release/
/app/release/
/.kotlin/errors/
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Represents a claim of a document.

## Properties

| Name | Summary |
|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [identifier](identifier.md) | [androidJvm]<br>open val [identifier](identifier.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>The identifier of the claim. |
| [rawValue](raw-value.md) | [androidJvm]<br>open val [rawValue](raw-value.md): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?<br>The raw value of the claim. |
| [value](value.md) | [androidJvm]<br>open val [value](value.md): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?<br>The value of the claim. |
| Name | Summary |
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [identifier](identifier.md) | [androidJvm]<br>open val [identifier](identifier.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>The identifier of the claim. |
| [metadata](metadata.md) | [androidJvm]<br>open val [metadata](metadata.md): [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)? = null<br>The metadata of the claim. |
| [rawValue](raw-value.md) | [androidJvm]<br>open val [rawValue](raw-value.md): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?<br>The raw value of the claim. |
| [value](value.md) | [androidJvm]<br>open val [value](value.md): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?<br>The value of the claim. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//[document-manager](../../../index.md)/[eu.europa.ec.eudi.wallet.document.format](../index.md)/[DocumentClaim](index.md)/[metadata](metadata.md)

# metadata

[androidJvm]\
open
val [metadata](metadata.md): [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)? =
null
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Represents the claims of a document.

## Properties

| Name | Summary |
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [claims](claims.md) | [androidJvm]<br>abstract val [claims](claims.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;[DocumentClaim](../-document-claim/index.md)&gt;<br>The list of claims. |
| [format](format.md) | [androidJvm]<br>abstract val [format](format.md): [DocumentFormat](../-document-format/index.md)<br>The format of the document. |
| Name | Summary |
|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [claims](claims.md) | [androidJvm]<br>abstract val [claims](claims.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;[DocumentClaim](../-document-claim/index.md)&gt;<br>The list of claims. |
| [format](format.md) | [androidJvm]<br>abstract val [format](format.md): [DocumentFormat](../-document-format/index.md)<br>The format of the document. |
| [metadata](metadata.md) | [androidJvm]<br>abstract val [metadata](metadata.md): [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?<br>The metadata of the document. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//[document-manager](../../../index.md)/[eu.europa.ec.eudi.wallet.document.format](../index.md)/[DocumentData](index.md)/[metadata](metadata.md)

# metadata

[androidJvm]\
abstract
val [metadata](metadata.md): [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
constructor(nameSpace: [NameSpace](../../eu.europa.ec.eudi.wallet.document/-name-space/index.md),
identifier: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?,
rawValue: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html))
rawValue: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html),
metadata: [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)?)
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,24 @@ data class [MsoMdocClaim](index.md)(val
nameSpace: [NameSpace](../../eu.europa.ec.eudi.wallet.document/-name-space/index.md), val
identifier: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), val
value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, val
rawValue: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)) : [DocumentClaim](../-document-claim/index.md)
rawValue: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html),
val
metadata: [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)?) : [DocumentClaim](../-document-claim/index.md)

Represents a claim of a document in the MsoMdoc format.

## Constructors

| | |
|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MsoMdocClaim](-mso-mdoc-claim.md) | [androidJvm]<br>constructor(nameSpace: [NameSpace](../../eu.europa.ec.eudi.wallet.document/-name-space/index.md), identifier: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, rawValue: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)) |
| | |
|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MsoMdocClaim](-mso-mdoc-claim.md) | [androidJvm]<br>constructor(nameSpace: [NameSpace](../../eu.europa.ec.eudi.wallet.document/-name-space/index.md), identifier: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?, rawValue: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html), metadata: [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)?) |

## Properties

| Name | Summary |
|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [identifier](identifier.md) | [androidJvm]<br>open override val [identifier](identifier.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>The identifier of the claim. |
| [nameSpace](name-space.md) | [androidJvm]<br>val [nameSpace](name-space.md): [NameSpace](../../eu.europa.ec.eudi.wallet.document/-name-space/index.md)<br>The name-space of the claim. |
| [rawValue](raw-value.md) | [androidJvm]<br>open override val [rawValue](raw-value.md): [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)<br>The raw value of the claim in bytes. |
| [value](value.md) | [androidJvm]<br>open override val [value](value.md): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?<br>The value of the claim. |
| Name | Summary |
|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [identifier](identifier.md) | [androidJvm]<br>open override val [identifier](identifier.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>The identifier of the claim. |
| [metadata](metadata.md) | [androidJvm]<br>open override val [metadata](metadata.md): [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)?<br>The metadata of the claim. |
| [nameSpace](name-space.md) | [androidJvm]<br>val [nameSpace](name-space.md): [NameSpace](../../eu.europa.ec.eudi.wallet.document/-name-space/index.md)<br>The name-space of the claim. |
| [rawValue](raw-value.md) | [androidJvm]<br>open override val [rawValue](raw-value.md): [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)<br>The raw value of the claim in bytes. |
| [value](value.md) | [androidJvm]<br>open override val [value](value.md): [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?<br>The value of the claim. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//[document-manager](../../../index.md)/[eu.europa.ec.eudi.wallet.document.format](../index.md)/[MsoMdocClaim](index.md)/[metadata](metadata.md)

# metadata

[androidJvm]\
open override
val [metadata](metadata.md): [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)?
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
# MsoMdocData

[androidJvm]\
constructor(format: [MsoMdocFormat](../-mso-mdoc-format/index.md), nameSpacedData: NameSpacedData)
constructor(format: [MsoMdocFormat](../-mso-mdoc-format/index.md),
metadata: [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?,
nameSpacedData: NameSpacedData)
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,24 @@

[androidJvm]\
data class [MsoMdocData](index.md)(val format: [MsoMdocFormat](../-mso-mdoc-format/index.md), val
nameSpacedData: NameSpacedData) : [DocumentData](../-document-data/index.md)
metadata: [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?,
val nameSpacedData: NameSpacedData) : [DocumentData](../-document-data/index.md)

Represents the claims of a document in the MsoMdoc format.

## Constructors

| | |
|----------------------------------|--------------------------------------------------------------------------------------------------------------------|
| [MsoMdocData](-mso-mdoc-data.md) | [androidJvm]<br>constructor(format: [MsoMdocFormat](../-mso-mdoc-format/index.md), nameSpacedData: NameSpacedData) |
| | |
|----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MsoMdocData](-mso-mdoc-data.md) | [androidJvm]<br>constructor(format: [MsoMdocFormat](../-mso-mdoc-format/index.md), metadata: [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?, nameSpacedData: NameSpacedData) |

## Properties

| Name | Summary |
|-------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [claims](claims.md) | [androidJvm]<br>open override val [claims](claims.md): [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;[MsoMdocClaim](../-mso-mdoc-claim/index.md)&gt;<br>The list of claims. |
| [format](format.md) | [androidJvm]<br>open override val [format](format.md): [MsoMdocFormat](../-mso-mdoc-format/index.md)<br>The MsoMdoc format containing the docType |
| [metadata](metadata.md) | [androidJvm]<br>open override val [metadata](metadata.md): [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?<br>The metadata of the document. |
| [nameSpacedData](name-spaced-data.md) | [androidJvm]<br>val [nameSpacedData](name-spaced-data.md): NameSpacedData<br>The name-spaced data. |
| [nameSpacedDataDecoded](name-spaced-data-decoded.md) | [androidJvm]<br>val [nameSpacedDataDecoded](name-spaced-data-decoded.md): [NameSpacedValues](../../eu.europa.ec.eudi.wallet.document/-name-spaced-values/index.md)&lt;[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?&gt;<br>The name-spaced data decoded. |
| [nameSpacedDataInBytes](name-spaced-data-in-bytes.md) | [androidJvm]<br>val [nameSpacedDataInBytes](name-spaced-data-in-bytes.md): [NameSpacedValues](../../eu.europa.ec.eudi.wallet.document/-name-spaced-values/index.md)&lt;[ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)&gt;<br>The name-spaced data in bytes. |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//[document-manager](../../../index.md)/[eu.europa.ec.eudi.wallet.document.format](../index.md)/[MsoMdocData](index.md)/[metadata](metadata.md)

# metadata

[androidJvm]\
open override
val [metadata](metadata.md): [DocumentMetaData](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/index.md)?
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ constructor(
identifier: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?,
rawValue: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),
metadata: [DocumentMetaData.Claim](../../eu.europa.ec.eudi.wallet.document.metadata/-document-meta-data/-claim/index.md)?,
selectivelyDisclosable: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))
Loading
Loading