tbsc              867 source4/heimdal/lib/hx509/ca.c 	      TBSCertificate *tbsc,
tbsc              897 source4/heimdal/lib/hx509/ca.c     ret = add_Extensions(tbsc->extensions, &ext);
tbsc              946 source4/heimdal/lib/hx509/ca.c     TBSCertificate *tbsc;
tbsc              991 source4/heimdal/lib/hx509/ca.c     tbsc = &c.tbsCertificate;
tbsc             1028 source4/heimdal/lib/hx509/ca.c     tbsc->version = calloc(1, sizeof(*tbsc->version));
tbsc             1029 source4/heimdal/lib/hx509/ca.c     if (tbsc->version == NULL) {
tbsc             1034 source4/heimdal/lib/hx509/ca.c     *tbsc->version = rfc3280_version_3;
tbsc             1037 source4/heimdal/lib/hx509/ca.c 	ret = der_copy_heim_integer(&tbs->serial, &tbsc->serialNumber);
tbsc             1043 source4/heimdal/lib/hx509/ca.c 	tbsc->serialNumber.length = 20;
tbsc             1044 source4/heimdal/lib/hx509/ca.c 	tbsc->serialNumber.data = malloc(tbsc->serialNumber.length);
tbsc             1045 source4/heimdal/lib/hx509/ca.c 	if (tbsc->serialNumber.data == NULL){
tbsc             1051 source4/heimdal/lib/hx509/ca.c 	RAND_bytes(tbsc->serialNumber.data, tbsc->serialNumber.length);
tbsc             1052 source4/heimdal/lib/hx509/ca.c 	((unsigned char *)tbsc->serialNumber.data)[0] &= 0x7f;
tbsc             1055 source4/heimdal/lib/hx509/ca.c     ret = copy_AlgorithmIdentifier(sigalg, &tbsc->signature);
tbsc             1062 source4/heimdal/lib/hx509/ca.c 	ret = copy_Name(issuername, &tbsc->issuer);
tbsc             1064 source4/heimdal/lib/hx509/ca.c 	ret = hx509_name_to_Name(tbs->subject, &tbsc->issuer);
tbsc             1070 source4/heimdal/lib/hx509/ca.c     tbsc->validity.notBefore.element = choice_Time_generalTime;
tbsc             1071 source4/heimdal/lib/hx509/ca.c     tbsc->validity.notBefore.u.generalTime = notBefore;
tbsc             1072 source4/heimdal/lib/hx509/ca.c     tbsc->validity.notAfter.element = choice_Time_generalTime;
tbsc             1073 source4/heimdal/lib/hx509/ca.c     tbsc->validity.notAfter.u.generalTime = notAfter;
tbsc             1076 source4/heimdal/lib/hx509/ca.c 	ret = build_proxy_prefix(context, &tbsc->issuer, &tbsc->subject);
tbsc             1080 source4/heimdal/lib/hx509/ca.c 	ret = hx509_name_to_Name(tbs->subject, &tbsc->subject);
tbsc             1088 source4/heimdal/lib/hx509/ca.c     ret = copy_SubjectPublicKeyInfo(&tbs->spki, &tbsc->subjectPublicKeyInfo);
tbsc             1096 source4/heimdal/lib/hx509/ca.c     tbsc->extensions = calloc(1, sizeof(*tbsc->extensions));
tbsc             1097 source4/heimdal/lib/hx509/ca.c     if (tbsc->extensions == NULL) {
tbsc             1112 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 0,
tbsc             1131 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 1,
tbsc             1148 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 0,
tbsc             1165 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 0,
tbsc             1183 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 0,
tbsc             1216 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 0,
tbsc             1249 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, tbs->flags.ca,
tbsc             1291 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, 0,
tbsc             1309 source4/heimdal/lib/hx509/ca.c 	ret = add_extension(context, tbsc, FALSE,
tbsc             1317 source4/heimdal/lib/hx509/ca.c     ASN1_MALLOC_ENCODE(TBSCertificate, data.data, data.length,tbsc, &size, ret);