Home Manual Reference Source
import ClusterCryptoAdapter from '@pageproof/sdk/src/adapters/ClusterCryptoAdapter.js'
public class | source

ClusterCryptoAdapter

Extends:

ICryptoAdapterSchedulerCryptoAdapter → ClusterCryptoAdapter

Constructor Summary

Public Constructor
public

constructor(options: *)

Member Summary

Public Members
public

options: *

Inherited Summary

From class ICryptoAdapter
public abstract

decryptComment(comment$: string, envelope: string, privateKeyPEM: string): Promise<string>

public abstract

decryptFileBlock(data$: string, privateKeyPEM: string): Promise<string>

public abstract

decryptImage(data$: string, privateKeyPEM: string): Promise<string>

public abstract

decryptPrivateKey(privateKey$: string, password: string): Promise<string>

public abstract

encryptFileBlock(keyIV: {key: string, iv: string}, fileBlockBase64: string): Promise<string>

public abstract

encryptPrivateKey(privateKeyPEM: string, password: string): Promise<string>

public abstract

envelopeSeal(secret: string, publicKeyPEMs: Array<string>): Promise<string>

public abstract

envelopeUnseal(envelope: string, privateKeyPEM: string): Promise<string>

public abstract
public abstract
public abstract
public abstract
From class SchedulerCryptoAdapter
public
public

decryptComment(comment$: string, envelope: string, privateKeyPEM: string): Promise<string>

public

decryptFileBlock(data$: string, privateKeyPEM: string): Promise<string>

public

decryptImage(data$: string, privateKeyPEM: string): Promise<string>

public

decryptPrivateKey(privateKey$: string, password: string): Promise<string>

public

encryptFileBlock(keyIV: {key: string, iv: string}, fileBlockBase64: string): Promise<string>

public

encryptPrivateKey(privateKeyPEM: string, password: string): Promise<string>

public

envelopeSeal(secret: string, publicKeyPEMs: Array<string>): Promise<string>

public

envelopeUnseal(envelope: string, privateKeyPEM: string): Promise<string>

public
public
public
public

Public Constructors

public constructor(options: *) source

Override:

SchedulerCryptoAdapter#constructor

Params:

NameTypeAttributeDescription
options *

Public Members

public options: * source