Constructors

  • Parameters

    Returns types.Principal

Properties

_arr: any
_isPrincipal: true = true

Methods

  • Returns types.Principal

  • Utility method, returning the principal representing the management canister, decoded from the hex string 'aaaaa-aa'

    Returns types.Principal

    principal of the management canister

  • Parameters

    Returns types.Principal

  • Parameters

    • other: unknown

    Returns types.Principal

  • Parameters

    • hex: string

    Returns types.Principal

  • Parameters

    • text: string

    Returns types.Principal

  • Parameters

    Returns types.Principal

  • Returns boolean

  • Returns Uint8Array

  • Returns string

  • Returns string

  • Returns string

  • Utility method taking a Principal to compare against. Used for determining canister ranges in certificate verification

    Parameters

    Returns "lt" | "eq" | "gt"

    'lt' | 'eq' | 'gt' a string, representing less than, equal to, or greater than

  • Utility method checking whether a provided Principal is less than or equal to the current one using the Principal.compareTo method

    Parameters

    Returns boolean

    boolean

  • Utility method checking whether a provided Principal is greater than or equal to the current one using the Principal.compareTo method

    Parameters

    Returns boolean

    boolean