PGPPad
Date: 2016-06-23

org.bouncycastle.openpgp.operator

## Class PGPPad

- java.lang.Object
- - org.bouncycastle.openpgp.operator.PGPPad

-     public class PGPPad
      extends java.lang.Object

  Utility class that provides padding addition and removal for PGP session keys.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `padSessionData(byte[] sessionInfo)`
    `static byte[]` | `unpadSessionData(byte[] encoded)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### padSessionData

          public static byte[] padSessionData(byte[] sessionInfo)

    - #### unpadSessionData

          public static byte[] unpadSessionData(byte[] encoded)
                                         throws PGPException

      Throws:
        `PGPException`