Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
jose_decrypt.h
1#ifndef SOURCEMETA_CORE_JOSE_DECRYPT_H_
2#define SOURCEMETA_CORE_JOSE_DECRYPT_H_
3
4#ifndef SOURCEMETA_CORE_JOSE_EXPORT
5#include <sourcemeta/core/jose_export.h>
6#endif
7
8#include <sourcemeta/core/jose_jwe.h>
9#include <sourcemeta/core/jose_jwk_private.h>
10
11#include <optional> // std::optional
12#include <string> // std::string
13
14namespace sourcemeta::core {
15
34SOURCEMETA_CORE_JOSE_EXPORT
35auto jwe_decrypt(const JWE &jwe, const JWKPrivate &key)
36 -> std::optional<std::string>;
37
38} // namespace sourcemeta::core
39
40#endif
Definition jose_jwe.h:34
Definition jose_jwk_private.h:35
SOURCEMETA_CORE_JOSE_EXPORT auto jwe_decrypt(const JWE &jwe, const JWKPrivate &key) -> std::optional< std::string >