Class: AWSCDK::Signer::Platform
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::Signer::Platform
- Defined in:
- signer/platform.rb
Overview
Platforms that are allowed with signing config.
Class Method Summary collapse
-
.AMAZON_FREE_RTOS_DEFAULT ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for Amazon FreeRTOS.
-
.AMAZON_FREE_RTOS_TI_CC3220_SF ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms with SHA1 hash and RSA encryption for Amazon FreeRTOS.
-
.AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms for AWS IoT Device.
-
.AWS_LAMBDA_SHA384_ECDSA ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms for AWS Lambda.
- .jsii_overridable_methods ⇒ Object
-
.NOTATION_OCI_SHA384_ECDSA ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for container registries with notation.
-
.of(platform_id) ⇒ AWSCDK::Signer::Platform
Custom signing profile platform.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Platform
constructor
A new instance of Platform.
-
#platform_id ⇒ String
- The id of signing platform.
Constructor Details
#initialize(*args) ⇒ Platform
Returns a new instance of Platform.
10 11 12 |
# File 'signer/platform.rb', line 10 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_signer.Platform does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.AMAZON_FREE_RTOS_DEFAULT ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for Amazon FreeRTOS.
33 34 35 |
# File 'signer/platform.rb', line 33 def self.AMAZON_FREE_RTOS_DEFAULT() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_signer.Platform", "AMAZON_FREE_RTOS_DEFAULT") end |
.AMAZON_FREE_RTOS_TI_CC3220_SF ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms with SHA1 hash and RSA encryption for Amazon FreeRTOS.
40 41 42 |
# File 'signer/platform.rb', line 40 def self.AMAZON_FREE_RTOS_TI_CC3220_SF() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_signer.Platform", "AMAZON_FREE_RTOS_TI_CC3220SF") end |
.AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms for AWS IoT Device.
47 48 49 |
# File 'signer/platform.rb', line 47 def self.AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_signer.Platform", "AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA") end |
.AWS_LAMBDA_SHA384_ECDSA ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms for AWS Lambda.
54 55 56 |
# File 'signer/platform.rb', line 54 def self.AWS_LAMBDA_SHA384_ECDSA() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_signer.Platform", "AWS_LAMBDA_SHA384_ECDSA") end |
.jsii_overridable_methods ⇒ Object
14 15 16 17 18 |
# File 'signer/platform.rb', line 14 def self.jsii_overridable_methods { :platform_id => { kind: :property, name: "platformId", is_optional: false }, } end |
.NOTATION_OCI_SHA384_ECDSA ⇒ AWSCDK::Signer::Platform
Specification of signature format and signing algorithms with SHA256 hash and ECDSA encryption for container registries with notation.
61 62 63 |
# File 'signer/platform.rb', line 61 def self.NOTATION_OCI_SHA384_ECDSA() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_signer.Platform", "NOTATION_OCI_SHA384_ECDSA") end |
.of(platform_id) ⇒ AWSCDK::Signer::Platform
Custom signing profile platform.
25 26 27 28 |
# File 'signer/platform.rb', line 25 def self.of(platform_id) Jsii::Type.check_type(platform_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "platformId") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_signer.Platform", "of", [platform_id]) end |
Instance Method Details
#platform_id ⇒ String
- The id of signing platform.
68 69 70 |
# File 'signer/platform.rb', line 68 def platform_id() jsii_get_property("platformId") end |