class SNMP::V3::Security
- SNMP::V3::Security
- Reference
- Object
Defined in:
snmp/v3/security.crConstant Summary
-
IPAD =
Bytes.new(64, 54)
-
OPAD =
Bytes.new(64, 92)
Constructors
Instance Method Summary
- #auth_key
- #auth_protocol : AuthProtocol
- #decode(pdu : ASN1::BER, salt : Bytes, engine_time, engine_boots)
- #encode(pdu : ASN1::BER, engine_time, engine_boots)
- #engine_id : String
- #engine_id=(engine_id : String)
- #passkey(password)
- #priv_key
- #priv_protocol : PrivacyProtocol
- #security_level : MessageFlags
-
#security_model : SecurityModel
The default message security model
- #sign(message : ASN1::BER)
- #username : String
- #verify_messages : Bool
Constructor Detail
def self.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)
#