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
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)
-
-
-
Method Detail
-
padSessionData
public static byte[] padSessionData(byte[] sessionInfo)
-
padSessionData
public static byte[] padSessionData(byte[] sessionInfo, boolean obfuscate)
-
unpadSessionData
public static byte[] unpadSessionData(byte[] encoded) throws PGPException
- Throws:
PGPException
-
-