Class: AWSCDK::PCAConnectorAD::CfnTemplate::PrivateKeyFlagsV3Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PCAConnectorAD::CfnTemplate::PrivateKeyFlagsV3Property
- Defined in:
- pca_connector_ad/cfn_template.rb
Overview
Private key flags for v3 templates specify the client compatibility, if the private key can be exported, if user input is required when using a private key, and if an alternate signature algorithm should be used.
Instance Attribute Summary collapse
-
#client_version ⇒ String
readonly
Defines the minimum client compatibility.
-
#exportable_key ⇒ Boolean, ...
readonly
Allows the private key to be exported.
-
#require_alternate_signature_algorithm ⇒ Boolean, ...
readonly
Reguires the PKCS #1 v2.1 signature format for certificates.
-
#strong_key_protection_required ⇒ Boolean, ...
readonly
Requirer user input when using the private key for enrollment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_version:, exportable_key: nil, require_alternate_signature_algorithm: nil, strong_key_protection_required: nil) ⇒ PrivateKeyFlagsV3Property
constructor
A new instance of PrivateKeyFlagsV3Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_version:, exportable_key: nil, require_alternate_signature_algorithm: nil, strong_key_protection_required: nil) ⇒ PrivateKeyFlagsV3Property
Returns a new instance of PrivateKeyFlagsV3Property.
1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 |
# File 'pca_connector_ad/cfn_template.rb', line 1676 def initialize(client_version:, exportable_key: nil, require_alternate_signature_algorithm: nil, strong_key_protection_required: nil) @client_version = client_version Jsii::Type.check_type(@client_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientVersion") @exportable_key = exportable_key Jsii::Type.check_type(@exportable_key, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "exportableKey") unless @exportable_key.nil? @require_alternate_signature_algorithm = require_alternate_signature_algorithm Jsii::Type.check_type(@require_alternate_signature_algorithm, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "requireAlternateSignatureAlgorithm") unless @require_alternate_signature_algorithm.nil? @strong_key_protection_required = strong_key_protection_required Jsii::Type.check_type(@strong_key_protection_required, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "strongKeyProtectionRequired") unless @strong_key_protection_required.nil? end |
Instance Attribute Details
#client_version ⇒ String (readonly)
Defines the minimum client compatibility.
1691 1692 1693 |
# File 'pca_connector_ad/cfn_template.rb', line 1691 def client_version @client_version end |
#exportable_key ⇒ Boolean, ... (readonly)
Allows the private key to be exported.
1696 1697 1698 |
# File 'pca_connector_ad/cfn_template.rb', line 1696 def exportable_key @exportable_key end |
#require_alternate_signature_algorithm ⇒ Boolean, ... (readonly)
Reguires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.
1701 1702 1703 |
# File 'pca_connector_ad/cfn_template.rb', line 1701 def require_alternate_signature_algorithm @require_alternate_signature_algorithm end |
#strong_key_protection_required ⇒ Boolean, ... (readonly)
Requirer user input when using the private key for enrollment.
1706 1707 1708 |
# File 'pca_connector_ad/cfn_template.rb', line 1706 def strong_key_protection_required @strong_key_protection_required end |
Class Method Details
.jsii_properties ⇒ Object
1708 1709 1710 1711 1712 1713 1714 1715 |
# File 'pca_connector_ad/cfn_template.rb', line 1708 def self.jsii_properties { :client_version => "clientVersion", :exportable_key => "exportableKey", :require_alternate_signature_algorithm => "requireAlternateSignatureAlgorithm", :strong_key_protection_required => "strongKeyProtectionRequired", } end |
Instance Method Details
#to_jsii ⇒ Object
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 |
# File 'pca_connector_ad/cfn_template.rb', line 1717 def to_jsii result = {} result.merge!({ "clientVersion" => @client_version, "exportableKey" => @exportable_key, "requireAlternateSignatureAlgorithm" => @require_alternate_signature_algorithm, "strongKeyProtectionRequired" => @strong_key_protection_required, }) result.compact end |