Description
Decrypts the data buffer using the AES128 cryptographic algorithm associated with the Feature. Checks the license conditions of the feature.
If the license is limited by the number of launches, this method decrements the value of the launch counter for the license.
If the GRD_NO_COUNTER_DECREMENT flag is set, the method uses a different encryption key and the launch counter is not decreased.
If the data was encrypted with the GRD_NO_COUNTER_DECREMENT flag, then it must be decrypted with it too
If the iv initialization vector was used during encryption, then the same vector must be specified during decryption.
Syntax
public unsafe Status Decrypt(byte[] data, FeatureEncryptMode mode, byte[] iv)
Parameters
data | Encryption buffer |
mode |
|
iv | Buffer to transmit initialization vector. Can be NULL |