Module org.snmp4j

Class DHOperations.DHKeyInfo

java.lang.Object
org.snmp4j.security.dh.DHOperations.DHKeyInfo
All Implemented Interfaces:
Serializable
Enclosing class:
DHOperations

public static class DHOperations.DHKeyInfo extends Object implements 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:
  • Constructor Details

    • DHKeyInfo

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

    • getUserName

      public OctetString getUserName()
    • 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()