gsdsdk / com.gsd.software.sdk.netconnector.request.authorization.encryption / KeyStoreWrapper

KeyStoreWrapper

class KeyStoreWrapper

Created by Maksim Shumko on 8/7/2018.

Constructors

Name Summary
<init> KeyStoreWrapper(context:Context)
Created by Maksim Shumko on 8/7/2018.

Functions

Name Summary
createAndroidKeyStoreAsymmetricKey fun createAndroidKeyStoreAsymmetricKey(alias:String):KeyPair
createAndroidKeyStoreSymmetricKey fun createAndroidKeyStoreSymmetricKey(alias:String, userAuthenticationRequired:Boolean= false, invalidatedByBiometricEnrollment:Boolean= true, userAuthenticationValidityDurationSeconds:Int= -1, userAuthenticationValidWhileOnBody:Boolean= true):SecretKey
generateDefaultSymmetricKey fun generateDefaultSymmetricKey():SecretKey
getAndroidKeyStoreAsymmetricKeyPair fun getAndroidKeyStoreAsymmetricKeyPair(alias:String):KeyPair?
getAndroidKeyStoreSymmetricKey fun getAndroidKeyStoreSymmetricKey(alias:String):SecretKey?