Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Group

Hierarchy

  • Group

Index

Constructors

constructor

  • new Group(options: { cardManager: CardManager; groupManager: GroupManager; initiator: string; privateKeyLoader: PrivateKeyLoader; tickets: Ticket[] }): Group

Properties

initiator

initiator: string

participants

participants: string[]

selfIdentity

selfIdentity: string

Methods

add

  • add(participantCard: ICard): Promise<void>
  • add(participantCards: FindUsersResult): Promise<void>

decrypt

  • decrypt(encryptedData: Data, senderCard: ICard, encryptedAt?: Date | number): Promise<NodeBuffer | string>

encrypt

  • encrypt(data: Data): Promise<string | Buffer>

isEditable

  • isEditable(): boolean

reAdd

  • reAdd(participantCard: ICard): Promise<void>

remove

  • remove(participantCard: ICard): Promise<void>
  • remove(participantCards: FindUsersResult): Promise<void>

update

  • update(): Promise<void>

Generated using TypeDoc