Module org.snmp4j

Class DecryptParams


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

      Fields 
      Modifier and Type Field Description
      byte[] array  
      int length  
      int offset  
    • Constructor Summary

      Constructors 
      Constructor Description
      DecryptParams()
      Inizialize with null values.
      DecryptParams​(byte[] array, int offset, int length)
      Initialize with the given value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setValues​(byte[] array, int offset, int length)
      Initialize with the given value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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