pfSense-pkg-RESTAPI

CertificateModelTraits

Table of Contents

Methods

get_country_choices()  : array<string|int, mixed>
Returns a list of available country codes for the certificate.
get_digest_alg_choices()  : array<string|int, mixed>
Returns a list of available digest algorithms for signing certificates.
get_ecname_choices()  : array<string|int, mixed>
Returns a list of available elliptic curve names for ECDSA key pairs.
to_x509_dn()  : array<string|int, mixed>
Converts this Certificate object's DN values into a X509 DN array.

Methods

get_country_choices()

Returns a list of available country codes for the certificate.

public static get_country_choices() : array<string|int, mixed>
Tags
returns

array The list of available country codes.

Return values
array<string|int, mixed>

get_digest_alg_choices()

Returns a list of available digest algorithms for signing certificates.

public static get_digest_alg_choices() : array<string|int, mixed>
Tags
returns

array The list of available digest algorithms.

Return values
array<string|int, mixed>

get_ecname_choices()

Returns a list of available elliptic curve names for ECDSA key pairs.

public static get_ecname_choices() : array<string|int, mixed>
Tags
returns

array The list of available elliptic curve names.

Return values
array<string|int, mixed>

to_x509_dn()

Converts this Certificate object's DN values into a X509 DN array.

private to_x509_dn(Model $model) : array<string|int, mixed>
Parameters
$model : Model

The Certificate* Model object to convert to a X509 DN array.

Tags
returns

array The X509 DN array.

Return values
array<string|int, mixed>

        
On this page

Search results