import SyncCryptoAdapter from '@pageproof/sdk/src/adapters/SyncCryptoAdapter.js'
SyncCryptoAdapter
Extends:
Method Summary
Public Methods | ||
public |
|
|
public |
decryptImage(data$: string, privateKeyPEM: string): Promise<string> |
|
public |
decryptPrivateKey(privateKey$: string, password: string): Promise<string> |
|
public |
|
|
public |
encryptPrivateKey(privateKeyPEM: string, password: string): Promise<string> |
|
public |
|
|
public |
envelopeUnseal(envelope: string, privateKeyPEM: string): Promise<string> |
|
public |
generateAuthorizationHeaders(method: string, path: string, session: Session): Promise<Object<string, string>> |
|
public |
|
|
public |
|
|
public |
generatePasswordHash(password: string): Promise<string> |
Inherited Summary
From class ICryptoAdapter | ||
public abstract |
|
|
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 |
|
|
public abstract |
encryptPrivateKey(privateKeyPEM: string, password: string): Promise<string> |
|
public abstract |
|
|
public abstract |
envelopeUnseal(envelope: string, privateKeyPEM: string): Promise<string> |
|
public abstract |
generateAuthorizationHeaders(method: string, path: string, session: Session): Promise<Object<string, string>> |
|
public abstract |
|
|
public abstract |
|
|
public abstract |
generatePasswordHash(password: string): Promise<string> |