Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
oidc_encryption.h
1#ifndef SOURCEMETA_CORE_OIDC_ENCRYPTION_H_
2#define SOURCEMETA_CORE_OIDC_ENCRYPTION_H_
3
4#ifndef SOURCEMETA_CORE_OIDC_EXPORT
5#include <sourcemeta/core/oidc_export.h>
6#endif
7
8#include <sourcemeta/core/jose.h>
9
10#include <optional> // std::optional
11#include <string> // std::string
12#include <string_view> // std::string_view
13
14namespace sourcemeta::core {
15
34SOURCEMETA_CORE_OIDC_EXPORT
35auto oidc_decrypt_nested_jwt(const std::string_view compact,
36 const JWKPrivate &key)
37 -> std::optional<std::string>;
38
39} // namespace sourcemeta::core
40
41#endif
Definition jose_jwk_private.h:35
SOURCEMETA_CORE_OIDC_EXPORT auto oidc_decrypt_nested_jwt(const std::string_view compact, const JWKPrivate &key) -> std::optional< std::string >