Lines Matching defs:type

85 #define CMS_get0_type(_p7) ((_p7)->type)
92 #define CMS_get0_eContentType(_p7) (_p7->d.sign->contents->type)
136 return (gettext("attribute type invalid"));
164 return (gettext("key type inconsistent"));
234 return (gettext("unwrapping key type inconsistent"));
242 return (gettext("user type invalid"));
256 return (gettext("wrapping key type inconsistent"));
891 pkinit_data->type = V_ASN1_OCTET_STRING;
1018 p7->type = OBJ_nid2obj(NID_pkcs7_signed);
1096 p7si->digest_alg->parameter->type = V_ASN1_NULL;
1104 p7si->digest_enc_alg->parameter->type = V_ASN1_NULL;
1112 /* don't include signed attributes for pa-type 15 request */
1130 /* create a content-type attr */
1146 * function and the hash value into an ASN.1 value of type DigestInfo
1233 pkinit_data->type = V_ASN1_OCTET_STRING;
1356 const ASN1_OBJECT *type = NULL, *etype = NULL;
1384 type = CMS_get0_type(cms);
1385 if (is_signed && !OBJ_cmp(type, oid)) {
1389 if (!octets || ((*octets)->type != V_ASN1_OCTET_STRING)) {
1408 if (OBJ_obj2nid(type) != NID_pkcs7_signed) {
1409 pkiDebug("Expected id-signedData CMS msg (received type = %d)\n",
1410 OBJ_obj2nid(type));
1578 * Various implementations of the pa-type 15 request use
1861 if (OBJ_obj2nid(p7->type) != NID_pkcs7_enveloped) {
1862 pkiDebug("Expected id-enveloped PKCS7 msg (received type = %d)\n",
1863 OBJ_obj2nid(p7->type));
2064 switch (gen->type) {
2117 pkiDebug("%s: SAN type = %d expecting %d\n",
2118 __FUNCTION__, gen->type, GEN_OTHERNAME);
2807 int type,
2815 switch(type) {
2857 typed_data[0]->type = type;
3066 typed_data[0]->type = TD_DH_PARAMETERS;
3324 * depends on the "other" type to be unknown to the
3610 * Note, assuming this type for now, may need to be passed in in the future.
3933 attrs[0].type = CKA_CLASS;
3938 attrs[1].type = CKA_CERTIFICATE_TYPE;
3946 attrs[nattrs].type = CKA_ID;
3952 attrs[nattrs].type = CKA_LABEL;
3983 attrs[0].type = CKA_VALUE;
3987 attrs[1].type = CKA_ID;
4016 attrs[0].type = CKA_VALUE;
4019 attrs[1].type = CKA_ID;
4560 attrs[nattrs].type = CKA_CLASS;
4573 attrs[nattrs].type = usage;
4580 attrs[nattrs].type = CKA_KEY_TYPE;
4585 attrs[nattrs].type = CKA_ID;
4625 attrs[nattrs].type = CKA_CLASS;
4632 attrs[nattrs].type = usage;
4639 attrs[nattrs].type = CKA_KEY_TYPE;
4656 attrs[nattrs].type = CKA_MODULUS;
6569 pkiDebug("wrong pkcs7 content type\n");