Class SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow

java.lang.Object
org.snmp4j.agent.mo.DefaultMOTableRow
org.snmp4j.agent.mo.DefaultMOMutableRow2PC
org.snmp4j.agent.mo.snmp.dh.SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow
All Implemented Interfaces:
Comparable<MOTableRow>, MOMutableRow2PC<SubRequest<?>>, MOMutableTableRow, MOTableRow
Enclosing class:
SnmpUsmDhObjectsMib

public class SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow extends DefaultMOMutableRow2PC
  • Constructor Details

    • UsmDHUserKeyEntryRow

      public UsmDHUserKeyEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
  • Method Details

    • getUsmDHUserAuthKeyChange

      public org.snmp4j.smi.OctetString getUsmDHUserAuthKeyChange()
    • setUsmDHUserAuthKeyChange

      public void setUsmDHUserAuthKeyChange(org.snmp4j.smi.OctetString newColValue)
    • getUsmDHUserOwnAuthKeyChange

      public org.snmp4j.smi.OctetString getUsmDHUserOwnAuthKeyChange()
    • setUsmDHUserOwnAuthKeyChange

      public void setUsmDHUserOwnAuthKeyChange(org.snmp4j.smi.OctetString newColValue)
    • getUsmDHUserPrivKeyChange

      public org.snmp4j.smi.OctetString getUsmDHUserPrivKeyChange()
    • setUsmDHUserPrivKeyChange

      public void setUsmDHUserPrivKeyChange(org.snmp4j.smi.OctetString newColValue)
    • getUsmDHUserOwnPrivKeyChange

      public org.snmp4j.smi.OctetString getUsmDHUserOwnPrivKeyChange()
    • setUsmDHUserOwnPrivKeyChange

      public void setUsmDHUserOwnPrivKeyChange(org.snmp4j.smi.OctetString newColValue)
    • getValue

      public org.snmp4j.smi.Variable getValue(int column)
      Description copied from interface: MOTableRow
      Gets the value at the specified column index.
      Specified by:
      getValue in interface MOTableRow
      Overrides:
      getValue in class DefaultMOMutableRow2PC
      Parameters:
      column - the zero-based column index.
      Returns:
      the value at the specified index.
    • setValue

      public void setValue(int column, org.snmp4j.smi.Variable value)
      Description copied from interface: MOMutableTableRow
      Sets the value of a column of this row.
      Specified by:
      setValue in interface MOMutableTableRow
      Overrides:
      setValue in class DefaultMOMutableRow2PC
      Parameters:
      column - the (zero-based) column index.
      value - the new value for the specified column. Implementations of this method may not check the value's type to match the columns type for performance reasons. Thus, the caller have to make sure that the type's match to avoid runtime exceptions later.
    • getIndexDef

      public MOTableIndex getIndexDef()
    • getAuthProtocol

      public org.snmp4j.security.AuthenticationProtocol getAuthProtocol(MOTableRow changeSet)
    • getPrivProtocol

      public org.snmp4j.security.PrivacyProtocol getPrivProtocol(MOTableRow changeSet)
    • commitRow

      public void commitRow(SubRequest<?> subRequest, MOTableRow changeSet)
      Description copied from interface: MOMutableRow2PC
      Commits a row as described by the supplied change set. If the modification cannot be successfully committed, the error status of the supplied subRequest should be set to commitFailed. Setting this error should be avoided under any circumstances.

      This method is called only once per modified row.

      Specified by:
      commitRow in interface MOMutableRow2PC<SubRequest<?>>
      Overrides:
      commitRow in class DefaultMOMutableRow2PC
      Parameters:
      subRequest - the sub-request that triggered the row change and that can be used to trigger the undo phase by setting its error status.
      changeSet - a MOTableRow instance that represents the state of the row if all changes have been applied successfully.
    • getAuthKeyChange

      public DHKeyInfo getAuthKeyChange()
    • getOwnAuthKeyChange

      public DHKeyInfo getOwnAuthKeyChange()
    • getPrivKeyChange

      public DHKeyInfo getPrivKeyChange()
    • getOwnPrivKeyChange

      public DHKeyInfo getOwnPrivKeyChange()
    • getNewAuthKey

      public byte[] getNewAuthKey()
    • getNewPrivKey

      public byte[] getNewPrivKey()
    • clearDHKeyChange

      public void clearDHKeyChange()
    • isKeyChangePending

      public boolean isKeyChangePending()