Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Implements

  • PublicKey

Index

Constructors

Private constructor

  • new default(key: BinaryBlob): default
  • Parameters

    • key: BinaryBlob

    Returns default

Properties

Private Readonly derKey

derKey: DerEncodedBlob

Private Readonly rawKey

rawKey: BinaryBlob

Static Private DER_PREFIX

DER_PREFIX: Uint8Array = ...

Static Private RAW_KEY_LENGTH

RAW_KEY_LENGTH: number = 65

Methods

toDer

  • toDer(): DerEncodedBlob
  • Returns DerEncodedBlob

toRaw

  • toRaw(): BinaryBlob
  • Returns BinaryBlob

Static Private derDecode

  • derDecode(key: BinaryBlob): BinaryBlob
  • Parameters

    • key: BinaryBlob

    Returns BinaryBlob

Static Private derEncode

  • derEncode(publicKey: BinaryBlob): DerEncodedBlob
  • Parameters

    • publicKey: BinaryBlob

    Returns DerEncodedBlob

Static from

  • Parameters

    • key: PublicKey

    Returns default

Static fromDer

  • fromDer(derKey: BinaryBlob | DerEncodedBlob): default
  • Parameters

    • derKey: BinaryBlob | DerEncodedBlob

    Returns default

Static fromRaw

  • fromRaw(rawKey: BinaryBlob): default
  • Parameters

    • rawKey: BinaryBlob

    Returns default

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Method
  • Interface
  • Interface with type parameter
  • Enumeration
  • Private property
  • Static method