Skip to content

Add type-specific key creation convenience methods #17

@mtmk

Description

@mtmk

Summary

The Go implementation provides type-specific factory functions for convenience:

  • CreateUser(), CreateAccount(), CreateServer(), CreateCluster(), CreateOperator()
  • CreateCurveKeys() / CreateCurveKeysWithRand()

These are sugar over CreatePair(prefix) but improve readability and discoverability.

Approach

Add static methods to KeyPair. Purely additive — no existing API changes needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions