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
VersionCodeThe version.
header
ISegmentThe header.
parameters
SecurityParametersThe parameters.
data
ISnmpDataThe scope bytes.
privacy
IPrivacyProviderThe privacy provider.
length
byte[]The length bytes.
Returns
PasswordToKey(byte[], byte[])
Converts password to key.
byte[] PasswordToKey(byte[] password, byte[] engineId)
Parameters
Returns
- byte[]