class SNMP::V3::Security

Defined in:

snmp/v3/security.cr

Constant Summary

IPAD = Bytes.new(64, 54)
OPAD = Bytes.new(64, 92)

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def auth_key #

[View source]
def auth_protocol : AuthProtocol #

[View source]
def decode(pdu : ASN1::BER, salt : Bytes, engine_time, engine_boots) #

[View source]
def encode(pdu : ASN1::BER, engine_time, engine_boots) #

[View source]
def engine_id : String #

[View source]
def engine_id=(engine_id : String) #

[View source]
def passkey(password) #

[View source]
def priv_key #

[View source]
def priv_protocol : PrivacyProtocol #

[View source]
def security_level : MessageFlags #

[View source]
def security_model : SecurityModel #

The default message security model


[View source]
def sign(message : ASN1::BER) #

[View source]
def username : String #

[View source]
def verify_messages : Bool #

[View source]