Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RpcKeyPair

Implements

Index

Constructors

constructor

Methods

checkSig

  • checkSig(data: string, sig: string): Promise<boolean>

createKeyPair

  • createKeyPair(passPhrase: string): Promise<KeyPair>

decryptFields

  • decryptFields(fields: Map<string, string>, passwords?: Map<string, string>): Promise<Map<string, string>>

decryptFile

  • decryptFile(file: string, fieldName: string, password?: string): Promise<string>

decryptMessage

  • decryptMessage(senderPk: string, encrypted: string): Promise<string>

encryptFields

  • encryptFields(fields: Map<string, string>): Promise<Map<string, string>>

encryptFieldsWithPermissions

  • encryptFieldsWithPermissions(recipient: string, data: Map<string, AccessRight>): Promise<Map<string, string>>

encryptFile

  • encryptFile(file: string, fieldName: string): Promise<string>

encryptMessage

  • encryptMessage(recipientPk: string, message: string): Promise<string>

encryptPermissionsFields

  • encryptPermissionsFields(recipient: string, data: Map<string, AccessRight>): Promise<string>

generateMnemonicPhrase

  • generateMnemonicPhrase(): Promise<string>

getPublicKey

  • getPublicKey(): string

setAccessData

  • setAccessData(accessToken: string, tokenType: TokenType): void

signMessage

  • signMessage(data: string): Promise<string>

Generated using TypeDoc