diff options
Diffstat (limited to 'pysnmp/hlapi/auth.py')
-rw-r--r-- | pysnmp/hlapi/auth.py | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/pysnmp/hlapi/auth.py b/pysnmp/hlapi/auth.py index e4650f4b..20db368f 100644 --- a/pysnmp/hlapi/auth.py +++ b/pysnmp/hlapi/auth.py @@ -151,35 +151,50 @@ class CommunityData(object): securityName is None and self.securityName or securityName ) - -#: No Authentication Protocol. usmNoAuthProtocol = config.usmNoAuthProtocol -#: The HMAC-MD5-96 Digest Authentication Protocol (:RFC:`3414#section-6`) +"""No Authentication Protocol""" + usmHMACMD5AuthProtocol = config.usmHMACMD5AuthProtocol -#: The HMAC-SHA-96 Digest Authentication Protocol (:RFC:`3414#section-7`) +"""The HMAC-MD5-96 Digest Authentication Protocol (:RFC:`3414#section-6`)""" + usmHMACSHAAuthProtocol = config.usmHMACSHAAuthProtocol -#: The HMAC-SHA-2 Digest Authentication Protocols (:RFC:`7860`) +"""The HMAC-SHA-96 Digest Authentication Protocol AKA SHA-1 (:RFC:`3414#section-7`)""" + usmHMAC128SHA224AuthProtocol = config.usmHMAC128SHA224AuthProtocol +"""The HMAC-SHA-2 Digest Authentication Protocols (:RFC:`7860`)""" + usmHMAC192SHA256AuthProtocol = config.usmHMAC192SHA256AuthProtocol +"""The HMAC-SHA-2 Digest Authentication Protocols (:RFC:`7860`)""" + usmHMAC256SHA384AuthProtocol = config.usmHMAC256SHA384AuthProtocol +"""The HMAC-SHA-2 Digest Authentication Protocols (:RFC:`7860`)""" + usmHMAC384SHA512AuthProtocol = config.usmHMAC384SHA512AuthProtocol +"""The HMAC-SHA-2 Digest Authentication Protocols (:RFC:`7860`)""" -#: No Privacy Protocol. usmNoPrivProtocol = config.usmNoPrivProtocol -#: The CBC-DES Symmetric Encryption Protocol (:RFC:`3414#section-8`) +"""No Privacy Protocol""" + usmDESPrivProtocol = config.usmDESPrivProtocol -#: The 3DES-EDE Symmetric Encryption Protocol (`draft-reeder-snmpv3-usm-3desede-00 <https://tools.ietf.org/html/draft-reeder-snmpv3-usm-3desede-00#section-5>`_) +"""The CBC-DES Symmetric Encryption Protocol (:RFC:`3414#section-8`)""" + usm3DESEDEPrivProtocol = config.usm3DESEDEPrivProtocol -#: The CFB128-AES-128 Symmetric Encryption Protocol (:RFC:`3826#section-3`) +"""The 3DES-EDE Symmetric Encryption Protocol (`draft-reeder-snmpv3-usm-3desede-00 <https:://tools.ietf.org/html/draft-reeder-snmpv3-usm-3desede-00#section-5>`_)""" + usmAesCfb128Protocol = config.usmAesCfb128Protocol -#: The CFB128-AES-192 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_) with Reeder key localization +"""The CFB128-AES-128 Symmetric Encryption Protocol (:RFC:`3826#section-3`)""" + usmAesCfb192Protocol = config.usmAesCfb192Protocol -#: The CFB128-AES-256 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_) with Reeder key localization +"""The CFB128-AES-192 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https:://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_) with Reeder key localization""" + usmAesCfb256Protocol = config.usmAesCfb256Protocol -#: The CFB128-AES-192 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_) +"""The CFB128-AES-256 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https:://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_) with Reeder key localization""" + usmAesBlumenthalCfb192Protocol = config.usmAesBlumenthalCfb192Protocol -#: The CFB128-AES-256 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_) +"""The CFB128-AES-192 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https:://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_)""" + usmAesBlumenthalCfb256Protocol = config.usmAesBlumenthalCfb256Protocol +"""The CFB128-AES-256 Symmetric Encryption Protocol (`draft-blumenthal-aes-usm-04 <https:://tools.ietf.org/html/draft-blumenthal-aes-usm-04#section-3>`_)""" class UsmUserData(object): |