Class PGPPadding


  • public class PGPPadding
    extends java.lang.Object
    The PGPPadding contains random data, and can be used to defend against traffic analysis on version 2 SEIPD messages and Transferable Public Keys.

    Such a padding packet MUST be ignored when received.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getPadding()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PGPPadding

        public PGPPadding​(BCPGInputStream in)
                   throws java.io.IOException
        Default constructor.
        Parameters:
        in -
        Throws:
        java.io.IOException
    • Method Detail

      • getPadding

        public byte[] getPadding()