Express v1.3.3 Express.APNS.SSLConfig View Source

Provides APNS SSL configuration constructor.

Link to this section Summary

Functions

Returns SSL certificate by file path

Returns SSL certificate from configuration

Returns SSL certificate path from configuration

Returns SSL key from configuration

Returns SSL key path from configuration

Returns apns mode from configuration

Returns either SSL certificate or SSL key from a file content

Returns SSL certificate from pem

Returns SSL key from pem

Returns SSL key by file path

Creates SSL configuration with provided opts

Returns a file content by file path

Link to this section Functions

Link to this function cert(file_path) View Source
cert(String.t) :: binary

Returns SSL certificate by file path

Link to this function config_cert() View Source
config_cert() :: String.t | nil

Returns SSL certificate from configuration

Link to this function config_cert_path() View Source
config_cert_path() :: String.t | nil

Returns SSL certificate path from configuration

Link to this function config_key() View Source
config_key() :: String.t | nil

Returns SSL key from configuration

Link to this function config_key_path() View Source
config_key_path() :: String.t | nil

Returns SSL key path from configuration

Link to this function config_mode() View Source
config_mode() :: atom | String.t | nil

Returns apns mode from configuration

Link to this function decode_content(file_content, type) View Source
decode_content(String.t, :cert | :key) :: binary | nil

Returns either SSL certificate or SSL key from a file content

Link to this function fetch_cert(arg1) View Source
fetch_cert(list) :: binary | nil

Returns SSL certificate from pem

Link to this function fetch_key(arg1) View Source
fetch_key(list) :: binary | nil

Returns SSL key from pem

Link to this function key(file_path) View Source
key(String.t) :: binary

Returns SSL key by file path

Creates SSL configuration with provided opts

Link to this function read_file(file_path) View Source
read_file(String.t) :: String.t | nil

Returns a file content by file path