Class PGPPad


  • public class PGPPad
    extends java.lang.Object
    Utility class that provides padding addition and removal for PGP session keys.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] padSessionData​(byte[] sessionInfo)  
      static byte[] padSessionData​(byte[] sessionInfo, boolean obfuscate)  
      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)
      • padSessionData

        public static byte[] padSessionData​(byte[] sessionInfo,
                                            boolean obfuscate)