Class: Vcert::Certificate

Inherits:
Object
  • Object
show all
Defined in:
lib/objects/objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cert: nil, chain: nil, private_key: nil) ⇒ Certificate

Returns a new instance of Certificate.



158
159
160
161
162
# File 'lib/objects/objects.rb', line 158

def initialize(cert: nil, chain: nil, private_key: nil)
  @cert = cert
  @chain = chain
  @private_key = private_key
end

Instance Attribute Details

#certObject (readonly)

Returns the value of attribute cert.



156
157
158
# File 'lib/objects/objects.rb', line 156

def cert
  @cert
end

#chainObject (readonly)

Returns the value of attribute chain.



156
157
158
# File 'lib/objects/objects.rb', line 156

def chain
  @chain
end

#private_keyObject

Returns the value of attribute private_key.



155
156
157
# File 'lib/objects/objects.rb', line 155

def private_key
  @private_key
end