I use SMP2.5 with cryptopp5.1 when i want to login pfx file with the
password i got an error BERDecodeError();

void BERDecodeNull(BufferedTransformation &in)
{
        byte b;
        if (!in.Get(b) || b != TAG_NULL)
                BERDecodeError(); <== here i get error!
        unsigned int length;
        if (!BERLengthDecode(in, length) || length != 0)
                BERDecodeError();
}

There are two pkcs#5 private keys and 2 X509 certificates in the pfx
file. Exception occurs when matching privatekeys with certificates.

BufPrivateKey length is 648? Is it can be a valid length?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to