Lines Matching refs:mem

2030 	BIO *mem = NULL;
2058 mem = BIO_new(BIO_s_mem());
2059 if (mem == NULL) {
2067 (void) X509_NAME_print_ex(mem, X509_get_issuer_name(xcert), 0,
2069 len = BIO_gets(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2073 (void) X509_NAME_print_ex(mem, X509_get_subject_name(xcert), 0,
2075 len = BIO_gets(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2086 if (i2a_ASN1_INTEGER(mem, X509_get_serialNumber(xcert)) > 0) {
2088 len = BIO_gets(mem, &resultStr[2],
2094 (void) ASN1_TIME_print(mem, X509_get_notBefore(xcert));
2095 len = BIO_gets(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2099 (void) ASN1_TIME_print(mem, X509_get_notAfter(xcert));
2100 len = BIO_gets(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2113 (void) BIO_printf(mem,
2116 (void) RSA_print(mem, pkey->pkey.rsa, 0);
2118 (void) BIO_printf(mem,
2120 (void) DSA_print(mem, pkey->pkey.dsa, 0);
2122 (void) BIO_printf(mem,
2125 (void) BIO_printf(mem, "\n");
2128 len = BIO_read(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2133 len = i2a_ASN1_OBJECT(mem,
2136 len = i2a_ASN1_OBJECT(mem,
2141 len = BIO_read(mem, resultStr,
2150 (void) BIO_printf(mem, "%s\n", sk_value(emlst, j));
2153 (void) BIO_printf(mem, "%s\n",
2157 len = BIO_gets(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2191 (void) i2a_ASN1_OBJECT(mem, X509_EXTENSION_get_object(ex));
2193 if (BIO_printf(mem, ": %s\n",
2199 if (!X509V3_EXT_print(mem, ex, X509V3_EXT_DUMP_UNKNOWN, 4)) {
2200 (void) BIO_printf(mem, "%*s", 4, "");
2201 (void) M_ASN1_OCTET_STRING_print(mem, ex->value);
2203 if (BIO_write(mem, "\n", 1) <= 0) {
2208 len = BIO_read(mem, resultStr, KMF_CERT_PRINTABLE_LEN);
2224 if (mem != NULL) {
2225 (void) BIO_free(mem);
5167 BIO *mem = NULL;
5228 mem = BIO_new(BIO_s_mem());
5229 if (mem == NULL) {
5235 (void) X509_CRL_print(mem, x);
5236 len = BIO_get_mem_data(mem, &memptr);
5263 if (mem != NULL)
5264 (void) BIO_free(mem);