class Google::Apis::PrivatecaV1::X509Extension

An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.

Attributes

critical[RW]

Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). Corresponds to the JSON property `critical` @return [Boolean]

critical?[RW]

Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). Corresponds to the JSON property `critical` @return [Boolean]

object_id_prop[RW]

An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. Corresponds to the JSON property `objectId` @return [Google::Apis::PrivatecaV1::ObjectIdProp]

value[RW]

Required. The value of this X.509 extension. Corresponds to the JSON property `value` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 2624
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1/classes.rb, line 2629
def update!(**args)
  @critical = args[:critical] if args.key?(:critical)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @value = args[:value] if args.key?(:value)
end