| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | encodeJwe(JWE jwe)
This method usually has 3 outputs:
- generated initialization vector
- encrypted content
- authenticationTag for MAC validation
It is supposed to call |
| public int | |
| public byte[] | serializeCEK(JWEKeyStorage keyStorage)
This method requires that decoded CEK keys are present in the keyStorage.decodedCEK map before it's called |
| public void |
| deserializeCEK | back to summary |
|---|---|
| public void deserializeCEK(JWEKeyStorage keyStorage) This method is supposed to deserialize keys. It requires that | |
| encodeJwe | back to summary |
|---|---|
| public void encodeJwe(JWE jwe) throws Exception This method usually has 3 outputs:
- generated initialization vector
- encrypted content
- authenticationTag for MAC validation
It is supposed to call | |
| getExpectedCEKLength | back to summary |
|---|---|
| public int getExpectedCEKLength() | |
| serializeCEK | back to summary |
|---|---|
| public byte[] serializeCEK(JWEKeyStorage keyStorage) This method requires that decoded CEK keys are present in the keyStorage.decodedCEK map before it's called | |
| verifyAndDecodeJwe | back to summary |
|---|---|
| public void verifyAndDecodeJwe(JWE jwe) throws Exception This method is supposed to verify checksums and decrypt content. Then it needs to call | |