159160161162163164165166167
} public void encode(BCPGOutputStream pOut) throws IOException { PublicKeyEncSessionPacket pk = new PublicKeyEncSessionPacket(pubKey.getKeyID(), pubKey.getAlgorithm(), data); pOut.writePacket(pk); }
68697071727374
} public ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) throws PGPException { return new PublicKeyEncSessionPacket(pubKey.getKeyID(), pubKey.getAlgorithm(), processSessionInfo(encryptSessionInfo(pubKey, sessionInfo))); }
157158159160161162163164165