Searched refs:asn1_data (Results 1 – 2 of 2) sorted by relevance
339 std::vector<uint8_t> asn1_data(asn1_data_len, 0); in buildAsn1DerEncodedWrappedKeyDescription() local341 if (!asn1_data.data()) { in buildAsn1DerEncodedWrappedKeyDescription()346 uint8_t* p = asn1_data.data(); in buildAsn1DerEncodedWrappedKeyDescription()353 std::move(asn1_data.begin(), asn1_data.end(), std::back_inserter(cxx_result.data)); in buildAsn1DerEncodedWrappedKeyDescription()458 std::vector<uint8_t> asn1_data(asn1_data_len, 0); in createWrappedKey() local460 if (!asn1_data.data()) { in createWrappedKey()466 uint8_t* p = asn1_data.data(); in createWrappedKey()473 std::move(asn1_data.begin(), asn1_data.end(), std::back_inserter(cxx_result.data)); in createWrappedKey()
81 let asn1_data = ossl!(rsa_key.private_key_to_der())?; in generate_key() localVariable82 Ok(crypto::KeyMaterial::Rsa(crypto::rsa::Key(asn1_data).into())) in generate_key()