Module org.snmp4j

Interface SecurityProtocol

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      OID getID()
      Gets the OID uniquely identifying the privacy protocol.
      int getMaxKeyLength()
      Get the maximum length of the key in bytes for this security protocol.
      boolean isSupported()
      Checks whether this security protocol is actually supported by this Java runtime environment.
    • Method Detail

      • getID

        OID getID()
        Gets the OID uniquely identifying the privacy protocol.
        Returns:
        an OID instance.
      • isSupported

        boolean isSupported()
        Checks whether this security protocol is actually supported by this Java runtime environment.
        Returns:
        true if this security protocol is supported, false otherwise.
        Since:
        2.5.0
      • getMaxKeyLength

        int getMaxKeyLength()
        Get the maximum length of the key in bytes for this security protocol.
        Returns:
        the (maximum) length of the security protocols key.
        Since:
        2.6.0