/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains X.509 extension information for a certificate.See
* Also:
AWS
* API Reference
Contains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline const Aws::VectorContains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline bool CertificatePoliciesHasBeenSet() const { return m_certificatePoliciesHasBeenSet; } /** *Contains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline void SetCertificatePolicies(const Aws::VectorContains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline void SetCertificatePolicies(Aws::VectorContains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline Extensions& WithCertificatePolicies(const Aws::VectorContains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline Extensions& WithCertificatePolicies(Aws::VectorContains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline Extensions& AddCertificatePolicies(const PolicyInformation& value) { m_certificatePoliciesHasBeenSet = true; m_certificatePolicies.push_back(value); return *this; } /** *Contains a sequence of one or more policy information terms, each of which * consists of an object identifier (OID) and optional qualifiers. For more * information, see NIST's definition of Object Identifier * (OID).
In an end-entity certificate, these terms indicate the policy * under which the certificate was issued and the purposes for which it may be * used. In a CA certificate, these terms limit the set of policies for * certification paths that include this certificate.
*/ inline Extensions& AddCertificatePolicies(PolicyInformation&& value) { m_certificatePoliciesHasBeenSet = true; m_certificatePolicies.push_back(std::move(value)); return *this; } /** *Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
Specifies additional purposes for which the certified public key may be used
* other than basic purposes indicated in the KeyUsage
extension.
The subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline const Aws::VectorThe subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; } /** *The subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline void SetSubjectAlternativeNames(const Aws::VectorThe subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline void SetSubjectAlternativeNames(Aws::VectorThe subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline Extensions& WithSubjectAlternativeNames(const Aws::VectorThe subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline Extensions& WithSubjectAlternativeNames(Aws::VectorThe subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline Extensions& AddSubjectAlternativeNames(const GeneralName& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames.push_back(value); return *this; } /** *The subject alternative name extension allows identities to be bound to the * subject of the certificate. These identities may be included in addition to or * in place of the identity in the subject field of the certificate.
*/ inline Extensions& AddSubjectAlternativeNames(GeneralName&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames.push_back(std::move(value)); return *this; } /** *Contains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline const Aws::VectorContains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline bool CustomExtensionsHasBeenSet() const { return m_customExtensionsHasBeenSet; } /** *Contains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline void SetCustomExtensions(const Aws::VectorContains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline void SetCustomExtensions(Aws::VectorContains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline Extensions& WithCustomExtensions(const Aws::VectorContains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline Extensions& WithCustomExtensions(Aws::VectorContains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline Extensions& AddCustomExtensions(const CustomExtension& value) { m_customExtensionsHasBeenSet = true; m_customExtensions.push_back(value); return *this; } /** *Contains a sequence of one or more X.509 extensions, each of which * consists of an object identifier (OID), a base64-encoded value, and the critical * flag. For more information, see the Global * OID reference database.
*/ inline Extensions& AddCustomExtensions(CustomExtension&& value) { m_customExtensionsHasBeenSet = true; m_customExtensions.push_back(std::move(value)); return *this; } private: Aws::Vector