AWS Encryption SDK for C v2.4
Loading...
Searching...
No Matches
raw_rsa_keyring.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#ifndef AWS_CRYPTOSDK_RAW_RSA_KEYRING_H
16#define AWS_CRYPTOSDK_RAW_RSA_KEYRING_H
17
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
53AWS_CRYPTOSDK_API
55 struct aws_allocator *alloc,
56 const struct aws_string *key_namespace,
57 const struct aws_string *key_name,
58 const char *rsa_private_key_pem,
59 const char *rsa_public_key_pem,
60 enum aws_cryptosdk_rsa_padding_mode rsa_padding_mode);
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif // AWS_CRYPTOSDK_RAW_RSA_KEYRING_H
aws_cryptosdk_rsa_padding_mode
Definition cipher.h:42
struct aws_cryptosdk_keyring * aws_cryptosdk_raw_rsa_keyring_new(struct aws_allocator *alloc, const struct aws_string *key_namespace, const struct aws_string *key_name, const char *rsa_private_key_pem, const char *rsa_public_key_pem, enum aws_cryptosdk_rsa_padding_mode rsa_padding_mode)