Class: OCI::IdentityDomains::Models::SettingsCertificateValidation
- Inherits:
- 
      Object
      
        - Object
- OCI::IdentityDomains::Models::SettingsCertificateValidation
 
- Defined in:
- lib/oci/identity_domains/models/settings_certificate_validation.rb
Overview
Certificate Validation Config
Added In: 2010242156
SCIM++ Properties: - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none
Instance Attribute Summary collapse
- 
  
    
      #crl_check_on_ocsp_failure_enabled  ⇒ BOOLEAN 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Use CRL as Fallback. 
- 
  
    
      #crl_enabled  ⇒ BOOLEAN 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    CRL is enabled Configuration. 
- 
  
    
      #crl_location  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    CRL Location. 
- 
  
    
      #crl_refresh_interval  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The CRL refresh interval in minutes. 
- 
  
    
      #ocsp_enabled  ⇒ BOOLEAN 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    OCSP is enabled Configuration. 
- 
  
    
      #ocsp_responder_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    OCSP Responder URL. 
- 
  
    
      #ocsp_settings_responder_url_preferred  ⇒ BOOLEAN 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This setting says, OCSP Responder URL present in the issued certificate must be used. 
- 
  
    
      #ocsp_signing_certificate_alias  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    OCSP Signing Certificate Alias. 
- 
  
    
      #ocsp_timeout_duration  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The OCSP Timeout duration in minutes. 
- 
  
    
      #ocsp_unknown_response_status_allowed  ⇒ BOOLEAN 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    OCSP Accept unknown response status from ocsp responder. 
Class Method Summary collapse
- 
  
    
      .attribute_map  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Attribute mapping from ruby-style variable name to JSON key. 
- 
  
    
      .swagger_types  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Attribute type mapping. 
Instance Method Summary collapse
- 
  
    
      #==(other)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Checks equality by comparing each attribute. 
- 
  
    
      #build_from_hash(attributes)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Builds the object from hash. 
- #eql?(other) ⇒ Boolean
- 
  
    
      #hash  ⇒ Fixnum 
    
    
  
  
  
  
  
  
  
  
  
    Calculates hash code according to all attributes. 
- 
  
    
      #initialize(attributes = {})  ⇒ SettingsCertificateValidation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Initializes the object. 
- 
  
    
      #to_hash  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    Returns the object in the form of hash. 
- 
  
    
      #to_s  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    Returns the string representation of the object. 
Constructor Details
#initialize(attributes = {}) ⇒ SettingsCertificateValidation
Initializes the object
| 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 216 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } self.crl_enabled = attributes[:'crlEnabled'] unless attributes[:'crlEnabled'].nil? raise 'You cannot provide both :crlEnabled and :crl_enabled' if attributes.key?(:'crlEnabled') && attributes.key?(:'crl_enabled') self.crl_enabled = attributes[:'crl_enabled'] unless attributes[:'crl_enabled'].nil? self.crl_check_on_ocsp_failure_enabled = attributes[:'crlCheckOnOCSPFailureEnabled'] unless attributes[:'crlCheckOnOCSPFailureEnabled'].nil? raise 'You cannot provide both :crlCheckOnOCSPFailureEnabled and :crl_check_on_ocsp_failure_enabled' if attributes.key?(:'crlCheckOnOCSPFailureEnabled') && attributes.key?(:'crl_check_on_ocsp_failure_enabled') self.crl_check_on_ocsp_failure_enabled = attributes[:'crl_check_on_ocsp_failure_enabled'] unless attributes[:'crl_check_on_ocsp_failure_enabled'].nil? self.crl_location = attributes[:'crlLocation'] if attributes[:'crlLocation'] raise 'You cannot provide both :crlLocation and :crl_location' if attributes.key?(:'crlLocation') && attributes.key?(:'crl_location') self.crl_location = attributes[:'crl_location'] if attributes[:'crl_location'] self.crl_refresh_interval = attributes[:'crlRefreshInterval'] if attributes[:'crlRefreshInterval'] raise 'You cannot provide both :crlRefreshInterval and :crl_refresh_interval' if attributes.key?(:'crlRefreshInterval') && attributes.key?(:'crl_refresh_interval') self.crl_refresh_interval = attributes[:'crl_refresh_interval'] if attributes[:'crl_refresh_interval'] self.ocsp_enabled = attributes[:'ocspEnabled'] unless attributes[:'ocspEnabled'].nil? raise 'You cannot provide both :ocspEnabled and :ocsp_enabled' if attributes.key?(:'ocspEnabled') && attributes.key?(:'ocsp_enabled') self.ocsp_enabled = attributes[:'ocsp_enabled'] unless attributes[:'ocsp_enabled'].nil? self.ocsp_unknown_response_status_allowed = attributes[:'ocspUnknownResponseStatusAllowed'] unless attributes[:'ocspUnknownResponseStatusAllowed'].nil? raise 'You cannot provide both :ocspUnknownResponseStatusAllowed and :ocsp_unknown_response_status_allowed' if attributes.key?(:'ocspUnknownResponseStatusAllowed') && attributes.key?(:'ocsp_unknown_response_status_allowed') self.ocsp_unknown_response_status_allowed = attributes[:'ocsp_unknown_response_status_allowed'] unless attributes[:'ocsp_unknown_response_status_allowed'].nil? self.ocsp_responder_url = attributes[:'ocspResponderURL'] if attributes[:'ocspResponderURL'] raise 'You cannot provide both :ocspResponderURL and :ocsp_responder_url' if attributes.key?(:'ocspResponderURL') && attributes.key?(:'ocsp_responder_url') self.ocsp_responder_url = attributes[:'ocsp_responder_url'] if attributes[:'ocsp_responder_url'] self.ocsp_settings_responder_url_preferred = attributes[:'ocspSettingsResponderURLPreferred'] unless attributes[:'ocspSettingsResponderURLPreferred'].nil? raise 'You cannot provide both :ocspSettingsResponderURLPreferred and :ocsp_settings_responder_url_preferred' if attributes.key?(:'ocspSettingsResponderURLPreferred') && attributes.key?(:'ocsp_settings_responder_url_preferred') self.ocsp_settings_responder_url_preferred = attributes[:'ocsp_settings_responder_url_preferred'] unless attributes[:'ocsp_settings_responder_url_preferred'].nil? self.ocsp_timeout_duration = attributes[:'ocspTimeoutDuration'] if attributes[:'ocspTimeoutDuration'] raise 'You cannot provide both :ocspTimeoutDuration and :ocsp_timeout_duration' if attributes.key?(:'ocspTimeoutDuration') && attributes.key?(:'ocsp_timeout_duration') self.ocsp_timeout_duration = attributes[:'ocsp_timeout_duration'] if attributes[:'ocsp_timeout_duration'] self.ocsp_signing_certificate_alias = attributes[:'ocspSigningCertificateAlias'] if attributes[:'ocspSigningCertificateAlias'] raise 'You cannot provide both :ocspSigningCertificateAlias and :ocsp_signing_certificate_alias' if attributes.key?(:'ocspSigningCertificateAlias') && attributes.key?(:'ocsp_signing_certificate_alias') self.ocsp_signing_certificate_alias = attributes[:'ocsp_signing_certificate_alias'] if attributes[:'ocsp_signing_certificate_alias'] end | 
Instance Attribute Details
#crl_check_on_ocsp_failure_enabled ⇒ BOOLEAN
Use CRL as Fallback.
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
| 48 49 50 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 48 def crl_check_on_ocsp_failure_enabled @crl_check_on_ocsp_failure_enabled end | 
#crl_enabled ⇒ BOOLEAN
CRL is enabled Configuration
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
| 34 35 36 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 34 def crl_enabled @crl_enabled end | 
#crl_location ⇒ String
CRL Location.
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
| 62 63 64 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 62 def crl_location @crl_location end | 
#crl_refresh_interval ⇒ Integer
The CRL refresh interval in minutes
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer - uniqueness: none
| 76 77 78 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 76 def crl_refresh_interval @crl_refresh_interval end | 
#ocsp_enabled ⇒ BOOLEAN
OCSP is enabled Configuration
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
| 90 91 92 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 90 def ocsp_enabled @ocsp_enabled end | 
#ocsp_responder_url ⇒ String
OCSP Responder URL
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
| 118 119 120 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 118 def ocsp_responder_url @ocsp_responder_url end | 
#ocsp_settings_responder_url_preferred ⇒ BOOLEAN
This setting says, OCSP Responder URL present in the issued certificate must be used. Otherwise, OCSP Responder URL from IDP or Settings.
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
| 132 133 134 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 132 def ocsp_settings_responder_url_preferred @ocsp_settings_responder_url_preferred end | 
#ocsp_signing_certificate_alias ⇒ String
OCSP Signing Certificate Alias
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
| 162 163 164 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 162 def ocsp_signing_certificate_alias @ocsp_signing_certificate_alias end | 
#ocsp_timeout_duration ⇒ Integer
The OCSP Timeout duration in minutes
Added In: 2010242156
SCIM++ Properties: - idcsMaxValue: 10 - idcsMinValue: 1 - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer - uniqueness: none
| 148 149 150 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 148 def ocsp_timeout_duration @ocsp_timeout_duration end | 
#ocsp_unknown_response_status_allowed ⇒ BOOLEAN
OCSP Accept unknown response status from ocsp responder.
Added In: 2010242156
SCIM++ Properties: - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
| 104 105 106 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 104 def ocsp_unknown_response_status_allowed @ocsp_unknown_response_status_allowed end | 
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
| 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 165 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'crl_enabled': :'crlEnabled', 'crl_check_on_ocsp_failure_enabled': :'crlCheckOnOCSPFailureEnabled', 'crl_location': :'crlLocation', 'crl_refresh_interval': :'crlRefreshInterval', 'ocsp_enabled': :'ocspEnabled', 'ocsp_unknown_response_status_allowed': :'ocspUnknownResponseStatusAllowed', 'ocsp_responder_url': :'ocspResponderURL', 'ocsp_settings_responder_url_preferred': :'ocspSettingsResponderURLPreferred', 'ocsp_timeout_duration': :'ocspTimeoutDuration', 'ocsp_signing_certificate_alias': :'ocspSigningCertificateAlias' # rubocop:enable Style/SymbolLiteral } end | 
.swagger_types ⇒ Object
Attribute type mapping.
| 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 183 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'crl_enabled': :'BOOLEAN', 'crl_check_on_ocsp_failure_enabled': :'BOOLEAN', 'crl_location': :'String', 'crl_refresh_interval': :'Integer', 'ocsp_enabled': :'BOOLEAN', 'ocsp_unknown_response_status_allowed': :'BOOLEAN', 'ocsp_responder_url': :'String', 'ocsp_settings_responder_url_preferred': :'BOOLEAN', 'ocsp_timeout_duration': :'Integer', 'ocsp_signing_certificate_alias': :'String' # rubocop:enable Style/SymbolLiteral } end | 
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
| 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 290 def ==(other) return true if equal?(other) self.class == other.class && crl_enabled == other.crl_enabled && crl_check_on_ocsp_failure_enabled == other.crl_check_on_ocsp_failure_enabled && crl_location == other.crl_location && crl_refresh_interval == other.crl_refresh_interval && ocsp_enabled == other.ocsp_enabled && ocsp_unknown_response_status_allowed == other.ocsp_unknown_response_status_allowed && ocsp_responder_url == other.ocsp_responder_url && ocsp_settings_responder_url_preferred == other.ocsp_settings_responder_url_preferred && ocsp_timeout_duration == other.ocsp_timeout_duration && ocsp_signing_certificate_alias == other.ocsp_signing_certificate_alias end | 
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
| 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 329 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /^Array<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) public_method("#{key}=").call( attributes[self.class.attribute_map[key]] .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? public_method("#{key}=").call( OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]) ) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end | 
#eql?(other) ⇒ Boolean
| 309 310 311 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 309 def eql?(other) self == other end | 
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
| 318 319 320 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 318 def hash [crl_enabled, crl_check_on_ocsp_failure_enabled, crl_location, crl_refresh_interval, ocsp_enabled, ocsp_unknown_response_status_allowed, ocsp_responder_url, ocsp_settings_responder_url_preferred, ocsp_timeout_duration, ocsp_signing_certificate_alias].hash end | 
#to_hash ⇒ Hash
Returns the object in the form of hash
| 362 363 364 365 366 367 368 369 370 371 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 362 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = public_method(attr).call next if value.nil? && !instance_variable_defined?("@#{attr}") hash[param] = _to_hash(value) end hash end | 
#to_s ⇒ String
Returns the string representation of the object
| 356 357 358 | # File 'lib/oci/identity_domains/models/settings_certificate_validation.rb', line 356 def to_s to_hash.to_s end |