FileDocCategorySizeDatePackage
SnmpEngineParameters.javaAPI DocJava SE 5 API2736Fri Aug 26 14:55:02 BST 2005com.sun.jmx.snmp

SnmpEngineParameters

public class SnmpEngineParameters extends Object implements Serializable
This class is used to pass some specific parameters to an SnmpEngineFactory .

This API is a Sun Microsystems internal API and is subject to change without notice.

since
1.5

Fields Summary
private UserAcl
uacl
private String
securityFile
private boolean
encrypt
private SnmpEngineId
engineId
Constructors Summary
Methods Summary
public voidactivateEncryption()
Activate SNMP V3 encryption. By default the encryption is not activated. Be sure that the security provider classes needed for DES are in your classpath (eg:JCE classes)

	this.encrypt = true;
    
public voiddeactivateEncryption()
Deactivate SNMP V3 encryption. By default the encryption is not activated. Be sure that the security provider classes needed for DES are in your classpath (eg:JCE classes)

	this.encrypt = false;
    
public SnmpEngineIdgetEngineId()
Get the engine Id.

return
The engineId.

	return engineId;
    
public java.lang.StringgetSecurityFile()
Gets the file to use for SNMP Runtime Lcd.

return
The security file.

	return securityFile;
    
public UserAclgetUserAcl()
Gets the customized user ACL.

return
The customized user ACL.

	return uacl;
    
public booleanisEncryptionEnabled()
Check if encryption is activated. By default the encryption is not activated.

return
The encryption activation status.

	return encrypt;
    
public voidsetEngineId(SnmpEngineId engineId)
Set the engine Id.

param
engineId The engine Id to use.

	this.engineId = engineId;
    
public voidsetSecurityFile(java.lang.String securityFile)
Sets the file to use for SNMP Runtime Lcd. If no file is provided, the default location will be checked.

    
                             
        
	this.securityFile = securityFile;
    
public voidsetUserAcl(UserAcl uacl)
Sets a customized user ACL. User Acl is used in order to check access for SNMP V3 requests. If no ACL is provided, com.sun.jmx.snmp.usm.UserAcl.UserAcl is instantiated.

param
uacl The user ACL to use.

	this.uacl = uacl;