123456789_123456789_123456789_123456789_123456789_

Class: OpenSSL::X509::StoreContext

Relationships & Source Files
Inherits: Object
Defined in: ext/openssl/ossl_x509store.c,
ext/openssl/lib/openssl/x509.rb

Overview

A StoreContext is used while validating a single certificate and holds the status involved.

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(store, cert = nil, chain = nil)

Instance Attribute Details

#errorInteger (rw)

#error=(error_code) (rw)

#flags=(flags) (writeonly)

Sets the verification flags to the context. See Store#flags=.

#purpose=(purpose) (writeonly)

Sets the purpose of the context. See Store#purpose=.

#time=(time) (writeonly)

Sets the time used in the verification. If not set, the current time is used.

#trust=(trust) (writeonly)

Instance Method Details

#chainArray of X509::Certificate

#cleanup

[ GitHub ]

  
# File 'ext/openssl/lib/openssl/x509.rb', line 158

def cleanup
  warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE
end

#current_certX509::Certificate

#current_crlX509::CRL

#error_depthInteger

#error_stringString

Returns the error string corresponding to the error code retrieved by #error.

#verifyBoolean