SwarmSpecCAConfigExternalCAsItem
Table of Contents
- $cACert : string|null
- The root CA certificate (in PEM format) this external CA uses.
- $options : array<string|int, string>|null
- An object with key/value pairs that are interpreted as.
- $protocol : string|null
- Protocol for communication with the external CA (currently.
- $uRL : string|null
- URL where certificate signing requests should be sent.
- getCACert() : string|null
- The root CA certificate (in PEM format) this external CA uses.
- getOptions() : array<string|int, string>|null
- An object with key/value pairs that are interpreted as.
- getProtocol() : string|null
- Protocol for communication with the external CA (currently.
- getURL() : string|null
- URL where certificate signing requests should be sent.
- setCACert() : self
- The root CA certificate (in PEM format) this external CA uses.
- setOptions() : self
- An object with key/value pairs that are interpreted as.
- setProtocol() : self
- Protocol for communication with the external CA (currently.
- setURL() : self
- URL where certificate signing requests should be sent.
Properties
$cACert
The root CA certificate (in PEM format) this external CA uses.
protected
string|null
$cACert
$options
An object with key/value pairs that are interpreted as.
protected
array<string|int, string>|null
$options
$protocol
Protocol for communication with the external CA (currently.
protected
string|null
$protocol
= 'cfssl'
$uRL
URL where certificate signing requests should be sent.
protected
string|null
$uRL
Methods
getCACert()
The root CA certificate (in PEM format) this external CA uses.
public
getCACert() : string|null
root CA certificate if not provided).
Return values
string|null —getOptions()
An object with key/value pairs that are interpreted as.
public
getOptions() : array<string|int, string>|null
Return values
array<string|int, string>|null —getProtocol()
Protocol for communication with the external CA (currently.
public
getProtocol() : string|null
only cfssl
is supported).
Return values
string|null —getURL()
URL where certificate signing requests should be sent.
public
getURL() : string|null
Return values
string|null —setCACert()
The root CA certificate (in PEM format) this external CA uses.
public
setCACert(string|null $cACert) : self
root CA certificate if not provided).
Parameters
- $cACert : string|null
Return values
self —setOptions()
An object with key/value pairs that are interpreted as.
public
setOptions(array<string|int, string>|null $options) : self
Parameters
- $options : array<string|int, string>|null
Return values
self —setProtocol()
Protocol for communication with the external CA (currently.
public
setProtocol(string|null $protocol) : self
only cfssl
is supported).
Parameters
- $protocol : string|null
Return values
self —setURL()
URL where certificate signing requests should be sent.
public
setURL(string|null $uRL) : self
Parameters
- $uRL : string|null