Mini Shell
#
# This file is part of pysnmp software.
#
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pysnmp/license.html
#
from pysnmp.proto import error
class AbstractEncryptionService(object):
serviceID = None
keySize = 0
def hashPassphrase(self, authProtocol, privKey):
raise error.ProtocolError('no encryption')
def localizeKey(self, authProtocol, privKey, snmpEngineID):
raise error.ProtocolError('no encryption')
def encryptData(self, encryptKey, privParameters, dataToEncrypt):
raise error.ProtocolError('no encryption')
def decryptData(self, decryptKey, privParameters, encryptedData):
raise error.ProtocolError('no encryption')
Zerion Mini Shell 1.0