- java.lang.Object
-
- org.snmp4j.security.PrivacyGeneric
-
- org.snmp4j.security.PrivAES
-
- org.snmp4j.security.PrivAES192
-
- All Implemented Interfaces:
java.io.Serializable
,NonStandardSecurityProtocol
,PrivacyProtocol
,SecurityProtocol
public class PrivAES192 extends PrivAES implements NonStandardSecurityProtocol
Encryption class for AES 192.- Version:
- 1.11
- Author:
- Jochen Katz
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OID
ID
Unique ID of this privacy protocol.-
Fields inherited from class org.snmp4j.security.PrivacyGeneric
cipherPool, initVectorLength, keyBytes, protocolClass, protocolId
-
-
Constructor Summary
Constructors Constructor Description PrivAES192()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OID
getDefaultID()
Gets the default ID for this non-standard privacy protocol.OID
getID()
Gets the OID uniquely identifying the privacy protocol.void
setID(OID newID)
Assign a new ID to a non-standard security protocol instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.snmp4j.security.PrivacyGeneric
doDecrypt, doFinal, doFinalWithPadding, doInit, isSupported
-
Methods inherited from class org.snmp4j.security.PrivAES
asHex, decrypt, encrypt, extendShortKey, getDecryptParamsLength, getEncryptedLength, getMaxKeyLength, getMinKeyLength
-
Methods inherited from interface org.snmp4j.security.SecurityProtocol
isSupported
-
-
-
-
Field Detail
-
ID
public static OID ID
Unique ID of this privacy protocol.
-
-
Method Detail
-
getID
public OID getID()
Gets the OID uniquely identifying the privacy protocol.- Specified by:
getID
in interfacePrivacyProtocol
- Specified by:
getID
in interfaceSecurityProtocol
- Returns:
- an
OID
instance.
-
setID
public void setID(OID newID)
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
public OID 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.
-
-