(byte[] applicationData, byte[] pt, int paddingSize)
| 1210 | } |
| 1211 | |
| 1212 | public MLSMessage protect(byte[] applicationData, byte[] pt, int paddingSize) |
| 1213 | throws Exception |
| 1214 | { |
| 1215 | Group.MessageOptions msgOptions = new Group.MessageOptions(true, applicationData, paddingSize); |
| 1216 | |
| 1217 | AuthenticatedContent contentAuth = sign( |
| 1218 | Sender.forMember(index), |
| 1219 | pt, |
| 1220 | msgOptions.authenticatedData, |
| 1221 | msgOptions.encrypt |
| 1222 | ); |
| 1223 | return protect(contentAuth, msgOptions.paddingSize); |
| 1224 | } |
| 1225 | |
| 1226 | public byte[][] unprotect(MLSMessage ct) |
| 1227 | throws Exception |
no test coverage detected