toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
utils
/
io.snabble.sdk.utils.security
/
KeyStoreCipher
Key
Store
Cipher
abstract
class
KeyStoreCipher
Deprecated
Inheritors
KeyStoreCipherJellyBeanMR2
KeyStoreCipherMarshmallow
Members
Constructors
Key
Store
Cipher
Link copied to clipboard
constructor
(
)
Functions
create
Link copied to clipboard
@
RequiresApi
(
api
=
Build.VERSION_CODES.JELLY_BEAN_MR2
)
open
fun
create
(
context
:
Context
,
tag
:
String
,
requireUserAuthentication
:
Boolean
)
:
KeyStoreCipher
decrypt
Link copied to clipboard
abstract
fun
decrypt
(
encrypted
:
Array
<
Byte
>
)
:
Array
<
Byte
>
encrypt
Link copied to clipboard
abstract
fun
encrypt
(
data
:
Array
<
Byte
>
)
:
Array
<
Byte
>
id
Link copied to clipboard
abstract
fun
id
(
)
:
String
purge
Link copied to clipboard
abstract
fun
purge
(
)
validate
Link copied to clipboard
abstract
fun
validate
(
)