Symmetric Tactical Assertion : Receiver unable to decrypt results from encrypted output
Article ID: 107676
CA API Gateway (Layer 7)SA94 to API SECURITYSTARTER PACK-7CA Rapid App SecurityMOBILE API GATEWAYCA Mobile - API GatewayCA API Gateway
When using the SymetricEncryptionTacticalAssertion.saar. The receiver of the encrypted output is not able to decrypt the data generated from the tactical assertion. It is unclear from the documentation how does one process the output to get the IV (Initialization vector).
Release: Component: APIGTW
For encryption the IV (initialization vector) is randomly generated, and then it is pre-pended to the encrypted bytes .
So the first X bytes of the returned bytearray will be the iv that was used.
Where X depends on the block size of the cipher : Which is coded as :