PKCS#1 has got a block trype to identify what type of operation can be
performed on this padded data.
For instance if you want to wrap a key to send it to another one, you will
use a pKCS1 padding with a block type 2 and encrypt it with the public key
of the destination. A crypto provider should refuse to encrypt something
with a public key if the block is not block 2 padded.
In the opposite if you want to sign a block of data you will padd it with
block type 1 and encrypt it with your private key. It is a part of the PKI
standard.
Hopt it is clear,
Cheers

> -----Original Message-----
> From: duncan [mailto:[EMAIL PROTECTED]]
> Sent: 07 November 2000 05:25
> To: [EMAIL PROTECTED]
> Subject: PKCS1 block type error
> 
> 
> I'm trying to get Courier IMAP's IMAP-over-SSL server running and it's
> giving me this error when someone tries to connect with Netscape
> Messenger:
> 
> Nov  3 22:45:32 gaigax couriertls: starttls: accept: 
> error:0407106B:rsa
> routines:RSA_padding_check_PKCS1_type_2:block type is not 02
> 
> What does this mean?  Any ideas what would cause this?
> I asked on the Courier list and all I could determine is that it is an
> SSL error.  So I thought I'd ask here. I'm running OpenSSL 0.96.
> 
> Any help would be appreciated.
> Duncan
> 
> ______________________________________________________________________
> 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