Lines Matching refs:value
38 return bag->value.keybag; in PKCS12_SAFEBAG_get0_p8inf()
45 return bag->value.shkeybag; in PKCS12_SAFEBAG_get0_pkcs8()
53 return bag->value.safes; in STACK_OF()
72 return OBJ_obj2nid(bag->value.bag->type); in PKCS12_SAFEBAG_get_bag_nid()
77 return bag->value.bag->type; in PKCS12_SAFEBAG_get0_bag_type()
82 return bag->value.bag->value.other; in PKCS12_SAFEBAG_get0_bag_obj()
89 if (OBJ_obj2nid(bag->value.bag->type) != NID_x509Certificate) in PKCS12_SAFEBAG_get1_cert()
91 return ASN1_item_unpack(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_cert()
99 if (OBJ_obj2nid(bag->value.bag->type) != NID_x509Crl) in PKCS12_SAFEBAG_get1_crl()
101 return ASN1_item_unpack(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_crl()
112 if (OBJ_obj2nid(bag->value.bag->type) != NID_x509Certificate) in PKCS12_SAFEBAG_get1_cert_ex()
114 ret = ASN1_item_unpack_ex(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_cert_ex()
130 if (OBJ_obj2nid(bag->value.bag->type) != NID_x509Crl) in PKCS12_SAFEBAG_get1_crl_ex()
132 ret = ASN1_item_unpack_ex(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_crl_ex()
153 PKCS12_SAFEBAG *PKCS12_SAFEBAG_create_secret(int type, int vtype, const unsigned char *value, int l… in PKCS12_SAFEBAG_create_secret() argument
174 if (!ASN1_OCTET_STRING_set(strtmp, value, len)) { in PKCS12_SAFEBAG_create_secret()
179 bag->value.other = ASN1_TYPE_new(); in PKCS12_SAFEBAG_create_secret()
180 if (bag->value.other == NULL) { in PKCS12_SAFEBAG_create_secret()
185 ASN1_TYPE_set(bag->value.other, vtype, strtmp); in PKCS12_SAFEBAG_create_secret()
198 safebag->value.bag = bag; in PKCS12_SAFEBAG_create_secret()
218 bag->value.keybag = p8; in PKCS12_SAFEBAG_create0_p8inf()
234 bag->value.shkeybag = p8; in PKCS12_SAFEBAG_create0_pkcs8()