vclib
1.7.2
common
jvm
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
)
Types
Constructors
Functions
Properties
Extensions
Constructors
Json
Web
Key
Link copied to clipboard
fun
JsonWebKey
(
curve
:
EcCurve
?
=
null
,
type
:
JwkType
?
=
null
,
keyId
:
String
?
=
null
,
x
:
ByteArray
?
=
null
,
y
:
ByteArray
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
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
Jwk
Thumbprint
Link copied to clipboard
fun
toJwkThumbprint
(
)
:
String
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
curve
Link copied to clipboard
val
curve
:
EcCurve
?
=
null
key
Id
Link copied to clipboard
val
keyId
:
String
?
=
null
type
Link copied to clipboard
val
type
:
JwkType
?
=
null
x
Link copied to clipboard
@
Serializable
(
with
=
ByteArrayBase64UrlSerializer::class
)
val
x
:
ByteArray
?
=
null
y
Link copied to clipboard
@
Serializable
(
with
=
ByteArrayBase64UrlSerializer::class
)
val
y
:
ByteArray
?
=
null
Extensions
get
Public
Key
Link copied to clipboard
jvm
fun
JsonWebKey
.
getPublicKey
(
)
:
PublicKey