cfssl.models package

Submodules

cfssl.models.certificate_request module

class cfssl.models.certificate_request.CertificateRequest(common_name=None, names=None, hosts=None, key=None)[source]

Bases: object

It provides a Certificate Request compatible with CFSSL.

to_api()[source]

It returns an object compatible with the API.

cfssl.models.config_client module

class cfssl.models.config_client.ConfigClient(sign_policy_default, sign_policies_add, auth_policies, remotes)[source]

Bases: cfssl.models.config_mixer.ConfigMixer

It provides a Client Config compatible with CFSSL.

to_api()[source]

It returns an object compatible with the API.

cfssl.models.config_key module

class cfssl.models.config_key.ConfigKey(algorithm='rsa', strength=4096)[source]

Bases: object

It provides a Key Config compatible with CFSSL.

to_api()[source]

It returns an object compatible with the API.

cfssl.models.config_mixer module

class cfssl.models.config_mixer.ConfigMixer(sign_policy_default, sign_policies_add, auth_policies)[source]

Bases: object

It provides a mixer for the Client and Server Configs

to_api()[source]

It returns an object compatible with the API.

cfssl.models.config_server module

class cfssl.models.config_server.ConfigServer(sign_policy_default, sign_policies_add, auth_policies)[source]

Bases: cfssl.models.config_mixer.ConfigMixer

It provides a Server Config compatible with CFSSL.

cfssl.models.host module

class cfssl.models.host.Host(name, host, port=None)[source]

Bases: object

It provides a Host compatible with CFSSL.

to_api()[source]

It returns an object compatible with the API.

cfssl.models.policy_auth module

class cfssl.models.policy_auth.PolicyAuth(name, key, key_type='standard')[source]

Bases: object

It provides a Certificate Auth policy compatible with CFSSL

to_api()[source]

It returns an object compatible with the API.

cfssl.models.policy_sign module

class cfssl.models.policy_sign.PolicySign(name, usage_policies, auth_policy, expire_delta=datetime.timedelta(365))[source]

Bases: object

It provides a Certificate Auth policy compatible with CFSSL

to_api()[source]

It returns an object compatible with the API.

cfssl.models.policy_use module

class cfssl.models.policy_use.PolicyUse(name, code)[source]

Bases: object

It provides a Certificate Use policy compatible with CFSSL

to_api()[source]

It returns an object compatible with the API.

cfssl.models.subject_info module

class cfssl.models.subject_info.SubjectInfo(org_name, org_unit, city, state, country)[source]

Bases: object

It provides a SubjectInfo (Name) compatible with CFSSL.

to_api()[source]

It returns an object compatible with the API.

Module contents