6
6
#![ deny( clippy:: all) ]
7
7
8
8
pub mod basic_get_put_example;
9
+ pub mod clientsupplier;
9
10
pub mod create_keystore_key;
10
11
pub mod get_encrypted_data_key_description;
11
12
pub mod itemencryptor;
@@ -25,6 +26,8 @@ pub async fn main() {
25
26
keyring:: multi_mrk_keyring:: put_item_get_item ( ) . await ;
26
27
keyring:: raw_aes_keyring:: put_item_get_item ( ) . await ;
27
28
keyring:: multi_keyring:: put_item_get_item ( ) . await ;
29
+ keyring:: mrk_discovery_multi_keyring:: put_item_get_item ( ) . await ;
30
+ clientsupplier:: client_supplier_example:: put_item_get_item ( ) . await ;
28
31
29
32
let key_id = create_keystore_key:: keystore_create_key ( ) . await ;
30
33
let key_id2 = create_keystore_key:: keystore_create_key ( ) . await ;
@@ -33,19 +36,18 @@ pub async fn main() {
33
36
println ! ( "Key Store Keys created. Waiting 5 seconds for consistency." ) ;
34
37
std:: thread:: sleep ( std:: time:: Duration :: from_secs ( 5 ) ) ;
35
38
36
- searchableencryption:: basic_searchable_encryption:: put_and_query_with_beacon ( & key_id) . await ;
37
39
keyring:: hierarchical_keyring:: put_item_get_item ( & key_id, & key_id2) . await ;
38
- // // FIXME : ScanError will have to wait until we have a reasonable error message strategy
39
-
40
- /*
41
- await ClientSupplierExample.ClientSupplierPutItemGetItem() ;
42
- await MrkDiscoveryMultiKeyringExample.MultiMrkDiscoveryKeyringGetItemPutItem();
43
- await MultiKeyringExample.MultiKeyringGetItemPutItem() ;
44
-
45
- await CompoundBeaconSearchableEncryptionExample.PutItemQueryItemWithCompoundBeacon(keyId) ;
46
- await VirtualBeaconSearchableEncryptionExample.PutItemQueryItemWithVirtualBeacon(keyId) ;
47
- await BeaconStylesSearchableEncryptionExample.PutItemQueryItemWithBeaconStyles(keyId);
48
- await ComplexSearchableEncryptionExample.RunExample(keyId);
49
- */
40
+
41
+ searchableencryption :: basic_searchable_encryption :: put_and_query_with_beacon ( & key_id ) . await ;
42
+ searchableencryption :: beacon_styles_searchable_encryption :: put_and_query_with_beacon ( & key_id )
43
+ . await ;
44
+ searchableencryption :: compound_beacon_searchable_encryption :: put_and_query_with_beacon ( & key_id )
45
+ . await ;
46
+ searchableencryption :: virtual_beacon_searchable_encryption :: put_and_query_with_beacon ( & key_id )
47
+ . await ;
48
+ searchableencryption :: complexexample :: complex_searchable_encryption :: run_example ( & key_id ) . await ;
49
+
50
+ // ScanError will have to wait until we have a reasonable error message strategy
51
+
50
52
println ! ( "All examples completed successfully.\n " ) ;
51
53
}
0 commit comments