blob: b8c7c483a16299f528f12fd80414041c8a87057f [file] [log] [blame]
Rajesh Nyamagoud4d483372022-02-09 01:38:23 +00001#pragma once
2
3#include "rust/cxx.h"
Rajesh Nyamagoudc946cc42022-04-12 22:49:11 +00004#include "ffi_test_utils.rs.h"
Rajesh Nyamagoud4d483372022-02-09 01:38:23 +00005
6bool validateCertChain(rust::Vec<rust::u8> cert_buf, uint32_t cert_len, bool strict_issuer_check);
Rajesh Nyamagoudc946cc42022-04-12 22:49:11 +00007CxxResult 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);
11CxxResult buildAsn1DerEncodedWrappedKeyDescription();