trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-core
/
de.connect2x.trixnity.core.model.events.m.room
/
EncryptedFile
/
JWK
JWK
@
Serializable
data
class
JWK
(
val
key
:
String
,
val
keyType
:
String
=
"oct"
,
val
keyOperations
:
Set
<
String
>
=
setOf("encrypt", "decrypt")
,
val
algorithm
:
String
=
"A256CTR"
,
val
extractable
:
Boolean
=
true
)
Members
Constructors
JWK
Link copied to clipboard
constructor
(
key
:
String
,
keyType
:
String
=
"oct"
,
keyOperations
:
Set
<
String
>
=
setOf("encrypt", "decrypt")
,
algorithm
:
String
=
"A256CTR"
,
extractable
:
Boolean
=
true
)
Properties
algorithm
Link copied to clipboard
@
SerialName
(
value
=
"alg"
)
val
algorithm
:
String
extractable
Link copied to clipboard
@
SerialName
(
value
=
"ext"
)
val
extractable
:
Boolean
key
Link copied to clipboard
@
SerialName
(
value
=
"k"
)
val
key
:
String
key
Operations
Link copied to clipboard
@
SerialName
(
value
=
"key_ops"
)
val
keyOperations
:
Set
<
String
>
key
Type
Link copied to clipboard
@
SerialName
(
value
=
"kty"
)
val
keyType
:
String