AuthenticationProtocol Property
The authentication protocol used for SNMPv3 packets.
Syntax
ANSI (Cross Platform) int GetAuthenticationProtocol();
int SetAuthenticationProtocol(int iAuthenticationProtocol); Unicode (Windows) INT GetAuthenticationProtocol();
INT SetAuthenticationProtocol(INT iAuthenticationProtocol);
Possible Values
AUTHP_HMACMD596(1),
AUTHP_HMACSHA96(2),
AUTHP_HMAC192SHA256(3),
AUTHP_HMAC384SHA512(4)
@property (nonatomic,readwrite,assign,getter=authenticationProtocol,setter=setAuthenticationProtocol:) int authenticationProtocol; - (int)authenticationProtocol; - (void)setAuthenticationProtocol:(int)newAuthenticationProtocol;
Possible Values
AUTHP_HMACMD596(1),
AUTHP_HMACSHA96(2),
AUTHP_HMAC192SHA256(3),
AUTHP_HMAC384SHA512(4)
#define PID_SNMPMGR_AUTHENTICATIONPROTOCOL 4 IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_SNMPMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSNMP_EXTERNAL int IPWORKSSNMP_CALL IPWorksSNMP_SNMPMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
1
Remarks
This property defines the authentication protocol used when SNMPVersion is set to snmpverV3. Possible values are:
- 1 (HMAC-MD5-96 - default)
- 2 (HMAC-SHA-96)
- 3 (HMAC-192-SHA-256)
- 4 (HMAC-384-SHA-512)
This property is not available at design time.
Data Type
Integer