public class AESCBC extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
cipher(Key key,
AlgorithmParameterSpec iv,
byte[] bytes,
int mode) |
static byte[] |
decrypt(Key secretKey,
JweObject object) |
public static byte[] cipher(Key key, AlgorithmParameterSpec iv, byte[] bytes, int mode) throws GeneralSecurityException
GeneralSecurityExceptionpublic static byte[] decrypt(Key secretKey, JweObject object) throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2021. All rights reserved.