![]() - Add `PrivateKey` and `PublicKey` classes. A `PrivateKey` can always be passed where a `PublicKey` key is expected, but not vice versa. - Unexport `Key`, and export `PrivateKey` and `PublicKey`. - Rename `Key.packetlist2structure` to `Key.packetListToStructure`. - Change `Key.update` to return a new updated key, rather than modifying the destination one in place. - Add `openpgp.readPrivateKey` and `openpgp.readPrivateKeys` to avoid having to downcast the result of `readKey(s)` in TypeScript. |
||
---|---|---|
.. | ||
armor.js | ||
biginteger.js | ||
brainpool.js | ||
config.js | ||
decompression.js | ||
ecc_nist.js | ||
ecc_secp256k1.js | ||
index.js | ||
key.js | ||
oid.js | ||
openpgp.js | ||
packet.js | ||
signature.js | ||
streaming.js | ||
testInputs.js | ||
util.js | ||
x25519.js |