diff --git a/src/grisp_cryptoauth.erl b/src/grisp_cryptoauth.erl index d516b36..4564b40 100644 --- a/src/grisp_cryptoauth.erl +++ b/src/grisp_cryptoauth.erl @@ -12,7 +12,8 @@ write_cert/3, device_info/0, setup_device/0, - random_bytes/1]). + random_bytes/1, + tls_options/1]). %% Use for testing %% without API server @@ -246,6 +247,9 @@ random_bytes(Context, ChunksN, Acc) -> random_bytes(Context, ChunksN-1, [RandBytes | Acc]). +tls_options(Domain) -> + grisp_cryptoauth_tls:options(Domain). + %% --------------- %% Config handling %% ---------------