toggle menu
vclib
3.2.0
common
jvm
switch theme
search in API
vclib
/
at.asitplus.wallet.lib.jws
/
JsonWebKey
Json
Web
Key
@
Serializable
data
class
JsonWebKey
(
val
curve
:
EcCurve
?
=
null
,
val
type
:
JwkType
?
=
null
,
val
keyId
:
String
?
=
null
,
val
x
:
ByteArray
?
=
null
,
val
y
:
ByteArray
?
=
null
)
Members
Members & Extensions
Constructors
Json
Web
Key
Link copied to clipboard
constructor
(
curve
:
EcCurve
?
=
null
,
type
:
JwkType
?
=
null
,
keyId
:
String
?
=
null
,
x
:
ByteArray
?
=
null
,
y
:
ByteArray
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
curve
Link copied to clipboard
@
SerialName
(
value
=
"crv"
)
val
curve
:
EcCurve
?
=
null
identifier
Link copied to clipboard
val
identifier
:
String
jwk
Thumbprint
Link copied to clipboard
val
jwkThumbprint
:
String
key
Id
Link copied to clipboard
@
SerialName
(
value
=
"kid"
)
val
keyId
:
String
?
=
null
type
Link copied to clipboard
@
SerialName
(
value
=
"kty"
)
val
type
:
JwkType
?
=
null
x
Link copied to clipboard
@
SerialName
(
value
=
"x"
)
@
Serializable
(
with
=
ByteArrayBase64UrlSerializer::class
)
val
x
:
ByteArray
?
=
null
y
Link copied to clipboard
@
SerialName
(
value
=
"y"
)
@
Serializable
(
with
=
ByteArrayBase64UrlSerializer::class
)
val
y
:
ByteArray
?
=
null
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
get
Public
Key
Link copied to clipboard
jvm
fun
JsonWebKey
.
getPublicKey
(
)
:
PublicKey
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
serialize
Link copied to clipboard
fun
serialize
(
)
:
String
to
Ansi
X963Byte
Array
Link copied to clipboard
fun
toAnsiX963ByteArray
(
)
:
KmmResult
<
ByteArray
>
to
Crypto
Public
Key
Link copied to clipboard
fun
toCryptoPublicKey
(
)
:
CryptoPublicKey
?
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String