1. /*
  2. * @(#)file SnmpDecryptedPdu.java
  3. * @(#)author Sun Microsystems, Inc.
  4. * @(#)version 1.15
  5. * @(#)date 04/09/15
  6. *
  7. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  8. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  9. *
  10. */
  11. package com.sun.jmx.snmp.internal;
  12. /**
  13. * Class returned by <CODE>SnmpSecuritySubSystem</CODE> and <CODE>SnmpSecurityModel</CODE>. If privacy is applied, the received pdu must be decrypted. This class contains the field of of a decrypted scoped pdu.
  14. * <p><b>This API is a Sun Microsystems internal API and is subject
  15. * to change without notice.</b></p>
  16. * @since 1.5
  17. */
  18. public class SnmpDecryptedPdu {
  19. /**
  20. * Decrypted pdu data.
  21. */
  22. public byte[] data = null;
  23. /**
  24. * Decrypted pdu data length.
  25. */
  26. public int dataLength = 0;
  27. /**
  28. * Decrypted context name.
  29. */
  30. public byte[] contextName = null;
  31. /**
  32. * Decrypted context engine Id.
  33. */
  34. public byte[] contextEngineId = null;
  35. }