Lines Matching refs:ist
38 ISSUER_SIGN_TOOL *ist = ISSUER_SIGN_TOOL_new();
41 if (ist == NULL) {
52 ist->signTool = ASN1_UTF8STRING_new();
53 if (ist->signTool == NULL) {
55 ISSUER_SIGN_TOOL_free(ist);
58 ASN1_STRING_set(ist->signTool, cnf->value, strlen(cnf->value));
60 ist->cATool = ASN1_UTF8STRING_new();
61 if (ist->cATool == NULL) {
63 ISSUER_SIGN_TOOL_free(ist);
66 ASN1_STRING_set(ist->cATool, cnf->value, strlen(cnf->value));
68 ist->signToolCert = ASN1_UTF8STRING_new();
69 if (ist->signToolCert == NULL) {
71 ISSUER_SIGN_TOOL_free(ist);
74 ASN1_STRING_set(ist->signToolCert, cnf->value, strlen(cnf->value));
76 ist->cAToolCert = ASN1_UTF8STRING_new();
77 if (ist->cAToolCert == NULL) {
79 ISSUER_SIGN_TOOL_free(ist);
82 ASN1_STRING_set(ist->cAToolCert, cnf->value, strlen(cnf->value));
85 ISSUER_SIGN_TOOL_free(ist);
89 return ist;
93 ISSUER_SIGN_TOOL *ist, BIO *out,
98 if (ist == NULL) {
102 if (ist->signTool != NULL) {
107 BIO_write(out, ist->signTool->data, ist->signTool->length);
110 if (ist->cATool != NULL) {
115 BIO_write(out, ist->cATool->data, ist->cATool->length);
118 if (ist->signToolCert != NULL) {
123 BIO_write(out, ist->signToolCert->data, ist->signToolCert->length);
126 if (ist->cAToolCert != NULL) {
131 BIO_write(out, ist->cAToolCert->data, ist->cAToolCert->length);