diff options
author | steve <steve> | 2008-03-17 13:38:51 +0000 |
---|---|---|
committer | steve <steve> | 2008-03-17 13:38:51 +0000 |
commit | 9e15faae22aa0dab5112f7d36cf1e661636cd661 (patch) | |
tree | 87d4dc592f3e5e0b0a56cae84e8bd9357cbb8a1f /crypto/cms/cms_lcl.h | |
parent | bf7465aa05568a9afb55c05fe2e031340ec4170b (diff) | |
download | openssl-9e15faae22aa0dab5112f7d36cf1e661636cd661.tar.gz |
Preliminary support for enveloped data content type creation.
Fix signed data creation so versions are only corrected if structure is
being created.
Diffstat (limited to 'crypto/cms/cms_lcl.h')
-rw-r--r-- | crypto/cms/cms_lcl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/cms/cms_lcl.h b/crypto/cms/cms_lcl.h index 774ec103f..f23d09660 100644 --- a/crypto/cms/cms_lcl.h +++ b/crypto/cms/cms_lcl.h @@ -123,6 +123,8 @@ struct CMS_EncapsulatedContentInfo_st { ASN1_OBJECT *eContentType; ASN1_OCTET_STRING *eContent; + /* Set to 1 if incomplete structure only part set up */ + int partial; }; struct CMS_SignerInfo_st @@ -411,6 +413,9 @@ int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain, BIO *cms_EncryptedContent_init_bio(CMS_EncryptedContentInfo *ec); BIO *cms_EncryptedData_init_bio(CMS_ContentInfo *cms); +int cms_EncryptedContent_init(CMS_EncryptedContentInfo *ec, + const EVP_CIPHER *cipher, + const unsigned char *key, size_t keylen); BIO *cms_EnvelopedData_init_bio(CMS_ContentInfo *cms); |