PKCS7 support in JDK

Sangeeta Varma (Sangeeta.Varma@Eng)
Mon, 21 Sep 1998 14:12:16 -0700 (PDT)

Hi,

The sun.security pacakge in the JDK contains an implementation of the PKCS7, but
supports only SignedData type. Is there any plan to add EnvelopedData and
EncryptedData types support ?

I would like to extend the PKCS7 class to add this functionality myself. But it is not
straight-forward to extend this class. All the parsing of the signed data is implemented
as private to the class. To be able to provide a new class which can parse signed/
enveloped/encrypted data I will need to duplicate code from the PKCS7 class.

Why was this class designed like this ??

Thanks,
Sangeeta