Class AESCBC
- java.lang.Object
-
- com.mastercard.developer.encryption.aes.AESCBC
-
public class AESCBC extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
cipher(Key key, AlgorithmParameterSpec iv, byte[] bytes, int mode)
static byte[]
decrypt(Key secretKey, JweObject object)
-
-
-
Method Detail
-
decrypt
public static byte[] decrypt(Key secretKey, JweObject object) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
cipher
public static byte[] cipher(Key key, AlgorithmParameterSpec iv, byte[] bytes, int mode) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-