AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
OpenSslTypes.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ACSDKCRYPTO_PRIVATE_OPENSSLTYPES_H_
17 #define ACSDKCRYPTO_PRIVATE_OPENSSLTYPES_H_
18 
24 #define OPENSSL_VERSION_NUMBER_1_1_0 0x10100000L
25 
26 #include <ostream>
27 
28 namespace alexaClientSDK {
29 namespace acsdkCrypto {
30 
38 enum class CodecType : int {
39  Decoder = 0,
40  Encoder = 1,
41 };
42 
50 enum class PaddingMode : int {
51  NoPadding = 0,
52  Padding = 1,
53 };
54 
58 static constexpr int OPENSSL_OK = 1;
59 
60 } // namespace acsdkCrypto
61 } // namespace alexaClientSDK
62 
63 namespace std {
64 
68 std::ostream& operator<<(std::ostream& o, alexaClientSDK::acsdkCrypto::PaddingMode mode);
69 
70 } // namespace std
71 
72 #endif // ACSDKCRYPTO_PRIVATE_OPENSSLTYPES_H_
alexaClientSDK::acsdkCrypto::PaddingMode
PaddingMode
Typed enumeration for padding mode to use with EVP API.
Definition: OpenSslTypes.h:50
alexaClientSDK::acsdkCrypto::CodecType::Decoder
@ Decoder
Decoder.
alexaClientSDK::acsdkCrypto::PaddingMode::NoPadding
@ NoPadding
No padding.
alexaClientSDK::acl::operator<<
std::ostream & operator<<(std::ostream &stream, HTTP2Transport::State state)
Definition: HTTP2Transport.cpp:162
alexaClientSDK
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
alexaClientSDK::acsdkCrypto::CodecType::Encoder
@ Encoder
Encoder.
alexaClientSDK::acsdkCrypto::CodecType
CodecType
Typed enumeration for codec types to use with EVP API.
Definition: OpenSslTypes.h:38
alexaClientSDK::acsdkCrypto::PaddingMode::Padding
@ Padding
PKCS#7 padding.
std
Definition: CapabilityConfiguration.h:190

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0