|
![]() |
||||||||
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 FormConstructor 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 nullpublic 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 nullMethod Detail |
public int getSecurityModelID()
SnmpSecurityInfo
getSecurityModelID
in interface SnmpSecurityInfo
com.outbackinc.services.protocol.snmp.SnmpSecurityInfo
public byte getSecurityLevel()
SnmpSecurityInfo
getSecurityLevel
in interface SnmpSecurityInfo
SnmpSecurityLevels
public java.lang.String getReadCommunity()
public java.lang.String getWriteCommunity()
public byte[] getReadCommunityBytes()
public byte[] getWriteCommunityBytes()
public boolean supportedBySnmpVersion(int iSnmpVersion)
SnmpSecurityInfo
supportedBySnmpVersion
in interface SnmpSecurityInfo
SnmpConstants
|
![]() |
||||||||
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.