fork-openpgpjs/src/index.js
Daniel Huigens 4a8fffdfdf Remove KeyRing class
Keyring handling and storage should be handled in the application, as
localStorage may not meet the durability requirements of the
application, for example.
2021-03-01 11:58:10 +01:00

31 lines
775 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';