add_engine Method
Adds the engine specified by EngineId to the internal authentication cache.
Syntax
def add_engine(engine_id: bytes, engine_boots: int, engine_time: int) -> None: ...
Remarks
The internal authentication cache can be used as an alternative to the on_get_user_password event, automatically checking the cache against the security parameters provided in the request signature.
The show_cache method is used to show the contents of the internal authentication cache.
The clear_cache method can be used to completely clear the cache.
If the engine parameters are unknown, the SNMPMgr class's Discover method can be used to perform a discovery with the agent. The RemoteEngineId, RemoteEngineTime, and RemoteEngineBoots properties will hold the values that can then be passed to this method.