Class: Aws::PcaConnectorAd::Types::KeyUsageProperty
- Inherits:
-
Struct
- Object
- Struct
- Aws::PcaConnectorAd::Types::KeyUsageProperty
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-pcaconnectorad/types.rb
Overview
KeyUsageProperty is a union - when making an API calls you must set exactly one of the members.
KeyUsageProperty is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of KeyUsageProperty corresponding to the set member.
The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
Direct Known Subclasses
Defined Under Namespace
Classes: PropertyFlags, PropertyType, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#property_flags ⇒ Types::KeyUsagePropertyFlags
You can specify key usage for encryption, key agreement, and signature.
-
#property_type ⇒ String
You can specify all key usages using property type ALL.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#property_flags ⇒ Types::KeyUsagePropertyFlags
You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 |
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 1325 class KeyUsageProperty < Struct.new( :property_flags, :property_type, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PropertyFlags < KeyUsageProperty; end class PropertyType < KeyUsageProperty; end class Unknown < KeyUsageProperty; end end |
#property_type ⇒ String
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 |
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 1325 class KeyUsageProperty < Struct.new( :property_flags, :property_type, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PropertyFlags < KeyUsageProperty; end class PropertyType < KeyUsageProperty; end class Unknown < KeyUsageProperty; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1325 1326 1327 |
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 1325 def unknown @unknown end |