Generate IV from the privacy key and salt value returned by GetSalt method.
Namespace:
SnmpSharpNet
Assembly:
SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)
Syntax
| Visual Basic (Declaration) |
|---|
Private Function GetIV ( _
privacyKey As Byte(), _
salt As Byte() _
) As Byte() |
Parameters
- privacyKey
- Type: array<
System..::.Byte
>[]()[]
16 byte privacy key
- salt
- Type: array<
System..::.Byte
>[]()[]
Salt value returned by GetSalt method
Return Value
IV value used in the encryption process
Exceptions
| Exception | Condition |
|---|
| SnmpPrivacyException | Thrown when privacy key is less then 16 bytes long. |
See Also