toggle menu
vclib
3.2.0
common
switch theme
search in API
vclib
/
at.asitplus.wallet.lib.cbor
/
CoseHeader
Cose
Header
@
Serializable
data
class
CoseHeader
(
val
algorithm
:
CoseAlgorithm
?
=
null
,
val
criticalHeaders
:
String
?
=
null
,
val
contentType
:
String
?
=
null
,
val
kid
:
ByteArray
?
=
null
,
val
iv
:
ByteArray
?
=
null
,
val
partialIv
:
ByteArray
?
=
null
,
val
certificateChain
:
ByteArray
?
=
null
)
Protected header of a
CoseSigned
.
Members
Constructors
Cose
Header
Link copied to clipboard
constructor
(
algorithm
:
CoseAlgorithm
?
=
null
,
criticalHeaders
:
String
?
=
null
,
contentType
:
String
?
=
null
,
kid
:
ByteArray
?
=
null
,
iv
:
ByteArray
?
=
null
,
partialIv
:
ByteArray
?
=
null
,
certificateChain
:
ByteArray
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
algorithm
Link copied to clipboard
@
SerialName
(
value
=
"alg"
)
val
algorithm
:
CoseAlgorithm
?
=
null
certificate
Chain
Link copied to clipboard
@
SerialName
(
value
=
"x5chain"
)
val
certificateChain
:
ByteArray
?
=
null
content
Type
Link copied to clipboard
@
SerialName
(
value
=
"content type"
)
val
contentType
:
String
?
=
null
critical
Headers
Link copied to clipboard
@
SerialName
(
value
=
"crit"
)
val
criticalHeaders
:
String
?
=
null
iv
Link copied to clipboard
@
SerialName
(
value
=
"IV"
)
val
iv
:
ByteArray
?
=
null
kid
Link copied to clipboard
@
SerialName
(
value
=
"kid"
)
val
kid
:
ByteArray
?
=
null
partial
Iv
Link copied to clipboard
@
SerialName
(
value
=
"Partial IV"
)
val
partialIv
:
ByteArray
?
=
null
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
(
)
:
ByteArray
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String