I understand that. But the situation in hand is that I need to encrypt with
no-padding and
JAVA needs to decrypt this message. We are getting No-Padding exception
when we
use the provider. Any idea to tackle to this situation?

- Vignesh


                                                                                       
                                   
                    Eric Rescorla                                                      
                                   
                    <[EMAIL PROTECTED]>              To:     [EMAIL PROTECTED]      
                                   
                    Sent by:                    cc:                                    
                                   
                    owner-openssl-users@o       Subject:     Re: AW: Java 
Implementation of OPENSSL                       
                    penssl.org                                                         
                                   
                                                                                       
                                   
                                                                                       
                                   
                    05/28/02 07:58 PM                                                  
                                   
                    Please respond to                                                  
                                   
                    openssl-users                                                      
                                   
                                                                                       
                                   
                                                                                       
                                   




[EMAIL PROTECTED] writes:
> Let me explain. When we use the RSA encryption functions provided by the
> openSSL for C/C++,
> we have a third parameter, which is the padding used while encryption.
> There we had specified
> no-padding option, which would not pad the encrypted string.
>
> When we use the provider ( for JAVA), we find that by default, PKCS1
> padding is being used. Is there
> any implementation in the provider, which has this property of specifying
> the padding option?
What exactly are you trying to achieve?

The kind of padding to use is specified in the TLS and SSL specifications.
PureTLS and JSSE are both complete implementations and so they take care
of the padding internally. You should not need to do anything along these
lines.

-Ekr


--
[Eric Rescorla                                   [EMAIL PROTECTED]]
                http://www.rtfm.com/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to