(byte[] packetNumber, byte[] encryptPayload, byte[] associatedData)
| 78 | } |
| 79 | |
| 80 | public byte[] decryptPayload(byte[] packetNumber, byte[] encryptPayload, byte[] associatedData) throws Exception { |
| 81 | return aesGCM(Cipher.DECRYPT_MODE, packetNumber, encryptPayload, associatedData); |
| 82 | } |
| 83 | |
| 84 | public byte[] encryptPayload(byte[] packetNumber, byte[] payload, byte[] associatedData) throws Exception { |
| 85 | return aesGCM(Cipher.ENCRYPT_MODE, packetNumber, payload, associatedData); |
no test coverage detected