linotp.lib.security package

Module contents

module for SecurityModules / devices like hsms

class linotp.lib.security.SecurityModule(config=None)[source]

Bases: object

decrypt(value, iv=None)[source]
decryptPassword(cryptPass)[source]
decryptPin(cryptPin)[source]
encrypt(value, iv=None)[source]
encryptPassword(cryptPass)[source]
encryptPin(cryptPin, iv=None)[source]
isReady()[source]
random(len)[source]
setup_module(params)[source]
signMessage(message, method=None, slot_id=3)[source]
verfiyMessageSignature(message, hex_mac, method=None, slot_id=3)[source]