org.snmp4j.security
Class DecryptParams

java.lang.Object
  extended by org.snmp4j.security.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
 byte[] array
           
 int length
           
 int offset
           
 
Constructor Summary
DecryptParams()
          Inizialize with null values.
DecryptParams(byte[] array, int offset, int length)
          Initialize with the given value.
 
Method Summary
 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

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.