Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::KeyUsage.
A KeyUsage describes key usage values that may appear in an X.509 certificate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#base_key_usage
def base_key_usage() -> ::Google::Cloud::Security::PrivateCA::V1::KeyUsage::KeyUsageOptions
Returns
- (::Google::Cloud::Security::PrivateCA::V1::KeyUsage::KeyUsageOptions) — Describes high-level ways in which a key may be used.
#base_key_usage=
def base_key_usage=(value) -> ::Google::Cloud::Security::PrivateCA::V1::KeyUsage::KeyUsageOptions
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::KeyUsage::KeyUsageOptions) — Describes high-level ways in which a key may be used.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::KeyUsage::KeyUsageOptions) — Describes high-level ways in which a key may be used.
#extended_key_usage
def extended_key_usage() -> ::Google::Cloud::Security::PrivateCA::V1::KeyUsage::ExtendedKeyUsageOptions
Returns
- (::Google::Cloud::Security::PrivateCA::V1::KeyUsage::ExtendedKeyUsageOptions) — Detailed scenarios in which a key may be used.
#extended_key_usage=
def extended_key_usage=(value) -> ::Google::Cloud::Security::PrivateCA::V1::KeyUsage::ExtendedKeyUsageOptions
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::KeyUsage::ExtendedKeyUsageOptions) — Detailed scenarios in which a key may be used.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::KeyUsage::ExtendedKeyUsageOptions) — Detailed scenarios in which a key may be used.
#unknown_extended_key_usages
def unknown_extended_key_usages() -> ::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>
Returns
- (::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>) — Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
#unknown_extended_key_usages=
def unknown_extended_key_usages=(value) -> ::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>
Parameter
- value (::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>) — Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
Returns
- (::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>) — Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.