PkiEnvironment

open class PkiEnvironment : PkiEnvironmentProtocol, @unchecked Sendable

A PkiEnvironment

  • init(hooks:database:) Asynchronous, from WireCoreCrypto

    Create a new PKI environment.

    Declaration

    Swift

    public convenience init(hooks: PkiEnvironmentHooks, database: Database) async throws

    Parameters

    hooks

    implementation of the PKI environment hooks

    database

    the database to use for this environment