Hello Steve,

 

Once again Thanks for your last solution ( Digest info ).

 

I have small doubt about ...

 

 

what can be the content type (part of Content info ) other than simple data in Signed data.

 

 

Structure description ................

 

 

SignedData ::= SEQUENCE {

  version Version,

 

  digestAlgorithms DigestAlgorithmIdentifiers,

  contentInfo ContentInfo,

  certificates

      [0] IMPLICIT ExtendedCertificatesAndCertificates

       OPTIONAL,

  crls

    [1] IMPLICIT CertificateRevocationLists OPTIONAL,

signerInfos SignerInfos }

 

ContentInfo ::= SEQUENCE {
 
contentType ContentType,
  content
    [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }

->It seems to be content type can only be Simple data ( after looking in to the code )

-> Is it possible to put content type other than simple data like enveloped data when authenticated attributes are present .

-> I also found that it is checking for other type ( always Octet string ) when simple data ( data type ) is not present

   1. can i assume if simple data is not the type of content info it should go into other type ?

   2. if simple data is not the type of content info i need to encode and save the encoded content . is it so ?

 

 

Regards,

konark

 

Reply via email to