kcoap
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kcoap
kcoap-crypto
/
dev.kcoap.crypto
/
Aead
Aead
interface
Aead
(
source
)
AEAD with the COSE convention: ciphertext output is
ciphertext || tag
.
Inheritors
AesCcm
Members
Properties
nonce
Length
Link copied to clipboard
abstract
val
nonceLength
:
Int
tag
Length
Link copied to clipboard
abstract
val
tagLength
:
Int
Functions
decrypt
Link copied to clipboard
abstract
suspend
fun
decrypt
(
nonce
:
ByteArray
,
ciphertext
:
ByteArray
,
associatedData
:
ByteArray
)
:
ByteArray
encrypt
Link copied to clipboard
abstract
suspend
fun
encrypt
(
nonce
:
ByteArray
,
plaintext
:
ByteArray
,
associatedData
:
ByteArray
)
:
ByteArray