AWS Encryption SDK for C
v2.4
Loading...
Searching...
No Matches
include
aws
cryptosdk
default_cmm.h
Go to the documentation of this file.
1
/*
2
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5
* this file except in compliance with the License. A copy of the License is
6
* located at
7
*
8
* http://aws.amazon.com/apache2.0/
9
*
10
* or in the "license" file accompanying this file. This file is distributed on an
11
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12
* implied. See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
#ifndef AWS_CRYPTOSDK_DEFAULT_CMM_H
17
#define AWS_CRYPTOSDK_DEFAULT_CMM_H
18
19
#include <aws/cryptosdk/exports.h>
20
#include <
aws/cryptosdk/materials.h
>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
61
AWS_CRYPTOSDK_API
62
struct
aws_cryptosdk_cmm
*
aws_cryptosdk_default_cmm_new
(
struct
aws_allocator *alloc,
struct
aws_cryptosdk_keyring
*kr);
63
70
AWS_CRYPTOSDK_API
71
int
aws_cryptosdk_default_cmm_set_alg_id
(
struct
aws_cryptosdk_cmm
*cmm,
enum
aws_cryptosdk_alg_id
alg_id);
72
73
AWS_CRYPTOSDK_API
74
bool
aws_cryptosdk_default_cmm_is_valid
(
const
struct
aws_cryptosdk_cmm
*cmm);
75
76
#ifdef __cplusplus
77
}
78
#endif
79
80
#endif
// AWS_CRYPTOSDK_DEFAULT_CMM_H
aws_cryptosdk_default_cmm_is_valid
bool aws_cryptosdk_default_cmm_is_valid(const struct aws_cryptosdk_cmm *cmm)
aws_cryptosdk_default_cmm_set_alg_id
int aws_cryptosdk_default_cmm_set_alg_id(struct aws_cryptosdk_cmm *cmm, enum aws_cryptosdk_alg_id alg_id)
aws_cryptosdk_default_cmm_new
struct aws_cryptosdk_cmm * aws_cryptosdk_default_cmm_new(struct aws_allocator *alloc, struct aws_cryptosdk_keyring *kr)
aws_cryptosdk_alg_id
aws_cryptosdk_alg_id
Definition
header.h:26
materials.h
aws_cryptosdk_cmm
Definition
materials.h:83
aws_cryptosdk_keyring
Definition
materials.h:96
Generated by
1.13.2