fork-openpgpjs/test/general
larabr f028026217
Replace Key with PrivateKey and PublicKey classes (#1300)
- 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.
2021-05-25 19:18:47 +02:00
..
armor.js Replace Key with PrivateKey and PublicKey classes (#1300) 2021-05-25 19:18:47 +02:00
biginteger.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
brainpool.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
config.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
decompression.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +01:00
ecc_nist.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
ecc_secp256k1.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
index.js Remove KeyRing class 2021-03-01 11:58:10 +01:00
key.js Replace Key with PrivateKey and PublicKey classes (#1300) 2021-05-25 19:18:47 +02:00
oid.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
openpgp.js Replace Key with PrivateKey and PublicKey classes (#1300) 2021-05-25 19:18:47 +02:00
packet.js Unexport openpgp.stream (#1291) 2021-05-05 20:20:20 +02:00
signature.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
streaming.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
testInputs.js Store named key params in key objects (#1141) 2021-02-09 19:25:20 +01:00
util.js Use consistent name casing (#1268) 2021-03-25 19:56:59 +01:00
x25519.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00