Table of Contents

Interface IAuthenticationProvider

Namespace
Lextm.SharpSnmpLib.Security
Assembly
SharpSnmpLib.dll

Authentication provider interface.

public interface IAuthenticationProvider

Properties

CleanDigest

Gets the clean digest.

OctetString CleanDigest { get; }

Property Value

OctetString

The clean digest.

DigestLength

Gets the length of the digest.

int DigestLength { get; }

Property Value

int

The length of the digest.

Methods

ComputeHash(VersionCode, ISegment, SecurityParameters, ISnmpData, IPrivacyProvider, byte[]?)

Computes the hash.

OctetString ComputeHash(VersionCode version, ISegment header, SecurityParameters parameters, ISnmpData data, IPrivacyProvider privacy, byte[]? length)

Parameters

version VersionCode

The version.

header ISegment

The header.

parameters SecurityParameters

The parameters.

data ISnmpData

The scope bytes.

privacy IPrivacyProvider

The privacy provider.

length byte[]

The length bytes.

Returns

OctetString

PasswordToKey(byte[], byte[])

Converts password to key.

byte[] PasswordToKey(byte[] password, byte[] engineId)

Parameters

password byte[]

The password.

engineId byte[]

The engine id.

Returns

byte[]