Python Reference

Overview

Keychain Core has a Python interface which makes most of the C++ library available in native Python. There are some distinctions between the two libraries, but overall Python supports most of the same methods with just a few classes missing (e.g. Persona and Contact) and detailed method parameters set to defaults (e.g. no ability to set cipher or key id type for encrypt/decrypt).

Objects

CharEncoding

Character encoding enumeration

Exceptions

The various Exceptions that can be thrown from the wrapper

Facade

Class representing a self-sovereign identity

Gateway

The cryptographic management object

Monitor

Checks the blockchain and updates the Keychain DB used by the Gateway

Directory

Development/POC example of a bare-bones Trusted Directory interface

PersonaStatus

Facade blockchain state enumeration

SecurityLevel

Encryption strength enumeration

Settings

Abstraction of configuration file

Uri

Location of Facade certificate on blockchain

Verification

Information about a signature’s validity

Notes