Rajesh Nyamagoud | 4d48337 | 2022-02-09 01:38:23 +0000 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include "rust/cxx.h" |
Rajesh Nyamagoud | c946cc4 | 2022-04-12 22:49:11 +0000 | [diff] [blame] | 4 | #include "ffi_test_utils.rs.h" |
Rajesh Nyamagoud | 4d48337 | 2022-02-09 01:38:23 +0000 | [diff] [blame] | 5 | |
| 6 | bool validateCertChain(rust::Vec<rust::u8> cert_buf, uint32_t cert_len, bool strict_issuer_check); |
Rajesh Nyamagoud | c946cc4 | 2022-04-12 22:49:11 +0000 | [diff] [blame] | 7 | CxxResult createWrappedKey(rust::Vec<rust::u8> encrypted_secure_key, |
| 8 | rust::Vec<rust::u8> encrypted_transport_key, |
| 9 | rust::Vec<rust::u8> iv, |
| 10 | rust::Vec<rust::u8> tag); |
| 11 | CxxResult buildAsn1DerEncodedWrappedKeyDescription(); |