ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: PDF Questions
@ 2000-03-28 13:05 ` Karsten Tinnefeld
  2000-03-28 14:51   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Karsten Tinnefeld @ 2000-03-28 13:05 UTC (permalink / raw)
  Cc: NTG-ConTeXt mailing list

> This is a funny one. The java code clearly says: 
> 
>  public RC4()
> 
> Looks pretty public to me, especially for non java experts -)

Simply means that every method may access the class, create variables 
of its type, call its functions, etc.

Without any reply, I asked pdftex-l on February 17th,
--8<--
Has anyone yet startet a project to implement the 
pdf standard encryption mechanism with pdfTeX?

Ideally, there would be a 
	\pdfpermissions {/printing  (enabled)
			 /copying   (disabled)
			 /ownerpass (thelionsleepstonight) }
field setting permission flags, owner and user password, if any,
maybe being entered/input separately.

As ianal I cannot determine whether or not usage of the (fake) rc4/md5 
algorithms would be a serious problem nowadays, but this (and the 
demand for a encrypted-only pw storage) may be a reason for a partially 
separate tool.

Comments?
--8<--

I still think that whether or not encryption is to be done in a 
separate pass, information about this should be kept in the tex file.

Karsten
-- 
Karsten Tinnefeld                       tinnefeld@ls2.cs.uni-dortmund.de
Fachbereich Informatik, Lehrstuhl 2                   T +49 231 755-4737
Universität Dortmund, D-44221 Dortmund, Deutschland   F +49 231 755-2047


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PDF Questions
  2000-03-28 13:05 ` PDF Questions Karsten Tinnefeld
@ 2000-03-28 14:51   ` Hans Hagen
  2000-03-28 15:44     ` OT - NTS implementation language Ed L Cashin
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2000-03-28 14:51 UTC (permalink / raw)
  Cc: ntg-context

At 03:05 PM 3/28/2000 +0200, you wrote:
>> This is a funny one. The java code clearly says: 
>> 
>>  public RC4()
>> 
>> Looks pretty public to me, especially for non java experts -)
>
>Simply means that every method may access the class, create variables 
>of its type, call its functions, etc.

I know since NTS is prototyped in Java -) I just considered it a funny
contraditionary. They could have made it a private class.

>Without any reply, I asked pdftex-l on February 17th,
>--8<--
>Has anyone yet startet a project to implement the 
>pdf standard encryption mechanism with pdfTeX?
>
>Ideally, there would be a 
>	\pdfpermissions {/printing  (enabled)
>			 /copying   (disabled)
>			 /ownerpass (thelionsleepstonight) }

This would not work, since there are no such keys. Also, it would have to
be real primitives, since pdftex does not interpret what goes into objects
and attr's. 

>field setting permission flags, owner and user password, if any,
>maybe being entered/input separately.

actually it's an object 

  /Filter /Standard /V 1 /R 2 /O

to which the Encrypt key points

  trailer<</Size 26/Info 8 0 R /Encrypt 11 0 R

so \pdftrailerattr would be more appropriate. 

>I still think that whether or not encryption is to be done in a 
>separate pass, information about this should be kept in the tex file.

Sure, that will not be the problem. Since that can be passed on. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* OT - NTS implementation language
  2000-03-28 14:51   ` Hans Hagen
@ 2000-03-28 15:44     ` Ed L Cashin
  0 siblings, 0 replies; 3+ messages in thread
From: Ed L Cashin @ 2000-03-28 15:44 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> writes:

> I know since NTS is prototyped in Java -) 

I thought that it was going to be written in Java and stay Java.  Are
you saying that while it's prototyped in Java, the production version
may be in something like C++ or Objective-C? 

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-03-28 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Your message of "Tue, 28 Mar 2000 11:31:27 +0200." <3.0.6.32.20000328113127.01535d60@pop.wxs.nl>
2000-03-28 13:05 ` PDF Questions Karsten Tinnefeld
2000-03-28 14:51   ` Hans Hagen
2000-03-28 15:44     ` OT - NTS implementation language Ed L Cashin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).