Module org.snmp4j

Class DHOperations.DHKeyInfo

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    DHOperations

    public static class DHOperations.DHKeyInfo
    extends java.lang.Object
    implements java.io.Serializable
    The DHSharedKeyInfo provides DH key exchange information that associates a user name with a key (private or shared) and authentication and privacy protocol OIDs necessary to create an USM user during a DH kick-start operation.
    Since:
    3.4.1
    See Also:
    Serialized Form
    • Field Detail

      • privateKey

        private byte[] privateKey
      • authKey

        private byte[] authKey
      • privKey

        private byte[] privKey
      • authProtocol

        private final OID authProtocol
      • privProtocol

        private final OID privProtocol
    • Constructor Detail

      • DHKeyInfo

        public DHKeyInfo​(OctetString userName,
                         byte[] privateKey,
                         OID authProtocol,
                         OID privProtocol)
    • Method Detail

      • getPrivateKey

        public byte[] getPrivateKey()
      • getAuthKey

        public byte[] getAuthKey()
      • getPrivKey

        public byte[] getPrivKey()
      • setAuthKey

        public void setAuthKey​(byte[] authKey)
      • setPrivKey

        public void setPrivKey​(byte[] privKey)
      • getAuthProtocol

        public OID getAuthProtocol()
      • getPrivProtocol

        public OID getPrivProtocol()