All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.jslibs.miscreant.siv.module_miscreant.kt Maven / Gradle / Ivy

Go to download

A Kotlin multiplatform REST client utilizing secret network's gRPC gateway endpoints.

There is a newer version: 6.4.1-rc
Show newest version
@file:Suppress(
    "INTERFACE_WITH_SUPERCLASS",
    "OVERRIDING_FINAL_MEMBER",
    "RETURN_TYPE_MISMATCH_ON_OVERRIDE",
    "CONFLICTING_OVERLOADS"
)
@file:JsModule("miscreant")
@file:JsNonModule

package jslibs.miscreant


import org.khronos.webgl.Uint8Array
import kotlin.js.Promise

open external class SIV(mac: IMACLike, ctr: ICTRLike) : ISIVLike {

    open var _mac: IMACLike
    open var _ctr: ICTRLike
    open var _tmp1: Any
    open var _tmp2: Any
    override fun seal(plaintext: Uint8Array, associatedData: Array): Promise = definedExternally
    override fun open(sealed: Uint8Array, associatedData: Array): Promise = definedExternally
    override fun clear(): SIV /* this */ = definedExternally
    open fun _s2v(associated_data: Array, plaintext: Uint8Array): Promise = definedExternally

    companion object {
        fun importKey(keyData: Uint8Array, alg: String, provider: ICryptoProvider = definedExternally): Promise =
            definedExternally
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy