TED]>
Date: Monday, June 18, 2007 0:51 am
Subject: RE: Encrypt with public key
> Dear all
>
> Thanks for your responses. I understand the argument you have brought
> forward. Indeed what I needed is to encrypt using the public key
> of sender,
> not sign. What I wo
h the
private key of a sender as you mentioned in the last post... You encrypt with
the *public* key of the *receiver*.
Cheers,
Ulrich
-Ursprüngliche Nachricht-
Von: security-dev@xml.apache.org
Gesendet: 18.06.07 10:03:15
An:
Betreff: RE: Encrypt with public key
Dear all
Thanks for
: security-dev@xml.apache.org
Subject: RE: Encrypt with public key
Hi Thomas,
this is exactly what I was stating in a previous post to Joseph:
"Why do you want to SIGN a document with a PUBLIC key? I have never heard of
anything like that. There is no authenticy involved when signing with a
p
rs,
Ulrich
-Ursprüngliche Nachricht-
Von: security-dev@xml.apache.org
Gesendet: 14.06.07 13:52:54
An:
Betreff: RE: Encrypt with public key
Hi Ulrich,
You wrote:
> 1. Create a RSAPrivateKeySpec object with the following (the exponents
can be retrieved by any
> object implementing the RSAPub
Hi Ulrich,
You wrote:
> 1. Create a RSAPrivateKeySpec object with the following (the exponents
can be retrieved by any
> object implementing the RSAPublicKey interface):
RSAPrivateKeySpec(BigInteger modulus, BigInteger
> privateExponent) 2. Create a KeyFactory: KeyFactory.getInstance("RSA")
3. G
apache.org
Gesendet: 12.06.07 07:54:19
An:
Betreff: RE: Encrypt with public key
Hi Ulrich!
Thanks for your time to answer my query. My problem is not so much with
using the APIs. In fact I have successfully sent encrypted and signed
messages between two communicators. However, my problem lies here
Joseph Bonello wrote:
My problem is that
I ALSO want to sign the document with the PUBLIC key of the other person.
However, when I try to change localPrivateKey to a Public Key, I get an
exception that it needs a PrivateKey. Is it possible to work it out that
way?
That's just not how a digita
work right now, I do not have the time to figure that out. I'll
take a look at that this evening.
Cheers,
Ulrich
-Ursprüngliche Nachricht-
Von: security-dev@xml.apache.org
Gesendet: 12.06.07 07:54:19
An:
Betreff: RE: Encrypt with public key
Hi Ulrich!
Thanks for your time to
Ursprüngliche Nachricht-
Von: security-dev@xml.apache.org
Gesendet: 06.06.07 08:41:36
An:
Betreff: RE: Encrypt with public key
Dear Ulrich
Thanks for your response and the advice. I am using Bouncy Castle as my
security provider. Is there some code that I can use as an example for what
I need? Th
Gesendet: 06.06.07 08:41:36
An:
Betreff: RE: Encrypt with public key
Dear Ulrich
Thanks for your response and the advice. I am using Bouncy Castle as my
security provider. Is there some code that I can use as an example for what
I need? The public key is stored in a public key object in a
Joseph
-Original Message-
From: Ulrich Ackermann [mailto:[EMAIL PROTECTED]
Sent: 05 June 2007 22:50
To: security-dev@xml.apache.org
Subject: Re: Encrypt with public key
Hi Joseph,
Sure is this possible. That's what Apache XML Security is all about, isn't
it? :)
But I would firs
Hi Joseph,
Sure is this possible. That's what Apache XML Security is all about, isn't it?
:)
But I would first sign the message and encrypt it afterwards. That gives a
hacker less information because all signature related information is in the
encrypted part of the receipt.
Cheers,
Ulrich
---
12 matches
Mail list logo