vncore / com.venuenext.vncore.security / Keystore

Keystore

object Keystore

Keystore VenueNext

Created on 1/30/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Functions

decryptData

Decrypts data with alias name.

fun decryptData(context: Context, alias: String, encryptedData: ByteArray): String

doesContain

Checks to see if the keystore contains the alias.

fun doesContain(alias: String): Boolean

encryptText

Ecrypts text string with alias name.

fun encryptText(context: Context, alias: String, textToEncrypt: String): ByteArray