Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace keychain

Index

Variables

ISSUER_DEFAULT: Component = ...

Default issuerId.

ISSUER_SELF: Component = ...

Self-signed issuerId.

KEY: Component = ...

'KEY' component.

Functions

  • isCertName(name: Name): boolean
  • isKeyName(name: Name): boolean
  • makeCertName(name: Name, opts?: Partial<Pick<CertNameFields, "keyId" | "issuerId" | "version">>): Name
  • Create certificate name from subject name, key name, or certificate name.

    Parameters

    • name: Name

      subject name, key name, or certificate name.

    • opts: Partial<Pick<CertNameFields, "keyId" | "issuerId" | "version">> = {}

    Returns Name

  • makeKeyName(name: Name, opts?: Partial<Pick<KeyNameFields, "keyId">>): Name
  • Create key name from subject name, key name, or certificate name.

    Parameters

    • name: Name

      subject name, key name, or certificate name.

    • opts: Partial<Pick<KeyNameFields, "keyId">> = {}

    Returns Name

  • toKeyName(name: Name): Name
  • Get key name from key name or certificate name.

    throws

    input name is neither key name nor certificate name.

    Parameters

    • name: Name

    Returns Name

  • toSubjectName(name: Name): Name

Generated using TypeDoc