Package org.snmp4j.security.nonstandard
Class PrivAES256With3DESKeyExtension
java.lang.Object
org.snmp4j.security.PrivacyGeneric
org.snmp4j.security.PrivAES
org.snmp4j.security.nonstandard.PrivAESWith3DESKeyExtension
org.snmp4j.security.nonstandard.PrivAES256With3DESKeyExtension
- All Implemented Interfaces:
 Serializable,NonStandardSecurityProtocol,PrivacyProtocol,SecurityProtocol
public class PrivAES256With3DESKeyExtension
extends PrivAESWith3DESKeyExtension
implements NonStandardSecurityProtocol
This class is provided for interoperability with some broken AES 256bit 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
FieldsFields inherited from class org.snmp4j.security.nonstandard.PrivAESWith3DESKeyExtension
oidFields inherited from class org.snmp4j.security.PrivacyGeneric
cipherPool, initVectorLength, keyBytes, protocolClass, protocolId - 
Constructor Summary
Constructors - 
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, setIDMethods inherited from class org.snmp4j.security.PrivAES
asHex, decrypt, encrypt, getDecryptParamsLength, getEncryptedLength, getMaxKeyLength, getMinKeyLengthMethods inherited from class org.snmp4j.security.PrivacyGeneric
doDecrypt, doFinal, doFinalWithPadding, doInit, isSupportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.snmp4j.security.nonstandard.NonStandardSecurityProtocol
setIDMethods inherited from interface org.snmp4j.security.SecurityProtocol
isSupported 
- 
Field Details
- 
ID
Unique ID of this privacy protocol. 
 - 
 - 
Constructor Details
- 
PrivAES256With3DESKeyExtension
public PrivAES256With3DESKeyExtension()Constructor. 
 - 
 - 
Method Details
- 
getDefaultID
Description copied from interface:NonStandardSecurityProtocolGets the default ID for this non-standard privacy protocol.- Specified by:
 getDefaultIDin interfaceNonStandardSecurityProtocol- Returns:
 - the default ID as defined by the OOSNMP-USM-MIB.
 
 
 -