SNMP::V3::Security
Constants
PASSKEY_CHUNK_SIZE = 64
PASSKEY_EXPANSION_SIZE = 1 << 20
RFC 3414 A.2 expands the password to 2^20 octets, hashed in 64-byte chunks.
Constructors
new(username : String, engine_id : String = "", auth_protocol : SNMP::V3::Security::AuthProtocol = AuthProtocol::MD5, auth_password : String = "", priv_protocol : SNMP::V3::Security::PrivacyProtocol = PrivacyProtocol::DES, priv_password : String = "", verify_messages : Bool = true)
SourceInstance methods
auth_key
Sourceauth_protocol
Sourceengine_id
Sourcepasskey(password)
Sourcepriv_key
Sourcepriv_protocol
Sourcesecurity_level
Sourceusername
Sourceverify_messages?
Whether inbound authenticated messages have their HMAC verified.
WARNING: setting this to false disables authentication verification of
received messages — a forged or tampered response is then accepted as
genuine. Leave it at the default (true) unless you are deliberately
inspecting traffic and understand that the security guarantee is voided.