java.lang.Object
org.snmp4j.security.PrivacyGeneric
org.snmp4j.security.PrivAES
org.snmp4j.security.nonstandard.PrivAESWith3DESKeyExtension
org.snmp4j.security.nonstandard.PrivAES192With3DESKeyExtension
- All Implemented Interfaces:
Serializable
,NonStandardSecurityProtocol
,PrivacyProtocol
,SecurityProtocol
public class PrivAES192With3DESKeyExtension
extends PrivAESWith3DESKeyExtension
implements NonStandardSecurityProtocol
This class is provided for interoperability with some broken AES 192bit implementations of major
network device manufactures which use a key extension algorithm that was specified for
Priv3DES
but was never specified for AES 192 and 256 bit.
Note: DO NOT USE THIS CLASS IF YOU WANT TO COMPLY WITH draft-blumenthal-aes-usm-04.txt!- Since:
- 2.2.3
- Version:
- 2.2.3
- Author:
- Frank Fock
- See Also:
-
Field Summary
Fields inherited from class org.snmp4j.security.nonstandard.PrivAESWith3DESKeyExtension
oid
Fields inherited from class org.snmp4j.security.PrivacyGeneric
cipherPool, initVectorLength, keyBytes, protocolClass, protocolId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the default ID for this non-standard privacy protocol.Methods inherited from class org.snmp4j.security.nonstandard.PrivAESWith3DESKeyExtension
extendShortKey, getID, setID
Methods inherited from class org.snmp4j.security.PrivAES
asHex, decrypt, encrypt, 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.nonstandard.NonStandardSecurityProtocol
setID
Methods inherited from interface org.snmp4j.security.SecurityProtocol
isSupported
-
Field Details
-
ID
Unique ID of this privacy protocol.
-
-
Constructor Details
-
PrivAES192With3DESKeyExtension
public PrivAES192With3DESKeyExtension()Constructor.
-
-
Method Details
-
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.
-