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