fork-openpgpjs/src/index.js
2021-02-28 22:59:16 +01:00

35 lines
865 B
JavaScript

/**
* Export high level API functions.
* Usage:
*
* import { encrypt } from 'openpgp';
* encrypt({ message, publicKeys });
*/
export {
encrypt, decrypt, sign, verify,
generateKey, reformatKey, revokeKey, decryptKey, encryptKey,
generateSessionKey, encryptSessionKey, decryptSessionKeys
} from './openpgp';
export { Key, readKey, readKeys } from './key';
export { Signature, readSignature } from './signature';
export { Message, readMessage } from './message';
export { CleartextMessage, readCleartextMessage } from './cleartext';
export * from './packet';
export { default as stream } from '@openpgp/web-stream-tools';
export * from './encoding/armor';
export { default as enums } from './enums';
export { default as config } from './config/config';
export { default as Keyring } from './keyring';
export { default as WKD } from './wkd';