CAStore v0.1.2 CAStore View Source

Functionality to retrieve the up-to-date CA certificate store.

The only purpose of this library is to keep an up-to-date CA certificate store file. This is why this module only provides one function, file_path/0, to access the path of the CA certificate store file. You can then read this file and use its contents for your own purposes.

Link to this section Summary

Functions

Returns the path to the CA certificate store PEM file

Link to this section Functions

Link to this function

file_path() View Source
file_path() :: Path.t()

Returns the path to the CA certificate store PEM file.

Examples

CAStore.file_path()
#=> /Users/me/castore/_build/dev/lib/castore/priv/cacerts.pem"