hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
i know there is PK11_PubDecryptRaw, PK11_PubEncrptRaw,
but all these don't do padding things(PKCS1) for
me.
and SGN_*(), VFY_*(), PK11_Verify*() give me the
digest message, not plaint message i want.
i find
NZzi wrote:
hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
i know there is PK11_PubDecryptRaw, PK11_PubEncrptRaw,
but all these don't do padding things(PKCS1) for
me.
and SGN_*(), VFY_*(), PK11_Verify*() give me the
digest message, not plaint message i
NZzi wrote:
NZzi wrote:
hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
i know there is PK11_PubDecryptRaw, PK11_PubEncrptRaw,
but all these don't do padding things(PKCS1) for
me.
and SGN_*(), VFY_*(), PK11_Verify*() give me the
digest message, not
NZzi wrote:
hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
Are you encrypting data or a symmetric Key?
Most of the nss code that does these operations does so on actual
symetric keys (which are then used to do additional
encryption/decryption/macing).
On 11/12/2008 05:21 PM, Ian G:
No it's not. You just need the person, not their identity.
LOL, you are funny...and how exactly do you get the person if you don't
know who it is that you need? This is what the (verified real) identity
details in certificates are here for...
If you need
Robert Relyea wrote:
NZzi wrote:
hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
Are you encrypting data or a symmetric Key?
Most of the nss code that does these operations does so on actual
symetric keys (which are then used to do additional
On Thu, Nov 13, 2008 at 7:41 PM, NZzi [EMAIL PROTECTED] wrote:
now the test code failed in PK11_Sign() with 8192 error,
and as i have said error code description about this errno is
senseless.
The -8192 error (SEC_ERROR_IO) is the default error code
that NSS currently uses for many crypto
NZzi wrote:
Robert Relyea wrote:
NZzi wrote:
hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
Are you encrypting data or a symmetric Key?
Most of the nss code that does these operations does so on actual
symetric keys (which are then used to do
NZzi wrote:
NZzi wrote:
Robert Relyea wrote:
NZzi wrote:
hi all:
I want to use private key to encrypt a message,
and decrypt with public key.
Are you encrypting data or a symmetric Key?
Most of the nss code that does these operations does so on actual
symetric keys (which are then used to
9 matches
Mail list logo