| 
            
              AESPrivacyProviderBaseExtendShortKey Method
             | 
          
        
        
            Some protocols support a method to extend the encryption or decryption key when supplied key
            is too short.
            
        
        Namespace: GSF.Net.Snmp.SecurityAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.257-beta
Syntaxpublic byte[] ExtendShortKey(
	byte[] shortKey,
	byte[] password,
	byte[] engineID,
	IAuthenticationProvider authProtocol
)
Public Function ExtendShortKey ( 
	shortKey As Byte(),
	password As Byte(),
	engineID As Byte(),
	authProtocol As IAuthenticationProvider
) As Byte()
public:
array<unsigned char>^ ExtendShortKey(
	array<unsigned char>^ shortKey, 
	array<unsigned char>^ password, 
	array<unsigned char>^ engineID, 
	IAuthenticationProvider^ authProtocol
)
member ExtendShortKey : 
        shortKey : byte[] * 
        password : byte[] * 
        engineID : byte[] * 
        authProtocol : IAuthenticationProvider -> byte[] function ExtendShortKey(shortKey, password, engineID, authProtocol);
 View SourceParameters
- 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
ByteExtended key value
See Also