|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.outbackinc.services.protocol.snmp.CSM.CSMSecurityInfo
The CSMSecurityInfo class implements the SnmpSecurityInfo interface for community-based SNMP versions (SNMPv1/2). A created class may be shared between many SNMPv1/2 SnmpSecureSessions.
SnmpSecurityLevels, Serialized Form| Constructor Summary | |
CSMSecurityInfo(byte[] bReadCommunity,
byte[] bWriteCommunity)
Constructs a security information entity using byte[] arguments. |
|
CSMSecurityInfo(java.lang.String szReadCommunity,
java.lang.String szWriteCommunity)
Deprecated. as of jSNMP v3.1.1 by CSMSecurityInfo(byte[] bReadCommunity, byte[] bWriteCommunity) |
|
| Method Summary | |
java.lang.String |
getReadCommunity()
Deprecated. as of jSNMP v3.1.1 by getReadCommunityBytes() |
byte[] |
getReadCommunityBytes()
Get the read community. |
byte |
getSecurityLevel()
Get the security level. |
int |
getSecurityModelID()
Get the ID of the security model. |
java.lang.String |
getWriteCommunity()
Deprecated. as of jSNMP v3.1.1 by getWriteCommunityBytes() |
byte[] |
getWriteCommunityBytes()
Get the write community. |
boolean |
supportedBySnmpVersion(int iSnmpVersion)
Determines if the given SNMP version supports this security info. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CSMSecurityInfo(byte[] bReadCommunity,
byte[] bWriteCommunity)
throws java.lang.IllegalArgumentException
bReadCommunity - read communitybWriteCommunity - write communityjava.lang.IllegalArgumentException - if either szReadCommunity or szWriteCommunity are null
public CSMSecurityInfo(java.lang.String szReadCommunity,
java.lang.String szWriteCommunity)
throws java.lang.IllegalArgumentException
szReadCommunity - read communityszWriteCommunity - write communityjava.lang.IllegalArgumentException - if either szReadCommunity or szWriteCommunity are null| Method Detail |
public int getSecurityModelID()
SnmpSecurityInfogetSecurityModelID in interface SnmpSecurityInfocom.outbackinc.services.protocol.snmp.SnmpSecurityInfopublic byte getSecurityLevel()
SnmpSecurityInfogetSecurityLevel in interface SnmpSecurityInfoSnmpSecurityLevelspublic java.lang.String getReadCommunity()
public java.lang.String getWriteCommunity()
public byte[] getReadCommunityBytes()
public byte[] getWriteCommunityBytes()
public boolean supportedBySnmpVersion(int iSnmpVersion)
SnmpSecurityInfosupportedBySnmpVersion in interface SnmpSecurityInfoSnmpConstants
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Home Services Products Purchase Contact Us About Us Legal Ceramics
Copyright © 2003-2008 jSNMP Enterprises All rights reserved.