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

CipherWrapper

class CipherWrapper

Created by Maksim Shumko on 8/7/2018.

Constructors

Name Summary
<init> CipherWrapper(transformation:String)
Created by Maksim Shumko on 8/7/2018.

Functions

Name Summary
decrypt fun decrypt(data:String, key:Key?, useInitializationVector:Boolean= false):String
encrypt fun encrypt(data:String, key:Key?, useInitializationVector:Boolean= false):String
unWrapKey fun unWrapKey(wrappedKeyData:String, algorithm:String, wrappedKeyType:Int, keyToUnWrapWith:Key?):Key
wrapKey fun wrapKey(keyToBeWrapped:Key, keyToWrapWith:Key?):String

Companion Object Properties

Name Summary
IV_SEPARATOR const val IV_SEPARATOR:String
TRANSFORMATION_ASYMMETRIC var TRANSFORMATION_ASYMMETRIC:String
TRANSFORMATION_SYMMETRIC var TRANSFORMATION_SYMMETRIC:String