java.lang.Object
org.snmp4j.security.PrivacyGeneric
org.snmp4j.security.PrivAES
org.snmp4j.security.PrivAES192
- All Implemented Interfaces:
Serializable
,NonStandardSecurityProtocol
,PrivacyProtocol
,SecurityProtocol
Encryption class for AES 192.
- Version:
- 1.11
- Author:
- Jochen Katz
- See Also:
-
Field Summary
Fields inherited from class org.snmp4j.security.PrivacyGeneric
cipherPool, initVectorLength, keyBytes, protocolClass, protocolId
-
Constructor Summary
-
Method Summary
Methods inherited from class org.snmp4j.security.PrivAES
asHex, decrypt, encrypt, extendShortKey, getDecryptParamsLength, getEncryptedLength, getMaxKeyLength, getMinKeyLength
Methods inherited from class org.snmp4j.security.PrivacyGeneric
doDecrypt, doFinal, doFinalWithPadding, doInit, isSupported
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.snmp4j.security.SecurityProtocol
isSupported
-
Field Details
-
ID
Unique ID of this privacy protocol.
-
-
Constructor Details
-
PrivAES192
public PrivAES192()Constructor.
-
-
Method Details
-
getID
Gets the OID uniquely identifying the privacy protocol.- Specified by:
getID
in interfacePrivacyProtocol
- Specified by:
getID
in interfaceSecurityProtocol
- Returns:
- an
OID
instance.
-
setID
Description copied from interface:NonStandardSecurityProtocol
Assign a new ID to a non-standard security protocol instance.- Specified by:
setID
in interfaceNonStandardSecurityProtocol
- Parameters:
newID
- the new security protcol ID for the security protocol class called.
-
getDefaultID
Description copied from interface:NonStandardSecurityProtocol
Gets the default ID for this non-standard privacy protocol.- Specified by:
getDefaultID
in interfaceNonStandardSecurityProtocol
- Returns:
- the default ID as defined by the OOSNMP-USM-MIB.
-