Class: Aws::ACMPCA::Types::KeyUsage
- Inherits:
-
Struct
- Object
- Struct
- Aws::ACMPCA::Types::KeyUsage
- Defined in:
- gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb
Overview
When making an API call, you may pass KeyUsage data as a hash:
{
digital_signature: false,
non_repudiation: false,
key_encipherment: false,
data_encipherment: false,
key_agreement: false,
key_cert_sign: false,
crl_sign: false,
encipher_only: false,
decipher_only: false,
}
Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#crl_sign ⇒ Boolean
Key can be used to sign CRLs.
-
#data_encipherment ⇒ Boolean
Key can be used to decipher data.
-
#decipher_only ⇒ Boolean
Key can be used only to decipher data.
-
#digital_signature ⇒ Boolean
Key can be used for digital signing.
-
#encipher_only ⇒ Boolean
Key can be used only to encipher data.
-
#key_agreement ⇒ Boolean
Key can be used in a key-agreement protocol.
-
#key_cert_sign ⇒ Boolean
Key can be used to sign certificates.
-
#key_encipherment ⇒ Boolean
Key can be used to encipher data.
-
#non_repudiation ⇒ Boolean
Key can be used for non-repudiation.
Instance Attribute Details
#crl_sign ⇒ Boolean
Key can be used to sign CRLs.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#data_encipherment ⇒ Boolean
Key can be used to decipher data.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#decipher_only ⇒ Boolean
Key can be used only to decipher data.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#digital_signature ⇒ Boolean
Key can be used for digital signing.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#encipher_only ⇒ Boolean
Key can be used only to encipher data.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#key_agreement ⇒ Boolean
Key can be used in a key-agreement protocol.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#key_cert_sign ⇒ Boolean
Key can be used to sign certificates.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#key_encipherment ⇒ Boolean
Key can be used to encipher data.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |
#non_repudiation ⇒ Boolean
Key can be used for non-repudiation.
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 |
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 2529 class KeyUsage < Struct.new( :digital_signature, :non_repudiation, :key_encipherment, :data_encipherment, :key_agreement, :key_cert_sign, :crl_sign, :encipher_only, :decipher_only) SENSITIVE = [] include Aws::Structure end |