public interface SecurityParameters extends BERSerializable
SecurityParameters
interface represents the security
parameters in a SNMPv3 message.Modifier and Type | Method and Description |
---|---|
int |
getBERMaxLength(int securityLevel)
Gets the maximum length of the BER encoded representation of this
SecurityParameters instance. |
int |
getSecurityParametersPosition()
Gets the byte position of the first byte (counted from zero) of the
security parameters in the whole message.
|
void |
setSecurityParametersPosition(int pos)
Sets the position of the first byte (counted from zero) of the security
parameters in the whole SNMP message.
|
decodeBER, encodeBER, getBERLength, getBERPayloadLength
int getSecurityParametersPosition()
void setSecurityParametersPosition(int pos)
pos
- an integer value >= 0.int getBERMaxLength(int securityLevel)
SecurityParameters
instance.securityLevel
- the security level to be used.Copyright © 2017 SNMP4J.org. All rights reserved.