Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Principal

Index

Constructors

Properties

_isPrincipal: true = true

Methods

  • compareTo(other: Principal): "lt" | "eq" | "gt"
  • 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

  • isAnonymous(): boolean
  • toHex(): string
  • toString(): string
  • toText(): string
  • toUint8Array(): Uint8Array
  • Utility method, returning the principal representing the management canister, decoded from the hex string 'aaaaa-aa'

    Returns Principal

    principal of the management canister

  • selfAuthenticating(publicKey: Uint8Array): Principal

Generated using TypeDoc