Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/openssl
File: cms.h
/*
[0] Fix | Delete
* Copyright 2008-2019 The OpenSSL Project Authors. All Rights Reserved.
[1] Fix | Delete
*
[2] Fix | Delete
* Licensed under the OpenSSL license (the "License"). You may not use
[3] Fix | Delete
* this file except in compliance with the License. You can obtain a copy
[4] Fix | Delete
* in the file LICENSE in the source distribution or at
[5] Fix | Delete
* https://www.openssl.org/source/license.html
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#ifndef HEADER_CMS_H
[9] Fix | Delete
# define HEADER_CMS_H
[10] Fix | Delete
[11] Fix | Delete
# include <openssl/opensslconf.h>
[12] Fix | Delete
[13] Fix | Delete
# ifndef OPENSSL_NO_CMS
[14] Fix | Delete
# include <openssl/x509.h>
[15] Fix | Delete
# include <openssl/x509v3.h>
[16] Fix | Delete
# include <openssl/cmserr.h>
[17] Fix | Delete
# ifdef __cplusplus
[18] Fix | Delete
extern "C" {
[19] Fix | Delete
# endif
[20] Fix | Delete
[21] Fix | Delete
typedef struct CMS_ContentInfo_st CMS_ContentInfo;
[22] Fix | Delete
typedef struct CMS_SignerInfo_st CMS_SignerInfo;
[23] Fix | Delete
typedef struct CMS_CertificateChoices CMS_CertificateChoices;
[24] Fix | Delete
typedef struct CMS_RevocationInfoChoice_st CMS_RevocationInfoChoice;
[25] Fix | Delete
typedef struct CMS_RecipientInfo_st CMS_RecipientInfo;
[26] Fix | Delete
typedef struct CMS_ReceiptRequest_st CMS_ReceiptRequest;
[27] Fix | Delete
typedef struct CMS_Receipt_st CMS_Receipt;
[28] Fix | Delete
typedef struct CMS_RecipientEncryptedKey_st CMS_RecipientEncryptedKey;
[29] Fix | Delete
typedef struct CMS_OtherKeyAttribute_st CMS_OtherKeyAttribute;
[30] Fix | Delete
[31] Fix | Delete
DEFINE_STACK_OF(CMS_SignerInfo)
[32] Fix | Delete
DEFINE_STACK_OF(CMS_RecipientEncryptedKey)
[33] Fix | Delete
DEFINE_STACK_OF(CMS_RecipientInfo)
[34] Fix | Delete
DEFINE_STACK_OF(CMS_RevocationInfoChoice)
[35] Fix | Delete
DECLARE_ASN1_FUNCTIONS(CMS_ContentInfo)
[36] Fix | Delete
DECLARE_ASN1_FUNCTIONS(CMS_ReceiptRequest)
[37] Fix | Delete
DECLARE_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
[38] Fix | Delete
[39] Fix | Delete
# define CMS_SIGNERINFO_ISSUER_SERIAL 0
[40] Fix | Delete
# define CMS_SIGNERINFO_KEYIDENTIFIER 1
[41] Fix | Delete
[42] Fix | Delete
# define CMS_RECIPINFO_NONE -1
[43] Fix | Delete
# define CMS_RECIPINFO_TRANS 0
[44] Fix | Delete
# define CMS_RECIPINFO_AGREE 1
[45] Fix | Delete
# define CMS_RECIPINFO_KEK 2
[46] Fix | Delete
# define CMS_RECIPINFO_PASS 3
[47] Fix | Delete
# define CMS_RECIPINFO_OTHER 4
[48] Fix | Delete
[49] Fix | Delete
/* S/MIME related flags */
[50] Fix | Delete
[51] Fix | Delete
# define CMS_TEXT 0x1
[52] Fix | Delete
# define CMS_NOCERTS 0x2
[53] Fix | Delete
# define CMS_NO_CONTENT_VERIFY 0x4
[54] Fix | Delete
# define CMS_NO_ATTR_VERIFY 0x8
[55] Fix | Delete
# define CMS_NOSIGS \
[56] Fix | Delete
(CMS_NO_CONTENT_VERIFY|CMS_NO_ATTR_VERIFY)
[57] Fix | Delete
# define CMS_NOINTERN 0x10
[58] Fix | Delete
# define CMS_NO_SIGNER_CERT_VERIFY 0x20
[59] Fix | Delete
# define CMS_NOVERIFY 0x20
[60] Fix | Delete
# define CMS_DETACHED 0x40
[61] Fix | Delete
# define CMS_BINARY 0x80
[62] Fix | Delete
# define CMS_NOATTR 0x100
[63] Fix | Delete
# define CMS_NOSMIMECAP 0x200
[64] Fix | Delete
# define CMS_NOOLDMIMETYPE 0x400
[65] Fix | Delete
# define CMS_CRLFEOL 0x800
[66] Fix | Delete
# define CMS_STREAM 0x1000
[67] Fix | Delete
# define CMS_NOCRL 0x2000
[68] Fix | Delete
# define CMS_PARTIAL 0x4000
[69] Fix | Delete
# define CMS_REUSE_DIGEST 0x8000
[70] Fix | Delete
# define CMS_USE_KEYID 0x10000
[71] Fix | Delete
# define CMS_DEBUG_DECRYPT 0x20000
[72] Fix | Delete
# define CMS_KEY_PARAM 0x40000
[73] Fix | Delete
# define CMS_ASCIICRLF 0x80000
[74] Fix | Delete
[75] Fix | Delete
const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);
[76] Fix | Delete
[77] Fix | Delete
BIO *CMS_dataInit(CMS_ContentInfo *cms, BIO *icont);
[78] Fix | Delete
int CMS_dataFinal(CMS_ContentInfo *cms, BIO *bio);
[79] Fix | Delete
[80] Fix | Delete
ASN1_OCTET_STRING **CMS_get0_content(CMS_ContentInfo *cms);
[81] Fix | Delete
int CMS_is_detached(CMS_ContentInfo *cms);
[82] Fix | Delete
int CMS_set_detached(CMS_ContentInfo *cms, int detached);
[83] Fix | Delete
[84] Fix | Delete
# ifdef HEADER_PEM_H
[85] Fix | Delete
DECLARE_PEM_rw_const(CMS, CMS_ContentInfo)
[86] Fix | Delete
# endif
[87] Fix | Delete
int CMS_stream(unsigned char ***boundary, CMS_ContentInfo *cms);
[88] Fix | Delete
CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms);
[89] Fix | Delete
int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms);
[90] Fix | Delete
[91] Fix | Delete
BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms);
[92] Fix | Delete
int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags);
[93] Fix | Delete
int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in,
[94] Fix | Delete
int flags);
[95] Fix | Delete
CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont);
[96] Fix | Delete
int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags);
[97] Fix | Delete
[98] Fix | Delete
int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont,
[99] Fix | Delete
unsigned int flags);
[100] Fix | Delete
[101] Fix | Delete
CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey,
[102] Fix | Delete
STACK_OF(X509) *certs, BIO *data,
[103] Fix | Delete
unsigned int flags);
[104] Fix | Delete
[105] Fix | Delete
CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si,
[106] Fix | Delete
X509 *signcert, EVP_PKEY *pkey,
[107] Fix | Delete
STACK_OF(X509) *certs, unsigned int flags);
[108] Fix | Delete
[109] Fix | Delete
int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags);
[110] Fix | Delete
CMS_ContentInfo *CMS_data_create(BIO *in, unsigned int flags);
[111] Fix | Delete
[112] Fix | Delete
int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
[113] Fix | Delete
unsigned int flags);
[114] Fix | Delete
CMS_ContentInfo *CMS_digest_create(BIO *in, const EVP_MD *md,
[115] Fix | Delete
unsigned int flags);
[116] Fix | Delete
[117] Fix | Delete
int CMS_EncryptedData_decrypt(CMS_ContentInfo *cms,
[118] Fix | Delete
const unsigned char *key, size_t keylen,
[119] Fix | Delete
BIO *dcont, BIO *out, unsigned int flags);
[120] Fix | Delete
[121] Fix | Delete
CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher,
[122] Fix | Delete
const unsigned char *key,
[123] Fix | Delete
size_t keylen, unsigned int flags);
[124] Fix | Delete
[125] Fix | Delete
int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,
[126] Fix | Delete
const unsigned char *key, size_t keylen);
[127] Fix | Delete
[128] Fix | Delete
int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
[129] Fix | Delete
X509_STORE *store, BIO *dcont, BIO *out, unsigned int flags);
[130] Fix | Delete
[131] Fix | Delete
int CMS_verify_receipt(CMS_ContentInfo *rcms, CMS_ContentInfo *ocms,
[132] Fix | Delete
STACK_OF(X509) *certs,
[133] Fix | Delete
X509_STORE *store, unsigned int flags);
[134] Fix | Delete
[135] Fix | Delete
STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
[136] Fix | Delete
[137] Fix | Delete
CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
[138] Fix | Delete
const EVP_CIPHER *cipher, unsigned int flags);
[139] Fix | Delete
[140] Fix | Delete
int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert,
[141] Fix | Delete
BIO *dcont, BIO *out, unsigned int flags);
[142] Fix | Delete
[143] Fix | Delete
int CMS_decrypt_set1_pkey(CMS_ContentInfo *cms, EVP_PKEY *pk, X509 *cert);
[144] Fix | Delete
int CMS_decrypt_set1_key(CMS_ContentInfo *cms,
[145] Fix | Delete
unsigned char *key, size_t keylen,
[146] Fix | Delete
const unsigned char *id, size_t idlen);
[147] Fix | Delete
int CMS_decrypt_set1_password(CMS_ContentInfo *cms,
[148] Fix | Delete
unsigned char *pass, ossl_ssize_t passlen);
[149] Fix | Delete
[150] Fix | Delete
STACK_OF(CMS_RecipientInfo) *CMS_get0_RecipientInfos(CMS_ContentInfo *cms);
[151] Fix | Delete
int CMS_RecipientInfo_type(CMS_RecipientInfo *ri);
[152] Fix | Delete
EVP_PKEY_CTX *CMS_RecipientInfo_get0_pkey_ctx(CMS_RecipientInfo *ri);
[153] Fix | Delete
CMS_ContentInfo *CMS_EnvelopedData_create(const EVP_CIPHER *cipher);
[154] Fix | Delete
CMS_RecipientInfo *CMS_add1_recipient_cert(CMS_ContentInfo *cms,
[155] Fix | Delete
X509 *recip, unsigned int flags);
[156] Fix | Delete
int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
[157] Fix | Delete
int CMS_RecipientInfo_ktri_cert_cmp(CMS_RecipientInfo *ri, X509 *cert);
[158] Fix | Delete
int CMS_RecipientInfo_ktri_get0_algs(CMS_RecipientInfo *ri,
[159] Fix | Delete
EVP_PKEY **pk, X509 **recip,
[160] Fix | Delete
X509_ALGOR **palg);
[161] Fix | Delete
int CMS_RecipientInfo_ktri_get0_signer_id(CMS_RecipientInfo *ri,
[162] Fix | Delete
ASN1_OCTET_STRING **keyid,
[163] Fix | Delete
X509_NAME **issuer,
[164] Fix | Delete
ASN1_INTEGER **sno);
[165] Fix | Delete
[166] Fix | Delete
CMS_RecipientInfo *CMS_add0_recipient_key(CMS_ContentInfo *cms, int nid,
[167] Fix | Delete
unsigned char *key, size_t keylen,
[168] Fix | Delete
unsigned char *id, size_t idlen,
[169] Fix | Delete
ASN1_GENERALIZEDTIME *date,
[170] Fix | Delete
ASN1_OBJECT *otherTypeId,
[171] Fix | Delete
ASN1_TYPE *otherType);
[172] Fix | Delete
[173] Fix | Delete
int CMS_RecipientInfo_kekri_get0_id(CMS_RecipientInfo *ri,
[174] Fix | Delete
X509_ALGOR **palg,
[175] Fix | Delete
ASN1_OCTET_STRING **pid,
[176] Fix | Delete
ASN1_GENERALIZEDTIME **pdate,
[177] Fix | Delete
ASN1_OBJECT **potherid,
[178] Fix | Delete
ASN1_TYPE **pothertype);
[179] Fix | Delete
[180] Fix | Delete
int CMS_RecipientInfo_set0_key(CMS_RecipientInfo *ri,
[181] Fix | Delete
unsigned char *key, size_t keylen);
[182] Fix | Delete
[183] Fix | Delete
int CMS_RecipientInfo_kekri_id_cmp(CMS_RecipientInfo *ri,
[184] Fix | Delete
const unsigned char *id, size_t idlen);
[185] Fix | Delete
[186] Fix | Delete
int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri,
[187] Fix | Delete
unsigned char *pass,
[188] Fix | Delete
ossl_ssize_t passlen);
[189] Fix | Delete
[190] Fix | Delete
CMS_RecipientInfo *CMS_add0_recipient_password(CMS_ContentInfo *cms,
[191] Fix | Delete
int iter, int wrap_nid,
[192] Fix | Delete
int pbe_nid,
[193] Fix | Delete
unsigned char *pass,
[194] Fix | Delete
ossl_ssize_t passlen,
[195] Fix | Delete
const EVP_CIPHER *kekciph);
[196] Fix | Delete
[197] Fix | Delete
int CMS_RecipientInfo_decrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
[198] Fix | Delete
int CMS_RecipientInfo_encrypt(CMS_ContentInfo *cms, CMS_RecipientInfo *ri);
[199] Fix | Delete
[200] Fix | Delete
int CMS_uncompress(CMS_ContentInfo *cms, BIO *dcont, BIO *out,
[201] Fix | Delete
unsigned int flags);
[202] Fix | Delete
CMS_ContentInfo *CMS_compress(BIO *in, int comp_nid, unsigned int flags);
[203] Fix | Delete
[204] Fix | Delete
int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid);
[205] Fix | Delete
const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms);
[206] Fix | Delete
[207] Fix | Delete
CMS_CertificateChoices *CMS_add0_CertificateChoices(CMS_ContentInfo *cms);
[208] Fix | Delete
int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert);
[209] Fix | Delete
int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert);
[210] Fix | Delete
STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms);
[211] Fix | Delete
[212] Fix | Delete
CMS_RevocationInfoChoice *CMS_add0_RevocationInfoChoice(CMS_ContentInfo *cms);
[213] Fix | Delete
int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl);
[214] Fix | Delete
int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl);
[215] Fix | Delete
STACK_OF(X509_CRL) *CMS_get1_crls(CMS_ContentInfo *cms);
[216] Fix | Delete
[217] Fix | Delete
int CMS_SignedData_init(CMS_ContentInfo *cms);
[218] Fix | Delete
CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,
[219] Fix | Delete
X509 *signer, EVP_PKEY *pk, const EVP_MD *md,
[220] Fix | Delete
unsigned int flags);
[221] Fix | Delete
EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si);
[222] Fix | Delete
EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si);
[223] Fix | Delete
STACK_OF(CMS_SignerInfo) *CMS_get0_SignerInfos(CMS_ContentInfo *cms);
[224] Fix | Delete
[225] Fix | Delete
void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);
[226] Fix | Delete
int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si,
[227] Fix | Delete
ASN1_OCTET_STRING **keyid,
[228] Fix | Delete
X509_NAME **issuer, ASN1_INTEGER **sno);
[229] Fix | Delete
int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
[230] Fix | Delete
int CMS_set1_signers_certs(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
[231] Fix | Delete
unsigned int flags);
[232] Fix | Delete
void CMS_SignerInfo_get0_algs(CMS_SignerInfo *si, EVP_PKEY **pk,
[233] Fix | Delete
X509 **signer, X509_ALGOR **pdig,
[234] Fix | Delete
X509_ALGOR **psig);
[235] Fix | Delete
ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si);
[236] Fix | Delete
int CMS_SignerInfo_sign(CMS_SignerInfo *si);
[237] Fix | Delete
int CMS_SignerInfo_verify(CMS_SignerInfo *si);
[238] Fix | Delete
int CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain);
[239] Fix | Delete
[240] Fix | Delete
int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs);
[241] Fix | Delete
int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs,
[242] Fix | Delete
int algnid, int keysize);
[243] Fix | Delete
int CMS_add_standard_smimecap(STACK_OF(X509_ALGOR) **smcap);
[244] Fix | Delete
[245] Fix | Delete
int CMS_signed_get_attr_count(const CMS_SignerInfo *si);
[246] Fix | Delete
int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid,
[247] Fix | Delete
int lastpos);
[248] Fix | Delete
int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj,
[249] Fix | Delete
int lastpos);
[250] Fix | Delete
X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc);
[251] Fix | Delete
X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc);
[252] Fix | Delete
int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
[253] Fix | Delete
int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si,
[254] Fix | Delete
const ASN1_OBJECT *obj, int type,
[255] Fix | Delete
const void *bytes, int len);
[256] Fix | Delete
int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si,
[257] Fix | Delete
int nid, int type,
[258] Fix | Delete
const void *bytes, int len);
[259] Fix | Delete
int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si,
[260] Fix | Delete
const char *attrname, int type,
[261] Fix | Delete
const void *bytes, int len);
[262] Fix | Delete
void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid,
[263] Fix | Delete
int lastpos, int type);
[264] Fix | Delete
[265] Fix | Delete
int CMS_unsigned_get_attr_count(const CMS_SignerInfo *si);
[266] Fix | Delete
int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid,
[267] Fix | Delete
int lastpos);
[268] Fix | Delete
int CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si,
[269] Fix | Delete
const ASN1_OBJECT *obj, int lastpos);
[270] Fix | Delete
X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc);
[271] Fix | Delete
X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc);
[272] Fix | Delete
int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
[273] Fix | Delete
int CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si,
[274] Fix | Delete
const ASN1_OBJECT *obj, int type,
[275] Fix | Delete
const void *bytes, int len);
[276] Fix | Delete
int CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si,
[277] Fix | Delete
int nid, int type,
[278] Fix | Delete
const void *bytes, int len);
[279] Fix | Delete
int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si,
[280] Fix | Delete
const char *attrname, int type,
[281] Fix | Delete
const void *bytes, int len);
[282] Fix | Delete
void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid,
[283] Fix | Delete
int lastpos, int type);
[284] Fix | Delete
[285] Fix | Delete
int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr);
[286] Fix | Delete
CMS_ReceiptRequest *CMS_ReceiptRequest_create0(unsigned char *id, int idlen,
[287] Fix | Delete
int allorfirst,
[288] Fix | Delete
STACK_OF(GENERAL_NAMES)
[289] Fix | Delete
*receiptList, STACK_OF(GENERAL_NAMES)
[290] Fix | Delete
*receiptsTo);
[291] Fix | Delete
int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);
[292] Fix | Delete
void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr,
[293] Fix | Delete
ASN1_STRING **pcid,
[294] Fix | Delete
int *pallorfirst,
[295] Fix | Delete
STACK_OF(GENERAL_NAMES) **plist,
[296] Fix | Delete
STACK_OF(GENERAL_NAMES) **prto);
[297] Fix | Delete
int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri,
[298] Fix | Delete
X509_ALGOR **palg,
[299] Fix | Delete
ASN1_OCTET_STRING **pukm);
[300] Fix | Delete
STACK_OF(CMS_RecipientEncryptedKey)
[301] Fix | Delete
*CMS_RecipientInfo_kari_get0_reks(CMS_RecipientInfo *ri);
[302] Fix | Delete
[303] Fix | Delete
int CMS_RecipientInfo_kari_get0_orig_id(CMS_RecipientInfo *ri,
[304] Fix | Delete
X509_ALGOR **pubalg,
[305] Fix | Delete
ASN1_BIT_STRING **pubkey,
[306] Fix | Delete
ASN1_OCTET_STRING **keyid,
[307] Fix | Delete
X509_NAME **issuer,
[308] Fix | Delete
ASN1_INTEGER **sno);
[309] Fix | Delete
[310] Fix | Delete
int CMS_RecipientInfo_kari_orig_id_cmp(CMS_RecipientInfo *ri, X509 *cert);
[311] Fix | Delete
[312] Fix | Delete
int CMS_RecipientEncryptedKey_get0_id(CMS_RecipientEncryptedKey *rek,
[313] Fix | Delete
ASN1_OCTET_STRING **keyid,
[314] Fix | Delete
ASN1_GENERALIZEDTIME **tm,
[315] Fix | Delete
CMS_OtherKeyAttribute **other,
[316] Fix | Delete
X509_NAME **issuer, ASN1_INTEGER **sno);
[317] Fix | Delete
int CMS_RecipientEncryptedKey_cert_cmp(CMS_RecipientEncryptedKey *rek,
[318] Fix | Delete
X509 *cert);
[319] Fix | Delete
int CMS_RecipientInfo_kari_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pk);
[320] Fix | Delete
EVP_CIPHER_CTX *CMS_RecipientInfo_kari_get0_ctx(CMS_RecipientInfo *ri);
[321] Fix | Delete
int CMS_RecipientInfo_kari_decrypt(CMS_ContentInfo *cms,
[322] Fix | Delete
CMS_RecipientInfo *ri,
[323] Fix | Delete
CMS_RecipientEncryptedKey *rek);
[324] Fix | Delete
[325] Fix | Delete
int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
[326] Fix | Delete
ASN1_OCTET_STRING *ukm, int keylen);
[327] Fix | Delete
[328] Fix | Delete
/* Backward compatibility for spelling errors. */
[329] Fix | Delete
# define CMS_R_UNKNOWN_DIGEST_ALGORITM CMS_R_UNKNOWN_DIGEST_ALGORITHM
[330] Fix | Delete
# define CMS_R_UNSUPPORTED_RECPIENTINFO_TYPE \
[331] Fix | Delete
CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE
[332] Fix | Delete
[333] Fix | Delete
# ifdef __cplusplus
[334] Fix | Delete
}
[335] Fix | Delete
# endif
[336] Fix | Delete
# endif
[337] Fix | Delete
#endif
[338] Fix | Delete
[339] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function