Webcom Android SDK Public API Reference / com.orange.webcom.jwe / CryptoMethod / Symmetrical

Symmetrical

abstract class Symmetrical : CryptoMethod

Types

A128CBCHS256

object A128CBCHS256 : CryptoMethod.Symmetrical

A192CBCHS384

object A192CBCHS384 : CryptoMethod.Symmetrical

A256CBCHS512

object A256CBCHS512 : CryptoMethod.Symmetrical

Properties

cipherAlgorithm

val cipherAlgorithm: String

cipherKeyAlgorithm

val cipherKeyAlgorithm: String

encKeyBytes

val encKeyBytes: Int

encName

val encName: String

hmacAlgorithm

val hmacAlgorithm: String

hmacKeyAlgorithm

val hmacKeyAlgorithm: String

macKeyBytes

val macKeyBytes: Int

tBytes

val tBytes: Int

Inherited Properties

algType

val algType: String

Functions

computeHMAC

fun computeHMAC(key: Key, additional: ByteArray, iv: ByteArray, encrypted: ByteArray): ByteArray

decrypt

fun decrypt(key: Key, encrypted: ByteArray, iv: ByteArray): ByteArray

Inheritors

A128CBCHS256

object A128CBCHS256 : CryptoMethod.Symmetrical

A192CBCHS384

object A192CBCHS384 : CryptoMethod.Symmetrical

A256CBCHS512

object A256CBCHS512 : CryptoMethod.Symmetrical