Module: Neo4j::Driver::ClientCertificates
- Defined in:
- lib/neo4j/driver/client_certificates.rb
Overview
Factory for ClientCertificate, mirroring org.neo4j.driver.ClientCertificates. Accepts path strings (or anything with #to_s, e.g. a Pathname) for the certificate and private-key PEM files, plus the key's optional password.
Class Method Summary collapse
Class Method Details
.of(certfile, keyfile, password = nil) ⇒ Object
9 10 11 |
# File 'lib/neo4j/driver/client_certificates.rb', line 9 def self.of(certfile, keyfile, password = nil) ClientCertificate.new(certfile.to_s, keyfile.to_s, password) end |