Searched refs:temp_memory_bio (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/rtc_base/ |
D | openssl_identity.cc | 142 BIO* temp_memory_bio = BIO_new(BIO_s_mem()); in PrivateKeyToPEMString() local 143 if (!temp_memory_bio) { in PrivateKeyToPEMString() 148 if (!PEM_write_bio_PrivateKey(temp_memory_bio, pkey_, nullptr, nullptr, 0, in PrivateKeyToPEMString() 151 BIO_free(temp_memory_bio); in PrivateKeyToPEMString() 155 BIO_write(temp_memory_bio, "\0", 1); in PrivateKeyToPEMString() 157 BIO_get_mem_data(temp_memory_bio, &buffer); in PrivateKeyToPEMString() 159 BIO_free(temp_memory_bio); in PrivateKeyToPEMString() 164 BIO* temp_memory_bio = BIO_new(BIO_s_mem()); in PublicKeyToPEMString() local 165 if (!temp_memory_bio) { in PublicKeyToPEMString() 170 if (!PEM_write_bio_PUBKEY(temp_memory_bio, pkey_)) { in PublicKeyToPEMString() [all …]
|
D | openssl_certificate.cc | 42 BIO* temp_memory_bio = BIO_new(BIO_s_mem()); in PrintCert() local 43 if (!temp_memory_bio) { in PrintCert() 47 X509_print_ex(temp_memory_bio, x509, XN_FLAG_SEP_CPLUS_SPC, 0); in PrintCert() 48 BIO_write(temp_memory_bio, "\0", 1); in PrintCert() 50 BIO_get_mem_data(temp_memory_bio, &buffer); in PrintCert() 52 BIO_free(temp_memory_bio); in PrintCert()
|