class SNMP::V3::SecurityParams

Defined in:

snmp/v3/security_params.cr

Constant Summary

EMPTY_SLICE = Bytes.new(0)

Constructors

Instance Method Summary

Constructor Detail

def self.new(params : ASN1::BER) #

[View source]
def self.new(username : String = "", engine_id : String = "", engine_boots : Int32 = 0, engine_time : Int32 = 0, priv_param : Slice(UInt8) = EMPTY_SLICE, auth_param : Slice(UInt8) = EMPTY_SLICE) #

[View source]

Instance Method Detail

def auth_param : Bytes #

[View source]
def auth_param=(auth_param : Bytes) #

[View source]
def engine_boots : Int32 #

[View source]
def engine_boots=(engine_boots : Int32) #

[View source]
def engine_id : String #

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

[View source]
def engine_time : Int32 #

[View source]
def engine_time=(engine_time : Int32) #

[View source]
def priv_param : Bytes #

[View source]
def priv_param=(priv_param : Bytes) #

[View source]
def to_ber(auth = @auth_param) #

[View source]
def username : String #

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

[View source]