In http://msdn.microsoft.com/en-us/library/system.security.cryptography.pkcs(VS.85).aspx we can see that the following digital signature attributes are defined:
- Pkcs9ContentType
- Pkcs9DocumentDescription
- Pkcs9DocumentName
- Pkcs9MessageDigest
- Pkcs9SigningTime
Of those, Pkcs9DocumentDescription and Pkcs9DocumentName are not present in the PKCS#9 specification. I have a Java application that uses Bouncy Castle and I want my app to be able to create digital signatures that have these two attributes.
So, I have two questions: how to do so? Should I do that?