OK.
This is a short example
.
And this is another
example.
Looking at the two sentences above, the first one is the situation I want to
avoid. Looking at the position of the the period, this character alone has
been pushed to a new line, in contrast to the second one where the word
'example'
Hi Jian,
from a first look at the code sample I would assume the difference is the
missing padding in version 2.
But I'm not quite sure how a missing padding wouldn't cause a BER decoding
error ...
I always a good idea to post sample PDF. Many guys on the list have their
favourite tools to
On 27/10/2010 8:26, riffla wrote:
OK.
This is a short example
.
And this is another
example.
Looking at the two sentences above, the first one is the situation I want to
avoid. Looking at the position of the the period, this character alone has
been pushed to a new line, in contrast to
On 27/10/2010 8:38, 1T3XT info wrote:
Yes,
if I understand correctly,
Oops, I think I wasn't awake when I wrote the previous answer.
I thought you only wanted to split lines when a period was encountered.
On second thoughts, you want to split lines on the last space character
before each
Hi all,
Most of the discussion about privileges in pdf forms seems to be about
locking the thing down. I'm having problems in the other direction.
I have a website where a user, after login, can download pdf forms. Since I
already know a few things about the user, I can prefill some of the
On 27/10/2010 7:32, Margaret Leonny Biggs wrote:
Hi all,
Most of the discussion about privileges in pdf forms seems to be about
locking the thing down.
No, it doesn't.
Section 8.7 of the second edition of iText in Action describes what to
do when you encounter this dreaded dialog:
Margaret
It is nothing to do with iText and everything to do with Acrobat.
After filling (or stamping) you need to process them in Acrobat Pro first to
enable reader rights under the extended menu, and this can be achieved
externally by Applescript on Mac or AutoIt on PC. It is possible
Thanks again for helpful replies...
Did have a second look in the code generating the PDF, and I think I've
missed a part here.
Using property files to retrieve words/sentences to be added I sometimes add
a white space and sometimes not depending om different conditions. And in
this case I think
张健,
jian zhang wrote:
my code is:
byte[] signedHashValue1 = server.sha1_rsa(content);
byte[] hash = server.sha1(content);
byte[] signedHashValue2=server.rsa(hash);
when I use signedHashValue1, it's ok, I can get a valid signature in pdf;
but when I use signedHashValue2, get an error,
On Wed, 27 Oct 2010 00:23:20 -0700 (PDT), riffla rif...@hotmail.com
wrote:
In other words, as long as the character preceding a period is a non
white
space character (or a line break etc.) the period will be considered as
a
part of the preceding block of characters, am I right?
Yes, you are
Thanks Michael,
Could you please give me a sample code for using DigestInfo then RSA to
generate a signature?
Use Bouncy Castle library?
I'm a newer in this security field.
The reason is that SHA1withRSA does not merely mean take the SHA1 hash and
encrypt it using RSA. It actually means take
Pedro,
P3d3r0s0 wrote:
I have no idea in what way PdfSignatureAppearance.VERISIGN_SIGNED differs
from PdfSignatureAppearance.SELF_SIGNED...
[...]
Heres is a sample of a signed document.
The signature isnt verified because i'd need to put the certificate in
adobe reader i think, not sure if
张健,
jian zhang wrote:
Could you please give me a sample code for using DigestInfo then RSA to
generate a signature?
Use Bouncy Castle library?
I'm a newer in this security field.
As mentioned before I merely have to cope with externally generated
/adbe.pkcs7.detached signatures; therefore,
Great to find helpful people like you, thanks again...
/R
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Keeping-things-together-in-the-same-line-tp3013994p3015074.html
Sent from the iText - General mailing list archive at Nabble.com.
Hey, looks like you are right Michael.
When i selected a handler for the plugin im able to see that theres no hash
algorithm and there are verification errors...
Im sure its possible to sign files with the portuguese citizen's smartcard,
i just used the pdfSignerDemo and signed this sample:
Pedro,
P3d3r0s0 wrote:
Im sure its possible to sign files with the portuguese citizen's
smartcard, i just used the pdfSignerDemo and signed this sample:
http://www.filefactory.com/file/b402157/n/_signed_pdf
Which pdfSignerDemo?
(This sample, BTW, uses the /SubFilter /adbe.pkcs7.sha1 which
Hello again,
I got few small breakthroughs.
For starters i now know i can upload files to nabble instead of
filefactory(thanks Michael) :P
i wasnt sure that people that used the mailing list would be able to see the
files if i used nabble.
Also found out that something goes wrong when
Pedro,
P3d3r0s0 wrote:
Also found out that something goes wrong when generating the digest.
[...]
if i generate a byte array from the inputstream and sign it afterwards,
adobe recognizes the signature and gives the glorious message that the
file wasnt altered after being signed.
[...]
if
Hey Michael,
That makes a lot of sense (SHA1withRSA is a two-step algorithm), and thus i
was going at it the wrong way by hashing it first and then rehashing and
signing
Too bad jian zhang method of generating the hash and then applying RSA
doesnt work, my next step was going to be to apply
Hi,
Suppose content-hash-signature
there is already a SHA-1 hash *x*, signature *s = f(x, otherInfo)*,
Is there a method *f * In iText or Bouncy Castle library?
--
Best Regards,
张健
--
Nokia and ATT present the 2010
Pedro,
P3d3r0s0 wrote:
Too bad jian zhang method of generating the hash and then applying RSA
doesnt work, my next step was going to be to apply this to a server-client
application and that separating RSA from SHA1 would end in less bytes to
send between both.
Theres no way of doing it,
Hi, Pedro
I also need to write a program to send a SHA-1 hash from client to server,
then return the signature from server to client.
So, if you find a good solution, please send me a email.
Too bad jian zhang method of generating the hash and then applying RSA
doesnt work, my next step was
Hello guys,
I want to write a program to make Author of index file like this:
AuthorA ..1
AuthorBBB.12
The hard work is to calculate how many points should I add, I use
Basefont's method GetWidthPoint to
Senlin,
There are a few different approaches you could try, but they all involve
using DottedLineSeparator. One that works for me is as follows:
Chunk chunk=new Chunk(Some text,someFont);
Paragraph paragraph = new Paragraph(chunk);
24 matches
Mail list logo