BSB Developer Docs
Loading...
Searching...
No Matches
tls_crypto.h
1
6#pragma once
7
8#include "tls_crypto_common.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
19#define RECORD_TLS_CRYPTO "tls_crypto"
20
22typedef struct TlsCrypto TlsCrypto;
23
32TlsCryptoStatus tls_crypto_get_certificate(
33 TlsCrypto* instance,
34 TlsCryptoKeyId key_id,
35 TlsCryptoCertificate* certificate);
36
47TlsCryptoStatus tls_crypto_sign(
48 TlsCrypto* instance,
49 TlsCryptoKeyId key_id,
50 const void* message,
51 size_t message_len,
52 TlsCryptoSignature* signature);
53
54#ifdef __cplusplus
55}
56#endif
Certificate container type for use with the TlsCrypto API functions.
Definition tls_crypto_common.h:46
Definition tls_crypto_backend.c:12
Signature container type for use with the TlsCrypto API functions.
Definition tls_crypto_common.h:54
Common types and definitions for the TlsCrypto system.
TlsCryptoStatus
Enumeration of possible statuses returned by the TlsCrypto API functions.
Definition tls_crypto_common.h:27
TlsCryptoKeyId
Enumeration of available key identifiers for use with the TlsCrypto API functions.
Definition tls_crypto_common.h:37