Click or drag to resize

AESPrivacyProviderBaseExtendShortKey Method

Some protocols support a method to extend the encryption or decryption key when supplied key is too short.

Namespace: GSF.Net.Snmp.Security
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.205-beta
Syntax
public byte[] ExtendShortKey(
	byte[] shortKey,
	byte[] password,
	byte[] engineID,
	IAuthenticationProvider authProtocol
)
View Source

Parameters

shortKey  Byte
Key that needs to be extended
password  Byte
Privacy password as configured on the SNMP agent.
engineID  Byte
Authoritative engine id. Value is retrieved as part of SNMP v3 discovery procedure
authProtocol  IAuthenticationProvider
Authentication protocol class instance cast as IAuthenticationProvider

Return Value

Byte
Extended key value
See Also