Class: Aws::PcaConnectorAd::Types::KeyUsageProperty

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-pcaconnectorad/types.rb

Overview

Note:

KeyUsageProperty is a union - when making an API calls you must set exactly one of the members.

Note:

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

PropertyFlags, PropertyType, Unknown

Defined Under Namespace

Classes: PropertyFlags, PropertyType, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#property_flagsTypes::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_typeString

You can specify all key usages using property type ALL. You can use property type or property flags but not both.

Returns:

  • (String)


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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1325
1326
1327
# File 'lib/aws-sdk-pcaconnectorad/types.rb', line 1325

def unknown
  @unknown
end