Module org.snmp4j

Class DecryptParams


  • public class DecryptParams
    extends Object
    Parameter class for encrypt and decrypt methods of SecurityProtocol.
    Version:
    1.0
    Author:
    Jochen Katz
    • Field Detail

      • array

        public byte[] array
      • offset

        public int offset
      • length

        public int length
    • Constructor Detail

      • DecryptParams

        public DecryptParams​(byte[] array,
                             int offset,
                             int length)
        Initialize with the given value.
        Parameters:
        array - the array as received on the wire
        offset - offset within the array
        length - length of the decrypt params
      • DecryptParams

        public DecryptParams()
        Inizialize with null values.
    • Method Detail

      • setValues

        public void setValues​(byte[] array,
                              int offset,
                              int length)
        Initialize with the given value.
        Parameters:
        array - the array as received on the wire
        offset - offset within the array
        length - length of the decrypt params