From d88b842e114fdc0739ae913ad5f2a2d419ff2bb2 Mon Sep 17 00:00:00 2001
From: larabr <7375870+larabr@users.noreply.github.com>
Date: Wed, 1 Oct 2025 19:13:35 +0200
Subject: [PATCH] JSDoc: update to v4.0.4
---
docs/AEADEncryptedDataPacket.html | 18 +-
docs/Argon2S2K.html | 986 ---
docs/CleartextMessage.html | 26 +-
docs/CompressedDataPacket.html | 20 +-
docs/Key.html | 80 +-
docs/LiteralDataPacket.html | 24 +-
docs/MarkerPacket.html | 8 +-
docs/Message.html | 1626 ++--
docs/OnePassSignaturePacket.html | 26 +-
docs/PacketList.html | 702 +-
docs/PaddingPacket.html | 12 +-
docs/PrivateKey.html | 26 +-
docs/PublicKey.html | 12 +-
docs/PublicKeyEncryptedSessionKeyPacket.html | 91 +-
docs/PublicKeyPacket.html | 384 +-
docs/PublicSubkeyPacket.html | 384 +-
docs/SecretKeyPacket.html | 88 +-
docs/SecretSubkeyPacket.html | 88 +-
docs/Signature.html | 16 +-
docs/SignaturePacket.html | 101 +-
...EncryptedIntegrityProtectedDataPacket.html | 14 +-
docs/SymEncryptedSessionKeyPacket.html | 20 +-
docs/SymmetricallyEncryptedDataPacket.html | 14 +-
docs/TrustPacket.html | 8 +-
docs/UserAttributePacket.html | 12 +-
docs/UserIDPacket.html | 326 +-
docs/global.html | 3702 +---------
docs/index.html | 4 +-
docs/module-config.html | 76 +-
docs/module-crypto.html | 184 -
docs/module-crypto_aes_kw.html | 604 --
docs/module-crypto_cipherMode.html | 400 -
docs/module-crypto_cmac.html | 413 --
docs/module-crypto_crypto.html | 2655 -------
docs/module-crypto_hash.html | 525 --
docs/module-crypto_hkdf.html | 167 -
docs/module-crypto_mode_cfb.html | 710 --
docs/module-crypto_mode_eax.html | 748 --
docs/module-crypto_mode_gcm.html | 334 -
docs/module-crypto_mode_ocb.html | 747 --
docs/module-crypto_pkcs1.html | 882 ---
docs/module-crypto_public_key.html | 167 -
docs/module-crypto_public_key_dsa.html | 1084 ---
docs/module-crypto_public_key_elgamal.html | 981 ---
docs/module-crypto_public_key_elliptic.html | 180 -
...dule-crypto_public_key_elliptic_curve.html | 1240 ----
...odule-crypto_public_key_elliptic_ecdh.html | 6517 -----------------
...dule-crypto_public_key_elliptic_ecdsa.html | 1017 ---
...dule-crypto_public_key_elliptic_eddsa.html | 1106 ---
...ypto_public_key_elliptic_eddsa_legacy.html | 927 ---
docs/module-crypto_public_key_rsa.html | 2369 ------
docs/module-crypto_random.html | 516 --
docs/module-crypto_signature.html | 917 ---
docs/module-encoding_base64.html | 769 --
docs/module-enums.html | 40 +-
docs/module-key_Subkey-Subkey.html | 55 +-
docs/module-key_Subkey.html | 92 -
docs/module-key_User-User.html | 31 +-
docs/module-key_User.html | 92 -
docs/module-key_helper.html | 2891 --------
docs/module-packet_packet.html | 866 ---
docs/module-type_ecdh_symkey.html | 167 -
docs/module-type_kdf_params-KDFParams.html | 517 --
docs/module-type_keyid-KeyID.html | 943 ---
docs/module-type_keyid.html | 92 -
docs/module-type_oid.html | 178 -
docs/module-type_s2k-GenericS2K.html | 969 ---
docs/module-type_s2k.html | 180 -
docs/module-type_x25519x448_symkey.html | 169 -
docs/module-util.html | 167 -
package-lock.json | 135 +-
package.json | 2 +-
72 files changed, 2332 insertions(+), 40307 deletions(-)
delete mode 100644 docs/Argon2S2K.html
delete mode 100644 docs/module-crypto.html
delete mode 100644 docs/module-crypto_aes_kw.html
delete mode 100644 docs/module-crypto_cipherMode.html
delete mode 100644 docs/module-crypto_cmac.html
delete mode 100644 docs/module-crypto_crypto.html
delete mode 100644 docs/module-crypto_hash.html
delete mode 100644 docs/module-crypto_hkdf.html
delete mode 100644 docs/module-crypto_mode_cfb.html
delete mode 100644 docs/module-crypto_mode_eax.html
delete mode 100644 docs/module-crypto_mode_gcm.html
delete mode 100644 docs/module-crypto_mode_ocb.html
delete mode 100644 docs/module-crypto_pkcs1.html
delete mode 100644 docs/module-crypto_public_key.html
delete mode 100644 docs/module-crypto_public_key_dsa.html
delete mode 100644 docs/module-crypto_public_key_elgamal.html
delete mode 100644 docs/module-crypto_public_key_elliptic.html
delete mode 100644 docs/module-crypto_public_key_elliptic_curve.html
delete mode 100644 docs/module-crypto_public_key_elliptic_ecdh.html
delete mode 100644 docs/module-crypto_public_key_elliptic_ecdsa.html
delete mode 100644 docs/module-crypto_public_key_elliptic_eddsa.html
delete mode 100644 docs/module-crypto_public_key_elliptic_eddsa_legacy.html
delete mode 100644 docs/module-crypto_public_key_rsa.html
delete mode 100644 docs/module-crypto_random.html
delete mode 100644 docs/module-crypto_signature.html
delete mode 100644 docs/module-encoding_base64.html
delete mode 100644 docs/module-key_Subkey.html
delete mode 100644 docs/module-key_User.html
delete mode 100644 docs/module-key_helper.html
delete mode 100644 docs/module-packet_packet.html
delete mode 100644 docs/module-type_ecdh_symkey.html
delete mode 100644 docs/module-type_kdf_params-KDFParams.html
delete mode 100644 docs/module-type_keyid-KeyID.html
delete mode 100644 docs/module-type_keyid.html
delete mode 100644 docs/module-type_oid.html
delete mode 100644 docs/module-type_s2k-GenericS2K.html
delete mode 100644 docs/module-type_s2k.html
delete mode 100644 docs/module-type_x25519x448_symkey.html
delete mode 100644 docs/module-util.html
diff --git a/docs/AEADEncryptedDataPacket.html b/docs/AEADEncryptedDataPacket.html
index 4eb62b15..088bb2aa 100644
--- a/docs/AEADEncryptedDataPacket.html
+++ b/docs/AEADEncryptedDataPacket.html
@@ -98,7 +98,7 @@ AEAD Protected Data Packet
Source:
@@ -200,7 +200,7 @@ AEAD Protected Data Packet
Source:
@@ -270,7 +270,7 @@ AEAD Protected Data Packet
Source:
@@ -475,7 +475,7 @@ AEAD Protected Data Packet
Source:
@@ -717,7 +717,7 @@ AEAD Protected Data Packet
Source:
@@ -888,7 +888,7 @@ AEAD Protected Data Packet
Source:
@@ -1007,7 +1007,7 @@ AEAD Protected Data Packet
Source:
@@ -1078,13 +1078,13 @@ AEAD Protected Data Packet
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/Argon2S2K.html b/docs/Argon2S2K.html
deleted file mode 100644
index d966a333..00000000
--- a/docs/Argon2S2K.html
+++ /dev/null
@@ -1,986 +0,0 @@
-
-
-
-
- JSDoc: Class: Argon2S2K
-
-
-
-
-
-
-
-
-
-
-
-
-
Class: Argon2S2K
-
-
-
-
-
-
-
-
-
-
- Argon2S2K(configopt )
-
-
-
-
-
-
-
-
-
-
-
-
-
new Argon2S2K(configopt )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Full configuration, defaults to openpgp.config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Members
-
-
-
- encodedM :Integer
-
-
-
-
-
-
exponent indicating memory size
-
-
-
-
- Type:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- p :Integer
-
-
-
-
-
-
degree of parallelism (lanes)
-
-
-
-
- Type:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- salt :Uint8Array
-
-
-
-
-
-
-
-
- Type:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- t :Integer
-
-
-
-
-
-
-
-
- Type:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async) produceKey(passphrase) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Produces a key using the specified passphrase and the defined
-hashAlgorithm
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- passphrase
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
- Passphrase containing user input
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-Argon2OutOfMemoryError
-|
-
-Errors
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Produced key with a length corresponding to keySize
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- read(bytes) → {Integer}
-
-
-
-
-
-
-
-
Parsing function for argon2 string-to-key specifier.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- bytes
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Payload of argon2 string-to-key specifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Actual length of the object.
-
-
-
-
-
-
- Type
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- write() → {Uint8Array}
-
-
-
-
-
-
-
-
Serializes s2k information
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Binary representation of s2k.
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/CleartextMessage.html b/docs/CleartextMessage.html
index 179a88db..cb174726 100644
--- a/docs/CleartextMessage.html
+++ b/docs/CleartextMessage.html
@@ -168,7 +168,7 @@ See https://tools.ietf.o
Source:
@@ -346,7 +346,7 @@ See https://tools.ietf.o
Source:
@@ -407,7 +407,7 @@ See https://tools.ietf.o
-
+ getSigningKeyIDs() → {Array.<module:type/keyid~KeyID>}
@@ -461,7 +461,7 @@ See https://tools.ietf.o
Source:
@@ -501,7 +501,7 @@ See https://tools.ietf.o
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -573,7 +573,7 @@ See https://tools.ietf.o
Source:
@@ -794,7 +794,7 @@ See https://tools.ietf.o
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -1046,7 +1046,7 @@ See https://tools.ietf.o
Source:
@@ -1104,7 +1104,7 @@ See https://tools.ietf.o
- (async) verify(keys, dateopt , configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID , signature: Promise.<Signature >, verified: Promise.<true>}>>}
+ (async) verify(keys, dateopt , configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID, signature: Promise.<Signature >, verified: Promise.<true>}>>}
@@ -1283,7 +1283,7 @@ See https://tools.ietf.o
Source:
@@ -1323,7 +1323,7 @@ See https://tools.ietf.o
-Promise.<Array.<{keyID: module:type/keyid~KeyID , signature: Promise.<Signature >, verified: Promise.<true>}>>
+Promise.<Array.<{keyID: module:type/keyid~KeyID, signature: Promise.<Signature >, verified: Promise.<true>}>>
@@ -1351,13 +1351,13 @@ See https://tools.ietf.o
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/CompressedDataPacket.html b/docs/CompressedDataPacket.html
index 35baed3d..5c89e44e 100644
--- a/docs/CompressedDataPacket.html
+++ b/docs/CompressedDataPacket.html
@@ -160,7 +160,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.Source:
@@ -266,7 +266,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.Source:
@@ -343,7 +343,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.Source:
@@ -417,7 +417,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.Source:
@@ -499,7 +499,7 @@ a Signature or One-Pass Signature packet, and contains a literal data packet.Source:
@@ -651,7 +651,7 @@ read by read_packet
Source:
@@ -836,7 +836,7 @@ read by read_packet
Source:
@@ -926,7 +926,7 @@ read by read_packet
Source:
@@ -997,13 +997,13 @@ read by read_packet
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/Key.html b/docs/Key.html
index 6548b40a..dd1e80a5 100644
--- a/docs/Key.html
+++ b/docs/Key.html
@@ -96,7 +96,7 @@ Can contain additional subkeys, signatures, user ids, user attributes.
Source:
@@ -333,7 +333,7 @@ if it is a valid revocation signature.
Source:
@@ -514,7 +514,7 @@ if it is a valid revocation signature.
Source:
@@ -626,7 +626,7 @@ if it is a valid revocation signature.
Source:
@@ -738,7 +738,7 @@ if it is a valid revocation signature.
Source:
@@ -844,7 +844,7 @@ if it is a valid revocation signature.
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -1006,7 +1006,7 @@ if it is a valid revocation signature.
Source:
@@ -1225,7 +1225,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1333,7 +1333,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1391,7 +1391,7 @@ Returns Infinity if the key doesn't expire, or null if
-
+ getKeyID() → {module:type/keyid~KeyID}
@@ -1445,7 +1445,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1485,7 +1485,7 @@ Returns Infinity if the key doesn't expire, or null if
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -1503,7 +1503,7 @@ Returns Infinity if the key doesn't expire, or null if
-
+ getKeyIDs() → {Array.<module:type/keyid~KeyID>}
@@ -1557,7 +1557,7 @@ Returns Infinity if the key doesn't expire, or null if
Source:
@@ -1593,7 +1593,7 @@ Returns Infinity if the key doesn't expire, or null if
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -1735,7 +1735,7 @@ If no keyID is given, returns all keys, starting with the primary key.
Source:
@@ -1977,7 +1977,7 @@ algorithm preferences, and so on.
Source:
@@ -2220,7 +2220,7 @@ algorithm preferences, and so on.
Source:
@@ -2425,7 +2425,7 @@ algorithm preferences, and so on.
Source:
@@ -2537,7 +2537,7 @@ algorithm preferences, and so on.
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -2717,7 +2717,7 @@ algorithm preferences, and so on.
Source:
@@ -2911,7 +2911,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -3023,7 +3023,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -3135,7 +3135,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -3412,7 +3412,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -3596,7 +3596,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -3811,7 +3811,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -4081,7 +4081,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -4193,7 +4193,7 @@ If no keyID is given, returns all subkeys.
Source:
@@ -4434,7 +4434,7 @@ a private key is returned.
Source:
@@ -4492,7 +4492,7 @@ a private key is returned.
- (async) verifyAllUsers(verificationKeysopt , dateopt , configopt ) → {Promise.<Array.<{userID: String, keyID: module:type/keyid~KeyID , valid: (Boolean|null)}>>}
+ (async) verifyAllUsers(verificationKeysopt , dateopt , configopt ) → {Promise.<Array.<{userID: String, keyID: module:type/keyid~KeyID, valid: (Boolean|null)}>>}
@@ -4677,7 +4677,7 @@ a private key is returned.
Source:
@@ -4718,7 +4718,7 @@ Signature validity is null if the verification keys do not correspond to the cer
-Promise.<Array.<{userID: String, keyID: module:type/keyid~KeyID , valid: (Boolean|null)}>>
+Promise.<Array.<{userID: String, keyID: module:type/keyid~KeyID, valid: (Boolean|null)}>>
@@ -4918,7 +4918,7 @@ and valid self signature. Throws if the primary key is invalid.
Source:
@@ -4983,7 +4983,7 @@ and valid self signature. Throws if the primary key is invalid.
- (async) verifyPrimaryUser(verificationKeysopt , dateopt , userIDopt , configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID , valid: (Boolean|null)}>>}
+ (async) verifyPrimaryUser(verificationKeysopt , dateopt , userIDopt , configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID, valid: (Boolean|null)}>>}
@@ -5201,7 +5201,7 @@ and valid self signature. Throws if the primary key is invalid.
Source:
@@ -5242,7 +5242,7 @@ Signature validity is null if the verification keys do not correspond to the cer
-Promise.<Array.<{keyID: module:type/keyid~KeyID , valid: (Boolean|null)}>>
+Promise.<Array.<{keyID: module:type/keyid~KeyID, valid: (Boolean|null)}>>
@@ -5314,7 +5314,7 @@ Signature validity is null if the verification keys do not correspond to the cer
Source:
@@ -5382,13 +5382,13 @@ Signature validity is null if the verification keys do not correspond to the cer
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/LiteralDataPacket.html b/docs/LiteralDataPacket.html
index 8af9131a..9c98088a 100644
--- a/docs/LiteralDataPacket.html
+++ b/docs/LiteralDataPacket.html
@@ -147,7 +147,7 @@ further interpreted.
Source:
@@ -326,7 +326,7 @@ further interpreted.
Source:
@@ -441,7 +441,7 @@ further interpreted.
Source:
@@ -623,7 +623,7 @@ with normalized end of line to \n
Source:
@@ -790,7 +790,7 @@ with normalized end of line to \n
Source:
@@ -977,7 +977,7 @@ with normalized end of line to \n
Source:
@@ -1116,7 +1116,7 @@ with normalized end of line to \n
Source:
@@ -1302,7 +1302,7 @@ will be normalized to \r\n and by default text is converted to UTF8
Source:
@@ -1392,7 +1392,7 @@ will be normalized to \r\n and by default text is converted to UTF8
Source:
@@ -1507,7 +1507,7 @@ will be normalized to \r\n and by default text is converted to UTF8
Source:
@@ -1575,13 +1575,13 @@ will be normalized to \r\n and by default text is converted to UTF8
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/MarkerPacket.html b/docs/MarkerPacket.html
index 30e82bae..ceb3d3db 100644
--- a/docs/MarkerPacket.html
+++ b/docs/MarkerPacket.html
@@ -106,7 +106,7 @@ software is necessary to process the message.
Source:
@@ -265,7 +265,7 @@ software is necessary to process the message.
Source:
@@ -333,13 +333,13 @@ software is necessary to process the message.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/Message.html b/docs/Message.html
index 91a75dd5..a05cb8e8 100644
--- a/docs/Message.html
+++ b/docs/Message.html
@@ -146,7 +146,7 @@ See https://tools.iet
Source:
@@ -209,788 +209,6 @@ See https://tools.iet
- (async, static) encryptSessionKey(sessionKey, algorithmName, aeadAlgorithmNameopt , encryptionKeysopt , passwordsopt , wildcardopt , encryptionKeyIDsopt , dateopt , userIDsopt , configopt ) → {Promise.<Message >}
-
-
-
-
-
-
-
-
Encrypt a session key either with public keys, passwords, or both at once.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
- Default
-
-
- Description
-
-
-
-
-
-
-
-
- sessionKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- session key for encryption
-
-
-
-
-
-
- algorithmName
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- session key algorithm
-
-
-
-
-
-
- aeadAlgorithmName
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AEAD algorithm, e.g. 'eax' or 'ocb'
-
-
-
-
-
-
- encryptionKeys
-
-
-
-
-
-Array.<PublicKey >
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Public key(s) for message encryption
-
-
-
-
-
-
- passwords
-
-
-
-
-
-Array.<String>
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- For message encryption
-
-
-
-
-
-
- wildcard
-
-
-
-
-
-Boolean
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- false
-
-
-
-
- Use a key ID of 0 instead of the public key IDs
-
-
-
-
-
-
- encryptionKeyIDs
-
-
-
-
-
-Array.<module:type/keyid~KeyID >
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Array of key IDs to use for encryption. Each encryptionKeyIDs[i] corresponds to encryptionKeys[i]
-
-
-
-
-
-
- date
-
-
-
-
-
-Date
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Override the date
-
-
-
-
-
-
- userIDs
-
-
-
-
-
-Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- User IDs to encrypt for, e.g. [{ name:'Robert Receiver', email:'robert@openpgp.org' }]
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Full configuration, defaults to openpgp.config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
New message with encrypted content.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Message >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) generateSessionKey(encryptionKeysopt , dateopt , userIDsopt , configopt ) → {Promise.<{data: Uint8Array, algorithm: String, aeadAlgorithm: (undefined|String)}>}
-
-
-
-
-
-
-
-
Generate a new session key object, taking the algorithm preferences of the passed encryption keys into account, if any.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- encryptionKeys
-
-
-
-
-
-Array.<PublicKey >
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Public key(s) to select algorithm preferences for
-
-
-
-
-
-
- date
-
-
-
-
-
-Date
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Date to select algorithm preferences at
-
-
-
-
-
-
- userIDs
-
-
-
-
-
-Array.<Object>
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- User IDs to select algorithm preferences for
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Full configuration, defaults to openpgp.config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Object with session key data and algorithms.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{data: Uint8Array, algorithm: String, aeadAlgorithm: (undefined|String)}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) appendSignature(detachedSignature, configopt )
@@ -1140,7 +358,7 @@ See https://tools.iet
Source:
@@ -1291,7 +509,7 @@ See https://tools.iet
Source:
@@ -1495,7 +713,7 @@ See https://tools.iet
Source:
@@ -1800,7 +1018,7 @@ See https://tools.iet
Source:
@@ -2105,7 +1323,7 @@ See https://tools.iet
Source:
@@ -2367,7 +1585,7 @@ See https://tools.iet
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -2545,7 +1763,7 @@ See https://tools.iet
Source:
@@ -2603,7 +1821,7 @@ See https://tools.iet
-
+ getEncryptionKeyIDs() → {Array.<module:type/keyid~KeyID>}
@@ -2657,7 +1875,7 @@ See https://tools.iet
Source:
@@ -2697,7 +1915,7 @@ See https://tools.iet
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -2769,7 +1987,7 @@ See https://tools.iet
Source:
@@ -2884,7 +2102,7 @@ See https://tools.iet
Source:
@@ -2945,7 +2163,7 @@ See https://tools.iet
-
+ getSigningKeyIDs() → {Array.<module:type/keyid~KeyID>}
@@ -2999,7 +2217,7 @@ See https://tools.iet
Source:
@@ -3039,7 +2257,7 @@ See https://tools.iet
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -3111,7 +2329,7 @@ See https://tools.iet
Source:
@@ -3335,7 +2553,7 @@ See https://tools.iet
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -3587,7 +2805,7 @@ See https://tools.iet
Source:
@@ -3808,7 +3026,7 @@ See https://tools.iet
-Array.<module:type/keyid~KeyID >
+Array.<module:type/keyid~KeyID>
@@ -4060,7 +3278,7 @@ See https://tools.iet
Source:
@@ -4172,7 +3390,7 @@ See https://tools.iet
Source:
@@ -4230,7 +3448,7 @@ See https://tools.iet
- (async) verify(verificationKeys, dateopt , configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID , signature: Promise.<Signature >, verified: Promise.<true>}>>}
+ (async) verify(verificationKeys, dateopt , configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID, signature: Promise.<Signature >, verified: Promise.<true>}>>}
@@ -4409,7 +3627,7 @@ See https://tools.iet
Source:
@@ -4449,7 +3667,7 @@ See https://tools.iet
-Promise.<Array.<{keyID: module:type/keyid~KeyID , signature: Promise.<Signature >, verified: Promise.<true>}>>
+Promise.<Array.<{keyID: module:type/keyid~KeyID, signature: Promise.<Signature >, verified: Promise.<true>}>>
@@ -4467,7 +3685,7 @@ See https://tools.iet
- (async) verifyDetached(verificationKeys, signature, date, configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID , signature: Promise.<Signature >, verified: Promise.<true>}>>}
+ (async) verifyDetached(verificationKeys, signature, date, configopt ) → {Promise.<Array.<{keyID: module:type/keyid~KeyID, signature: Promise.<Signature >, verified: Promise.<true>}>>}
@@ -4675,7 +3893,7 @@ See https://tools.iet
Source:
@@ -4715,7 +3933,7 @@ See https://tools.iet
-Promise.<Array.<{keyID: module:type/keyid~KeyID , signature: Promise.<Signature >, verified: Promise.<true>}>>
+Promise.<Array.<{keyID: module:type/keyid~KeyID, signature: Promise.<Signature >, verified: Promise.<true>}>>
@@ -4787,7 +4005,7 @@ See https://tools.iet
Source:
@@ -4840,6 +4058,788 @@ See https://tools.iet
+
+
+
+
+
+ (async, static) encryptSessionKey(sessionKey, algorithmName, aeadAlgorithmNameopt , encryptionKeysopt , passwordsopt , wildcardopt , encryptionKeyIDsopt , dateopt , userIDsopt , configopt ) → {Promise.<Message >}
+
+
+
+
+
+
+
+
Encrypt a session key either with public keys, passwords, or both at once.
+
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
+ Default
+
+
+ Description
+
+
+
+
+
+
+
+
+ sessionKey
+
+
+
+
+
+Uint8Array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ session key for encryption
+
+
+
+
+
+
+ algorithmName
+
+
+
+
+
+String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ session key algorithm
+
+
+
+
+
+
+ aeadAlgorithmName
+
+
+
+
+
+String
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AEAD algorithm, e.g. 'eax' or 'ocb'
+
+
+
+
+
+
+ encryptionKeys
+
+
+
+
+
+Array.<PublicKey >
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Public key(s) for message encryption
+
+
+
+
+
+
+ passwords
+
+
+
+
+
+Array.<String>
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ For message encryption
+
+
+
+
+
+
+ wildcard
+
+
+
+
+
+Boolean
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+ Use a key ID of 0 instead of the public key IDs
+
+
+
+
+
+
+ encryptionKeyIDs
+
+
+
+
+
+Array.<module:type/keyid~KeyID>
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Array of key IDs to use for encryption. Each encryptionKeyIDs[i] corresponds to encryptionKeys[i]
+
+
+
+
+
+
+ date
+
+
+
+
+
+Date
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Override the date
+
+
+
+
+
+
+ userIDs
+
+
+
+
+
+Array
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ User IDs to encrypt for, e.g. [{ name:'Robert Receiver', email:'robert@openpgp.org' }]
+
+
+
+
+
+
+ config
+
+
+
+
+
+Object
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Full configuration, defaults to openpgp.config
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Returns:
+
+
+
+
New message with encrypted content.
+
+
+
+
+
+
+ Type
+
+
+
+Promise.<Message >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (async, static) generateSessionKey(encryptionKeysopt , dateopt , userIDsopt , configopt ) → {Promise.<{data: Uint8Array, algorithm: String, aeadAlgorithm: (undefined|String)}>}
+
+
+
+
+
+
+
+
Generate a new session key object, taking the algorithm preferences of the passed encryption keys into account, if any.
+
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ encryptionKeys
+
+
+
+
+
+Array.<PublicKey >
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ Public key(s) to select algorithm preferences for
+
+
+
+
+
+
+ date
+
+
+
+
+
+Date
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ Date to select algorithm preferences at
+
+
+
+
+
+
+ userIDs
+
+
+
+
+
+Array.<Object>
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ User IDs to select algorithm preferences for
+
+
+
+
+
+
+ config
+
+
+
+
+
+Object
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+ Full configuration, defaults to openpgp.config
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Returns:
+
+
+
+
Object with session key data and algorithms.
+
+
+
+
+
+
+ Type
+
+
+
+Promise.<{data: Uint8Array, algorithm: String, aeadAlgorithm: (undefined|String)}>
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4855,13 +4855,13 @@ See https://tools.iet
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/OnePassSignaturePacket.html b/docs/OnePassSignaturePacket.html
index b302077d..d403a21e 100644
--- a/docs/OnePassSignaturePacket.html
+++ b/docs/OnePassSignaturePacket.html
@@ -101,7 +101,7 @@ can compute the entire signed message in one pass.
Source:
@@ -199,7 +199,7 @@ that describes another signature to be applied to the same message data.
Source:
@@ -273,7 +273,7 @@ that describes another signature to be applied to the same message data.
Source:
@@ -344,7 +344,7 @@ that describes another signature to be applied to the same message data.
Source:
@@ -408,7 +408,7 @@ that describes another signature to be applied to the same message data.
Source:
@@ -482,7 +482,7 @@ that describes another signature to be applied to the same message data.
Source:
@@ -553,7 +553,7 @@ that describes another signature to be applied to the same message data.
Source:
@@ -629,7 +629,7 @@ Signature types are described in
Source:
@@ -693,7 +693,7 @@ Signature types are described in
Source:
@@ -824,7 +824,7 @@ Signature types are described in
Source:
@@ -936,7 +936,7 @@ Signature types are described in
Source:
@@ -1004,13 +1004,13 @@ Signature types are described in
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PacketList.html b/docs/PacketList.html
index 32a0ee3e..85966f43 100644
--- a/docs/PacketList.html
+++ b/docs/PacketList.html
@@ -97,7 +97,7 @@ are stored as numerical indices.
Source:
@@ -164,349 +164,6 @@ are stored as numerical indices.
- (async, static) fromBinary(bytes, allowedPackets, configopt , grammarValidatoropt , delayErrorsopt ) → {PacketList }
-
-
-
-
-
-
-
-
Parses the given binary data and returns a list of packets.
-Equivalent to calling read on an empty PacketList instance.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
- Default
-
-
- Description
-
-
-
-
-
-
-
-
- bytes
-
-
-
-
-
-Uint8Array
-|
-
-ReadableStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- binary data to parse
-
-
-
-
-
-
- allowedPackets
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mapping where keys are allowed packet tags, pointing to their Packet class
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- full configuration, defaults to openpgp.config
-
-
-
-
-
-
- grammarValidator
-
-
-
-
-
-function
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- null
-
-
-
-
-
-
-
-
-
-
-
- delayErrors
-
-
-
-
-
-Boolean
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
-
- false
-
-
-
-
- delay errors until the input stream has been read completely
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
on parsing errors
-
-
-
-
-
-
-
-Returns:
-
-
-
-
parsed list of packets
-
-
-
-
-
-
- Type
-
-
-
-PacketList
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
filterByTag(…tags) → {PacketList }
@@ -622,7 +279,7 @@ Equivalent to calling read on an empty PacketList instance.
Source:
@@ -779,7 +436,7 @@ Equivalent to calling read on an empty PacketList instance.
Source:
@@ -951,7 +608,7 @@ Equivalent to calling read on an empty PacketList instance.
Source:
@@ -1281,7 +938,7 @@ Equivalent to calling read on an empty PacketList instance.
Source:
@@ -1384,7 +1041,7 @@ class instance.
Source:
@@ -1437,6 +1094,349 @@ class instance.
+
+
+
+
+
+ (async, static) fromBinary(bytes, allowedPackets, configopt , grammarValidatoropt , delayErrorsopt ) → {Promise.<PacketList >}
+
+
+
+
+
+
+
+
Parses the given binary data and returns a list of packets.
+Equivalent to calling read on an empty PacketList instance.
+
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+ Attributes
+
+
+
+ Default
+
+
+ Description
+
+
+
+
+
+
+
+
+ bytes
+
+
+
+
+
+Uint8Array
+|
+
+ReadableStream.<Uint8Array>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ binary data to parse
+
+
+
+
+
+
+ allowedPackets
+
+
+
+
+
+Object
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mapping where keys are allowed packet tags, pointing to their Packet class
+
+
+
+
+
+
+ config
+
+
+
+
+
+Object
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ full configuration, defaults to openpgp.config
+
+
+
+
+
+
+ grammarValidator
+
+
+
+
+
+function
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+ null
+
+
+
+
+
+
+
+
+
+
+
+ delayErrors
+
+
+
+
+
+Boolean
+
+
+
+
+
+
+
+
+ <optional>
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+ delay errors until the input stream has been read completely
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Throws:
+
+
+
+
+
+
on parsing errors
+
+
+
+
+
+
+
+Returns:
+
+
+
+
parsed list of packets
+
+
+
+
+
+
+ Type
+
+
+
+Promise.<PacketList >
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1452,13 +1452,13 @@ class instance.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PaddingPacket.html b/docs/PaddingPacket.html
index 5bd37d82..183cbf3f 100644
--- a/docs/PaddingPacket.html
+++ b/docs/PaddingPacket.html
@@ -97,7 +97,7 @@ Padding Packet
Source:
@@ -256,7 +256,7 @@ Padding Packet
Source:
@@ -427,7 +427,7 @@ Padding Packet
Source:
@@ -517,7 +517,7 @@ Padding Packet
Source:
@@ -585,13 +585,13 @@ Padding Packet
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PrivateKey.html b/docs/PrivateKey.html
index 087898e1..10d22614 100644
--- a/docs/PrivateKey.html
+++ b/docs/PrivateKey.html
@@ -144,7 +144,7 @@
Source:
@@ -453,7 +453,7 @@ Note: Curve448 and Curve25519 are not widely supported yet.
Source:
@@ -622,7 +622,7 @@ Note: Curve448 and Curve25519 are not widely supported yet.
Source:
@@ -734,7 +734,7 @@ Note: Curve448 and Curve25519 are not widely supported yet.
Source:
@@ -823,7 +823,7 @@ This is useful to retrieve keys for session key decryption
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -979,7 +979,7 @@ This is useful to retrieve keys for session key decryption
Source:
@@ -1121,7 +1121,7 @@ A dummy key is considered encrypted.
Source:
@@ -1211,7 +1211,7 @@ A dummy key is considered encrypted.
Source:
@@ -1514,7 +1514,7 @@ A dummy key is considered encrypted.
Source:
@@ -1626,7 +1626,7 @@ A dummy key is considered encrypted.
Source:
@@ -1803,7 +1803,7 @@ If only gnu-dummy keys are found, we cannot properly validate so we throw an err
Source:
@@ -1878,13 +1878,13 @@ If only gnu-dummy keys are found, we cannot properly validate so we throw an err
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PublicKey.html b/docs/PublicKey.html
index 9926ea0a..ead846aa 100644
--- a/docs/PublicKey.html
+++ b/docs/PublicKey.html
@@ -144,7 +144,7 @@
Source:
@@ -315,7 +315,7 @@
Source:
@@ -427,7 +427,7 @@
Source:
@@ -535,7 +535,7 @@
Source:
@@ -603,13 +603,13 @@
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PublicKeyEncryptedSessionKeyPacket.html b/docs/PublicKeyEncryptedSessionKeyPacket.html
index 4d1eb606..2e69962f 100644
--- a/docs/PublicKeyEncryptedSessionKeyPacket.html
+++ b/docs/PublicKeyEncryptedSessionKeyPacket.html
@@ -107,7 +107,7 @@ decrypt the message.
Source:
@@ -209,7 +209,80 @@ decrypt the message.
Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ publicKeyAlgorithm :enums.publicKey|null
+
+
+
+
+
+
+ Type:
+
+
+
+enums.publicKey
+|
+
+null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
@@ -283,7 +356,7 @@ decrypt the message.
Source:
@@ -458,7 +531,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -626,7 +699,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -794,7 +867,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -884,7 +957,7 @@ This is needed for constant-time processing. Expected object of the form: { sess
Source:
@@ -952,13 +1025,13 @@ This is needed for constant-time processing. Expected object of the form: { sess
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PublicKeyPacket.html b/docs/PublicKeyPacket.html
index b62f95f4..d4d8ca85 100644
--- a/docs/PublicKeyPacket.html
+++ b/docs/PublicKeyPacket.html
@@ -195,7 +195,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -301,7 +301,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -375,7 +375,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -449,7 +449,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -523,7 +523,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -541,7 +541,7 @@ key (sometimes called an OpenPGP certificate).
-
+ keyID :module:type/keyid~KeyID
@@ -556,7 +556,7 @@ key (sometimes called an OpenPGP certificate).
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -597,7 +597,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -671,7 +671,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -735,7 +735,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -816,7 +816,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -880,7 +880,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -915,167 +915,6 @@ key (sometimes called an OpenPGP certificate).
- (static) fromSecretKeyPacket(secretKeyPacket) → {PublicKeyPacket }
-
-
-
-
-
-
-
-
Create a PublicKeyPacket from a SecretKeyPacket
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- secretKeyPacket
-
-
-
-
-
-SecretKeyPacket
-
-
-
-
-
-
-
-
-
- key packet to convert
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-PublicKeyPacket
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) computeFingerprint()
@@ -1130,7 +969,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1220,7 +1059,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1310,7 +1149,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1422,7 +1261,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1530,7 +1369,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1642,7 +1481,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1700,7 +1539,7 @@ key (sometimes called an OpenPGP certificate).
-
+ getKeyID() → {module:type/keyid~KeyID}
@@ -1754,7 +1593,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1794,7 +1633,7 @@ key (sometimes called an OpenPGP certificate).
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -1866,7 +1705,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -1978,7 +1817,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -2035,7 +1874,7 @@ key (sometimes called an OpenPGP certificate).
- (async) read(bytes) → {Object}
+ (async) read(bytes) → {Promise.<number>}
@@ -2138,7 +1977,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -2167,7 +2006,7 @@ key (sometimes called an OpenPGP certificate).
-
This object with attributes set by the parser
+
The number of bytes read from bytes
@@ -2178,7 +2017,7 @@ key (sometimes called an OpenPGP certificate).
-Object
+Promise.<number>
@@ -2250,7 +2089,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -2411,7 +2250,7 @@ key (sometimes called an OpenPGP certificate).
Source:
@@ -2441,6 +2280,167 @@ key (sometimes called an OpenPGP certificate).
+
+
+
+
+
+
+ (static) fromSecretKeyPacket(secretKeyPacket) → {PublicKeyPacket }
+
+
+
+
+
+
+
+
Create a PublicKeyPacket from a SecretKeyPacket
+
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ secretKeyPacket
+
+
+
+
+
+SecretKeyPacket
+
+
+
+
+
+
+
+
+
+ key packet to convert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Returns:
+
+
+
+
+
+
+
+
+ Type
+
+
+
+PublicKeyPacket
+
+
+
+
+
+
+
+
+
+
+
@@ -2457,13 +2457,13 @@ key (sometimes called an OpenPGP certificate).
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/PublicSubkeyPacket.html b/docs/PublicSubkeyPacket.html
index 51046e2e..ee7b7e8e 100644
--- a/docs/PublicSubkeyPacket.html
+++ b/docs/PublicSubkeyPacket.html
@@ -193,7 +193,7 @@ services.
Source:
@@ -315,7 +315,7 @@ services.
Source:
@@ -394,7 +394,7 @@ services.
Source:
@@ -473,7 +473,7 @@ services.
Source:
@@ -552,7 +552,7 @@ services.
Source:
@@ -570,7 +570,7 @@ services.
-
+ keyID :module:type/keyid~KeyID
@@ -585,7 +585,7 @@ services.
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -631,7 +631,7 @@ services.
Source:
@@ -710,7 +710,7 @@ services.
Source:
@@ -779,7 +779,7 @@ services.
Source:
@@ -865,7 +865,7 @@ services.
Source:
@@ -934,7 +934,7 @@ services.
Source:
@@ -969,167 +969,6 @@ services.
- (static) fromSecretSubkeyPacket(secretSubkeyPacket) → {SecretSubkeyPacket }
-
-
-
-
-
-
-
-
Create a PublicSubkeyPacket from a SecretSubkeyPacket
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- secretSubkeyPacket
-
-
-
-
-
-SecretSubkeyPacket
-
-
-
-
-
-
-
-
-
- subkey packet to convert
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-SecretSubkeyPacket
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) computeFingerprint()
@@ -1189,7 +1028,7 @@ services.
Source:
@@ -1284,7 +1123,7 @@ services.
Source:
@@ -1379,7 +1218,7 @@ services.
Source:
@@ -1496,7 +1335,7 @@ services.
Source:
@@ -1609,7 +1448,7 @@ services.
Source:
@@ -1726,7 +1565,7 @@ services.
Source:
@@ -1784,7 +1623,7 @@ services.
-
+ getKeyID() → {module:type/keyid~KeyID}
@@ -1843,7 +1682,7 @@ services.
Source:
@@ -1883,7 +1722,7 @@ services.
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -1960,7 +1799,7 @@ services.
Source:
@@ -2077,7 +1916,7 @@ services.
Source:
@@ -2134,7 +1973,7 @@ services.
- (async) read(bytes) → {Object}
+ (async) read(bytes) → {Promise.<number>}
@@ -2242,7 +2081,7 @@ services.
Source:
@@ -2271,7 +2110,7 @@ services.
-
This object with attributes set by the parser
+
The number of bytes read from bytes
@@ -2282,7 +2121,7 @@ services.
-Object
+Promise.<number>
@@ -2359,7 +2198,7 @@ services.
Source:
@@ -2525,7 +2364,7 @@ services.
Source:
@@ -2555,6 +2394,167 @@ services.
+
+
+
+
+
+
+ (static) fromSecretSubkeyPacket(secretSubkeyPacket) → {SecretSubkeyPacket }
+
+
+
+
+
+
+
+
Create a PublicSubkeyPacket from a SecretSubkeyPacket
+
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ secretSubkeyPacket
+
+
+
+
+
+SecretSubkeyPacket
+
+
+
+
+
+
+
+
+
+ subkey packet to convert
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Returns:
+
+
+
+
+
+
+
+
+ Type
+
+
+
+SecretSubkeyPacket
+
+
+
+
+
+
+
+
+
+
+
@@ -2571,13 +2571,13 @@ services.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/SecretKeyPacket.html b/docs/SecretKeyPacket.html
index 101ebb42..db0364a9 100644
--- a/docs/SecretKeyPacket.html
+++ b/docs/SecretKeyPacket.html
@@ -191,7 +191,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -308,7 +308,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -387,7 +387,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -466,7 +466,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -545,7 +545,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -624,7 +624,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -688,7 +688,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -706,7 +706,7 @@ includes the secret-key material after all the public-key fields.
-
+ keyID :module:type/keyid~KeyID
@@ -721,7 +721,7 @@ includes the secret-key material after all the public-key fields.
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -767,7 +767,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -831,7 +831,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -905,7 +905,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -984,7 +984,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1053,7 +1053,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1134,7 +1134,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1152,7 +1152,7 @@ includes the secret-key material after all the public-key fields.
- s2kUsage :enums.symmetric
+ s2kUsage :number
@@ -1167,7 +1167,7 @@ includes the secret-key material after all the public-key fields.
-enums.symmetric
+number
@@ -1208,7 +1208,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1282,7 +1282,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1361,7 +1361,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1430,7 +1430,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1519,7 +1519,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1614,7 +1614,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1709,7 +1709,7 @@ includes the secret-key material after all the public-key fields.
Source:
@@ -1851,7 +1851,7 @@ otherwise calls to this function will throw an error.
Source:
@@ -2065,7 +2065,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2189,7 +2189,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2306,7 +2306,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2419,7 +2419,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2536,7 +2536,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2594,7 +2594,7 @@ This can be used to remove passphrase protection after calling decrypt().
-
+ getKeyID() → {module:type/keyid~KeyID}
@@ -2653,7 +2653,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2693,7 +2693,7 @@ This can be used to remove passphrase protection after calling decrypt().
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -2770,7 +2770,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2888,7 +2888,7 @@ Returns false for gnu-dummy keys and null for public keys.
Source:
@@ -2999,7 +2999,7 @@ Returns false for gnu-dummy keys and null for public keys.
Source:
@@ -3114,7 +3114,7 @@ Such keys are:
Source:
@@ -3266,7 +3266,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3411,7 +3411,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3501,7 +3501,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3625,7 +3625,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3791,7 +3791,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3837,13 +3837,13 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/SecretSubkeyPacket.html b/docs/SecretSubkeyPacket.html
index 6cc40c01..332f8a7c 100644
--- a/docs/SecretSubkeyPacket.html
+++ b/docs/SecretSubkeyPacket.html
@@ -190,7 +190,7 @@ Key packet and has exactly the same format.
Source:
@@ -312,7 +312,7 @@ Key packet and has exactly the same format.
Source:
@@ -391,7 +391,7 @@ Key packet and has exactly the same format.
Source:
@@ -470,7 +470,7 @@ Key packet and has exactly the same format.
Source:
@@ -549,7 +549,7 @@ Key packet and has exactly the same format.
Source:
@@ -628,7 +628,7 @@ Key packet and has exactly the same format.
Source:
@@ -697,7 +697,7 @@ Key packet and has exactly the same format.
Source:
@@ -715,7 +715,7 @@ Key packet and has exactly the same format.
-
+ keyID :module:type/keyid~KeyID
@@ -730,7 +730,7 @@ Key packet and has exactly the same format.
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -776,7 +776,7 @@ Key packet and has exactly the same format.
Source:
@@ -845,7 +845,7 @@ Key packet and has exactly the same format.
Source:
@@ -924,7 +924,7 @@ Key packet and has exactly the same format.
Source:
@@ -1003,7 +1003,7 @@ Key packet and has exactly the same format.
Source:
@@ -1072,7 +1072,7 @@ Key packet and has exactly the same format.
Source:
@@ -1158,7 +1158,7 @@ Key packet and has exactly the same format.
Source:
@@ -1176,7 +1176,7 @@ Key packet and has exactly the same format.
- s2kUsage :enums.symmetric
+ s2kUsage :number
@@ -1191,7 +1191,7 @@ Key packet and has exactly the same format.
-enums.symmetric
+number
@@ -1237,7 +1237,7 @@ Key packet and has exactly the same format.
Source:
@@ -1316,7 +1316,7 @@ Key packet and has exactly the same format.
Source:
@@ -1395,7 +1395,7 @@ Key packet and has exactly the same format.
Source:
@@ -1464,7 +1464,7 @@ Key packet and has exactly the same format.
Source:
@@ -1558,7 +1558,7 @@ Key packet and has exactly the same format.
Source:
@@ -1653,7 +1653,7 @@ Key packet and has exactly the same format.
Source:
@@ -1748,7 +1748,7 @@ Key packet and has exactly the same format.
Source:
@@ -1895,7 +1895,7 @@ otherwise calls to this function will throw an error.
Source:
@@ -2114,7 +2114,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2238,7 +2238,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2355,7 +2355,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2468,7 +2468,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2585,7 +2585,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2643,7 +2643,7 @@ This can be used to remove passphrase protection after calling decrypt().
-
+ getKeyID() → {module:type/keyid~KeyID}
@@ -2702,7 +2702,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2742,7 +2742,7 @@ This can be used to remove passphrase protection after calling decrypt().
-module:type/keyid~KeyID
+module:type/keyid~KeyID
@@ -2819,7 +2819,7 @@ This can be used to remove passphrase protection after calling decrypt().
Source:
@@ -2937,7 +2937,7 @@ Returns false for gnu-dummy keys and null for public keys.
Source:
@@ -3053,7 +3053,7 @@ Returns false for gnu-dummy keys and null for public keys.
Source:
@@ -3173,7 +3173,7 @@ Such keys are:
Source:
@@ -3330,7 +3330,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3475,7 +3475,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3570,7 +3570,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3694,7 +3694,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3860,7 +3860,7 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
Source:
@@ -3906,13 +3906,13 @@ The resulting key cannot be used for signing/decrypting but can still verify sig
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/Signature.html b/docs/Signature.html
index e52de432..a2adf822 100644
--- a/docs/Signature.html
+++ b/docs/Signature.html
@@ -144,7 +144,7 @@
Source:
@@ -322,7 +322,7 @@
Source:
@@ -380,7 +380,7 @@
- getSigningKeyIDs() → {Array.<KeyID>}
+ getSigningKeyIDs() → {Array.<KeyID >}
@@ -434,7 +434,7 @@
Source:
@@ -474,7 +474,7 @@
-Array.<KeyID>
+Array.<KeyID >
@@ -546,7 +546,7 @@
Source:
@@ -614,13 +614,13 @@
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/SignaturePacket.html b/docs/SignaturePacket.html
index bb9def17..f3a53bf8 100644
--- a/docs/SignaturePacket.html
+++ b/docs/SignaturePacket.html
@@ -99,7 +99,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -201,7 +201,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -271,7 +271,80 @@ block of text, and a signature that is a certification of a User ID.
Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ reasonForRevocationString :String|null
+
+
+
+
+
+
+ Type:
+
+
+
+String
+|
+
+null
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
@@ -341,7 +414,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -423,7 +496,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -599,7 +672,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -760,7 +833,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -1048,7 +1121,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -1427,7 +1500,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -1546,7 +1619,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -1654,7 +1727,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -1765,7 +1838,7 @@ block of text, and a signature that is a certification of a User ID.
Source:
@@ -1833,13 +1906,13 @@ block of text, and a signature that is a certification of a User ID.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/SymEncryptedIntegrityProtectedDataPacket.html b/docs/SymEncryptedIntegrityProtectedDataPacket.html
index 2883a641..31241de1 100644
--- a/docs/SymEncryptedIntegrityProtectedDataPacket.html
+++ b/docs/SymEncryptedIntegrityProtectedDataPacket.html
@@ -101,7 +101,7 @@ packet.
Source:
@@ -203,7 +203,7 @@ packet.
Source:
@@ -273,7 +273,7 @@ packet.
Source:
@@ -478,7 +478,7 @@ packet.
Source:
@@ -738,7 +738,7 @@ packet.
Source:
@@ -831,13 +831,13 @@ packet.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/SymEncryptedSessionKeyPacket.html b/docs/SymEncryptedSessionKeyPacket.html
index 1658831d..c2b8ce5f 100644
--- a/docs/SymEncryptedSessionKeyPacket.html
+++ b/docs/SymEncryptedSessionKeyPacket.html
@@ -165,7 +165,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -271,7 +271,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -345,7 +345,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -419,7 +419,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -550,7 +550,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -761,7 +761,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -929,7 +929,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -1019,7 +1019,7 @@ the Symmetric-Key Encrypted Session Key packet.
Source:
@@ -1087,13 +1087,13 @@ the Symmetric-Key Encrypted Session Key packet.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/SymmetricallyEncryptedDataPacket.html b/docs/SymmetricallyEncryptedDataPacket.html
index 9423f199..bb651d7c 100644
--- a/docs/SymmetricallyEncryptedDataPacket.html
+++ b/docs/SymmetricallyEncryptedDataPacket.html
@@ -101,7 +101,7 @@ that form whole OpenPGP messages).
Source:
@@ -197,7 +197,7 @@ that form whole OpenPGP messages).
Source:
@@ -271,7 +271,7 @@ that form whole OpenPGP messages).
Source:
@@ -477,7 +477,7 @@ See RFC 4880 9.2 f
Source:
@@ -720,7 +720,7 @@ See RFC 4880 9.2 f
Source:
@@ -795,13 +795,13 @@ See RFC 4880 9.2 f
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/TrustPacket.html b/docs/TrustPacket.html
index 5e5579f3..2beadd6e 100644
--- a/docs/TrustPacket.html
+++ b/docs/TrustPacket.html
@@ -105,7 +105,7 @@ other than local keyring files.
Source:
@@ -216,7 +216,7 @@ Currently not implemented as we ignore trust packets
Source:
@@ -262,13 +262,13 @@ Currently not implemented as we ignore trust packets
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/UserAttributePacket.html b/docs/UserAttributePacket.html
index 48bad660..ea3a89fd 100644
--- a/docs/UserAttributePacket.html
+++ b/docs/UserAttributePacket.html
@@ -107,7 +107,7 @@ an implementation may use any method desired.
Source:
@@ -266,7 +266,7 @@ an implementation may use any method desired.
Source:
@@ -427,7 +427,7 @@ an implementation may use any method desired.
Source:
@@ -517,7 +517,7 @@ an implementation may use any method desired.
Source:
@@ -585,13 +585,13 @@ an implementation may use any method desired.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/UserIDPacket.html b/docs/UserIDPacket.html
index 91ef83f7..74340f8d 100644
--- a/docs/UserIDPacket.html
+++ b/docs/UserIDPacket.html
@@ -100,7 +100,7 @@ specifies the length of the User ID.
Source:
@@ -207,7 +207,7 @@ John Doe john@example.com
Source:
@@ -235,163 +235,6 @@ John Doe john@example.com
- (static) fromObject(userID) → {UserIDPacket }
-
-
-
-
-
-
-
-
Create UserIDPacket instance from object
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- userID
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Object specifying userID name, email and comment
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-UserIDPacket
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
read(input)
@@ -495,7 +338,7 @@ John Doe john@example.com
Source:
@@ -585,7 +428,7 @@ John Doe john@example.com
Source:
@@ -638,6 +481,163 @@ John Doe john@example.com
+
+
+
+
+
+ (static) fromObject(userID) → {UserIDPacket }
+
+
+
+
+
+
+
+
Create UserIDPacket instance from object
+
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ userID
+
+
+
+
+
+Object
+
+
+
+
+
+
+
+
+
+ Object specifying userID name, email and comment
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Source:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Returns:
+
+
+
+
+
+
+ Type
+
+
+
+UserIDPacket
+
+
+
+
+
+
+
+
+
+
+
+
@@ -653,13 +653,13 @@ John Doe john@example.com
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/global.html b/docs/global.html
index 7c9c6cb6..971a5c48 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -419,7 +419,7 @@
Source:
@@ -632,7 +632,7 @@
Source:
@@ -662,179 +662,6 @@
-
-
-
-
-
-
- createKey(packetlist) → {Key }
-
-
-
-
-
-
-
-
Creates a PublicKey or PrivateKey depending on the packetlist in input
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- packetlist
-
-
-
-
-
-PacketList
-
-
-
-
-
-
-
-
-
- packets to parse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
if no key packet was found
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Key
-
-
-
-
-
-
-
-
-
-
-
@@ -1180,7 +1007,7 @@
Source:
@@ -1761,7 +1588,7 @@ One of decryptionKeys, sessionkeys or passwords<
Source:
@@ -2064,7 +1891,7 @@ This method does not change the original key.
Source:
@@ -2423,7 +2250,7 @@ One of decryptionKeys or passwords must be specified.<
Source:
@@ -2904,10 +2731,10 @@ must be specified. If signing keys are specified, those will be used to sign the
-KeyID
+KeyID
|
-Array.<KeyID>
+Array.<KeyID >
@@ -2946,10 +2773,10 @@ must be specified. If signing keys are specified, those will be used to sign the
-KeyID
+KeyID
|
-Array.<KeyID>
+Array.<KeyID >
@@ -3227,7 +3054,7 @@ must be specified. If signing keys are specified, those will be used to sign the
Source:
@@ -3515,7 +3342,7 @@ This method does not change the original key.
Source:
@@ -3938,10 +3765,10 @@ At least one of encryptionKeys or passwords must be sp
-KeyID
+KeyID
|
-Array.<KeyID>
+Array.<KeyID >
@@ -4135,7 +3962,7 @@ At least one of encryptionKeys or passwords must be sp
Source:
@@ -4193,224 +4020,6 @@ At least one of encryptionKeys or passwords must be sp
-
-
-
-
-
-
-
-
-
Convert the object to the given format
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- object
-
-
-
-
-
-Key
-|
-
-Message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- format
-
-
-
-
-
-'armored'
-|
-
-'binary'
-|
-
-'object'
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Full configuration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-String
-|
-
-Uint8Array
-|
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) generateKey(options) → {Promise.<Object>}
@@ -4952,7 +4561,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5302,7 +4911,7 @@ default to main key options, except for sign parameter that default
Source:
@@ -5360,1489 +4969,6 @@ default to main key options, except for sign parameter that default
- getCipherBlockSize(algo)
-
-
-
-
-
-
-
-
Get block size for given cipher algo
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.symmetric
-
-
-
-
-
-
-
-
-
- alrogithm identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getCipherKeySize(algo)
-
-
-
-
-
-
-
-
Get key size for given cipher algo
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.symmetric
-
-
-
-
-
-
-
-
-
- alrogithm identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getCipherParams(algo)
-
-
-
-
-
-
-
-
Get block and key size for given cipher algo
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.symmetric
-
-
-
-
-
-
-
-
-
- alrogithm identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- getCompressionStreamInstantiators(compressionFormat) → {Object}
-
-
-
-
-
-
-
-
Get Compression Stream API instatiators if the constructors are implemented.
-NB: the return instatiator functions will throw when called if the provided compressionFormat is not supported
-(supported formats cannot be determined in advance).
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- compressionFormat
-
-
-
-
-
-'deflate-raw'
-|
-
-'deflate'
-|
-
-'gzip'
-|
-
-string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- newPacketFromTag(tag, allowedPackets) → {Object}
-
-
-
-
-
-
-
-
Instantiate a new packet given its tag
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- tag
-
-
-
-
-
-module:enums.packet
-
-
-
-
-
-
-
-
-
- Property value from module:enums.packet
-
-
-
-
-
-
- allowedPackets
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- mapping where keys are allowed packet tags, pointing to their Packet class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
for disallowed or unknown packets
-
-
-
-
-
-
- Type
-
-
-
-Error
-|
-
-UnsupportedError
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
New packet object with type based on tag
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- newS2KFromConfig() → {Object}
-
-
-
-
-
-
-
-
Instantiate a new S2K instance based on the config settings
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
for unknown or unsupported types
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- newS2KFromType(type) → {Object}
-
-
-
-
-
-
-
-
Instantiate a new S2K instance of the given type
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- type
-
-
-
-
-
-module:enums.s2k
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
for unknown or unsupported types
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async) produceEncryptionKey(keyVersion, s2k, passphrase, cipherAlgo, aeadModeopt , serializedPacketTagopt , isLegacyAEADopt )
-
-
-
-
-
-
-
-
Derive encryption key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- keyVersion
-
-
-
-
-
-Number
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- key derivation differs for v5 keys
-
-
-
-
-
-
- s2k
-
-
-
-
-
-module:type/s2k
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- passphrase
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- cipherAlgo
-
-
-
-
-
-module:enums.symmetric
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- aeadMode
-
-
-
-
-
-module:enums.aead
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- for AEAD-encrypted keys only (excluding v5)
-
-
-
-
-
-
- serializedPacketTag
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- for AEAD-encrypted keys only (excluding v5)
-
-
-
-
-
-
- isLegacyAEAD
-
-
-
-
-
-Boolean
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- for AEAD-encrypted keys from RFC4880bis (v4 and v5 only)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) readCleartextMessage(options) → {Promise.<CleartextMessage >}
@@ -7038,7 +5164,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -7096,582 +5222,6 @@ NB: the return instatiator functions will throw when called if the provided (async) readKey(options) → {Promise.<Key >}
-
-
-
-
-
-
-
-
Reads an (optionally armored) OpenPGP key and returns a key object
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- options
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- armoredKey
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Armored key to be parsed
-
-
-
-
-
-
- binaryKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Binary key to be parsed
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Custom configuration settings to overwrite those in config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Key >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async) readKeys(options) → {Promise.<Array.<Key >>}
-
-
-
-
-
-
-
-
Reads an (optionally armored) OpenPGP key block and returns a list of key objects
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- options
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- armoredKeys
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Armored keys to be parsed
-
-
-
-
-
-
- binaryKeys
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Binary keys to be parsed
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Custom configuration settings to overwrite those in config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Array.<Key >>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) readMessage(options) → {Promise.<Message >}
@@ -7966,582 +5516,6 @@ NB: the return instatiator functions will throw when called if the provided (async) readPrivateKey(options) → {Promise.<PrivateKey >}
-
-
-
-
-
-
-
-
Reads an (optionally armored) OpenPGP private key and returns a PrivateKey object
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- options
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- armoredKey
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Armored key to be parsed
-
-
-
-
-
-
- binaryKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Binary key to be parsed
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Custom configuration settings to overwrite those in config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<PrivateKey >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async) readPrivateKeys(options) → {Promise.<Array.<PrivateKey >>}
-
-
-
-
-
-
-
-
Reads an (optionally armored) OpenPGP private key block and returns a list of PrivateKey objects
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- options
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- armoredKeys
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Armored keys to be parsed
-
-
-
-
-
-
- binaryKeys
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Binary keys to be parsed
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Custom configuration settings to overwrite those in config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Array.<PrivateKey >>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) readSignature(options) → {Promise.<Signature >}
@@ -8772,7 +5746,7 @@ NB: the return instatiator functions will throw when called if the provided Source:
@@ -9234,7 +6208,7 @@ to set the same date as the key creation time to ensure that old message signatu
Source:
@@ -9763,7 +6737,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
@@ -9823,215 +6797,6 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
- (async) runAEAD(fn, key, data) → {Promise.<(Uint8Array|ReadableStream.<Uint8Array>)>}
-
-
-
-
-
-
-
-
En/decrypt the payload.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- fn
-
-
-
-
-
-encrypt
-|
-
-decrypt
-
-
-
-
-
-
-
-
-
- Whether to encrypt or decrypt
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The session key used to en/decrypt the payload
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-|
-
-ReadableStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
- The data to en/decrypt
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<(Uint8Array|ReadableStream.<Uint8Array>)>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(async) sign(options) → {Promise.<MaybeStream.<(String|Uint8Array)>>}
@@ -10326,10 +7091,10 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
-KeyID
+KeyID
|
-Array.<KeyID>
+Array.<KeyID >
@@ -10607,7 +7372,7 @@ If a revocation certificate is passed, the reasonForRevocation parameter will be
Source:
@@ -10769,7 +7534,7 @@ the encoded bytes
Source:
@@ -11231,7 +7996,7 @@ an attribute "data" containing a stream of bytes and "type"
Source:
@@ -11298,417 +8063,6 @@ where `signatures` contains a separate entry for each signature packet found in
-
-
-
-
-
- (async) wrapKeyObject(secretKeyPacket, secretSubkeyPackets, options, config) → {PrivateKey }
-
-
-
-
-
-
-
-
Construct PrivateKey object from the given key packets, add certification signatures and set passphrase protection
-The new key includes a revocation certificate that must be removed before returning the key, otherwise the key is considered revoked.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- secretKeyPacket
-
-
-
-
-
-SecretKeyPacket
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- secretSubkeyPackets
-
-
-
-
-
-SecretSubkeyPacket
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- options
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Full configuration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-PrivateKey
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- zlib(compressionStreamInstantiator, ZlibStreamedConstructor) → {ReadableStream.<Uint8Array>}
-
-
-
-
-
-
-
-
Zlib processor relying on Compression Stream API if available, or falling back to fflate otherwise.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- compressionStreamInstantiator
-
-
-
-
-
-function
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ZlibStreamedConstructor
-
-
-
-
-
-FunctionConstructor
-
-
-
-
-
-
-
-
-
- fflate constructor
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
compressed or decompressed data
-
-
-
-
-
-
- Type
-
-
-
-ReadableStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
@@ -11724,13 +8078,13 @@ The new key includes a revocation certificate that must be removed before return
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/index.html b/docs/index.html
index 043a6eea..49a5ec84 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -714,13 +714,13 @@ and a subkey for encryption using Curve25519.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/module-config.html b/docs/module-config.html
index f19b407f..c37ebfee 100644
--- a/docs/module-config.html
+++ b/docs/module-config.html
@@ -247,7 +247,7 @@ as a global config setting, but can be used for specific function calls (e.g. de
Source:
@@ -365,7 +365,7 @@ Must be an integer value from 0 to 56.
Source:
@@ -489,7 +489,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
@@ -614,7 +614,7 @@ where key flags were ignored when selecting a key for encryption.
Source:
@@ -733,7 +733,7 @@ and have self-signature's creation date that does not match the primary key crea
Source:
@@ -854,7 +854,7 @@ This is an insecure setting:
Source:
@@ -979,7 +979,7 @@ and deferring checking their integrity until the decrypted stream has been read
Source:
@@ -1091,7 +1091,7 @@ and deferring checking their integrity until the decrypted stream has been read
Source:
@@ -1213,7 +1213,7 @@ See also constantTimePKCS1DecryptionSupportedSymmetricAlgorithms.
Source:
@@ -1331,7 +1331,7 @@ However, the more algorithms are added, the slower the decryption procedure beco
Source:
@@ -1451,7 +1451,7 @@ hence parsing them might be necessary in some cases.
Source:
@@ -1564,7 +1564,7 @@ defined in https://www.rfc-editor.org/rfc/rfc9580.html#name-openpgp-messages .
Source:
@@ -1676,7 +1676,7 @@ defined in https://www.rfc-editor.org/rfc/rfc9580.html#name-openpgp-messages .
Source:
@@ -1788,7 +1788,7 @@ defined in https://www.rfc-editor.org/rfc/rfc9580.html#name-openpgp-messages .
Source:
@@ -1905,7 +1905,7 @@ validation error when the notation is marked as critical.
Source:
@@ -2021,7 +2021,7 @@ validation error when the notation is marked as critical.
Source:
@@ -2138,7 +2138,7 @@ The default is 2047 since due to a bug, previous versions of OpenPGP.js could ge
Source:
@@ -2255,7 +2255,7 @@ The default is 2047 since due to a bug, previous versions of OpenPGP.js could ge
Source:
@@ -2372,7 +2372,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -2484,7 +2484,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -2596,7 +2596,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -2708,7 +2708,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -2824,7 +2824,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -2940,7 +2940,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -3056,7 +3056,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -3172,7 +3172,7 @@ Only has an effect when aeadProtect is set to true.
Source:
@@ -3196,7 +3196,7 @@ Only has an effect when aeadProtect is set to true.
-
draft-crypto-refresh 3.7.1.4 :
+
draft-crypto-refresh 3.7.1.4 :
Argon2 parameters for S2K (String to Key).
Only relevant if config.s2kType is set to enums.s2k.argon2.
Default settings correspond to the second recommendation from RFC9106 ("uniformly safe option"),
@@ -3387,7 +3387,7 @@ For more details on the choice of parameters, see https://tools.ietf.org/html/rf
Source:
@@ -3411,7 +3411,7 @@ For more details on the choice of parameters, see https://tools.ietf.org/html/rf
-
RFC4880 3.7.1.3 :
+
RFC4880 3.7.1.3 :
Iteration Count Byte for Iterated and Salted S2K (String to Key).
Only relevant if config.s2kType is set to enums.s2k.iterated.
Note: this is the exponent value, not the final number of iterations (refer to specs for more details).
@@ -3506,7 +3506,7 @@ Note: this is the exponent value, not the final number of iterations (refer to s
Source:
@@ -3628,7 +3628,7 @@ Note: Argon2 is the strongest option but not all OpenPGP implementations are com
Source:
@@ -3740,7 +3740,7 @@ Note: Argon2 is the strongest option but not all OpenPGP implementations are com
Source:
@@ -3852,7 +3852,7 @@ Note: Argon2 is the strongest option but not all OpenPGP implementations are com
Source:
@@ -3969,7 +3969,7 @@ When false, certain standard curves will not be supported (depending on the plat
Source:
@@ -4087,7 +4087,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
@@ -4199,7 +4199,7 @@ Note: not all OpenPGP implementations are compatible with this option.
Source:
@@ -4233,13 +4233,13 @@ Note: not all OpenPGP implementations are compatible with this option.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/module-crypto.html b/docs/module-crypto.html
deleted file mode 100644
index 009b3b5e..00000000
--- a/docs/module-crypto.html
+++ /dev/null
@@ -1,184 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Provides access to all cryptographic primitives used in OpenPGP.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_aes_kw.html b/docs/module-crypto_aes_kw.html
deleted file mode 100644
index 92df3adb..00000000
--- a/docs/module-crypto_aes_kw.html
+++ /dev/null
@@ -1,604 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/aes_kw
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/aes_kw
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Implementation of RFC 3394 AES Key Wrap & Key Unwrap funcions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) unwrap(algo, key, wrappedData) → {Uint8Array}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-enums.symmetric.aes128
-|
-
-enums.symmetric.aes256
-|
-
-enums.symmetric.aes192
-
-
-
-
-
-
-
-
-
- AES algo
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- wrapping key
-
-
-
-
-
-
- wrappedData
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) wrap(algo, key, dataToWrap) → {Uint8Array}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-enums.symmetric.aes128
-|
-
-enums.symmetric.aes256
-|
-
-enums.symmetric.aes192
-
-
-
-
-
-
-
-
-
- AES algo
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- wrapping key
-
-
-
-
-
-
- dataToWrap
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_cipherMode.html b/docs/module-crypto_cipherMode.html
deleted file mode 100644
index 0de52d5b..00000000
--- a/docs/module-crypto_cipherMode.html
+++ /dev/null
@@ -1,400 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/cipherMode
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/cipherMode
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) getAEADMode(algo, acceptExperimentalGCMopt ) → {Object}
-
-
-
-
-
-
-
-
Get implementation of the given AEAD mode
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-enums.aead
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- acceptExperimentalGCM
-
-
-
-
-
-Boolean
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- whether to allow the non-standard, legacy experimentalGCM algo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_cmac.html b/docs/module-crypto_cmac.html
deleted file mode 100644
index 0d624628..00000000
--- a/docs/module-crypto_cmac.html
+++ /dev/null
@@ -1,413 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/cmac
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/cmac
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This module implements AES-CMAC on top of
-native AES-CBC using either the WebCrypto API or Node.js' crypto API.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Members
-
-
-
-(inner, constant) blockLength
-
-
-
-
-
-
This implementation of CMAC is based on the description of OMAC in
-http://web.cs.ucdavis.edu/~rogaway/papers/eax.pdf. As per that
-document:
-
We have made a small modification to the OMAC algorithm as it was
-originally presented, changing one of its two constants.
-Specifically, the constant 4 at line 85 was the constant 1/2 (the
-multiplicative inverse of 2) in the original definition of OMAC [14].
-The OMAC authors indicate that they will promulgate this modification
-[15], which slightly simplifies implementations.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (inner) rightXORMut(data, padding)
-
-
-
-
-
-
-
-
xor padding into the end of data. This function implements "the
-operation xor→ [which] xors the shorter string into the end of longer
-one". Since data is always as least as long as padding, we can
-simplify the implementation.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- padding
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_crypto.html b/docs/module-crypto_crypto.html
deleted file mode 100644
index aacac5e3..00000000
--- a/docs/module-crypto_crypto.html
+++ /dev/null
@@ -1,2655 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/crypto
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/crypto
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Provides functions for asymmetric encryption and decryption as
-well as key generation and parameter handling for all public-key cryptosystems.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) generateParams(algo, bits, oid) → {Promise.<{publicParams: {Object}, privateParams: {Object}}>}
-
-
-
-
-
-
-
-
Generate algorithm-specific key parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- The public key algorithm
-
-
-
-
-
-
- bits
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- Bit length for RSA keys
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Object identifier for ECC keys
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The parameters referenced by name.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicParams: {Object}, privateParams: {Object}}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) generateSessionKey(algo) → {Uint8Array}
-
-
-
-
-
-
-
-
Generating a session key for the specified symmetric algorithm
-See RFC 4880 9.2 for algorithms.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.symmetric
-
-
-
-
-
-
-
-
-
- Symmetric encryption algorithm
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Random bytes as a string to be used as a key.
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) getCurvePayloadSize(algo, oidopt )
-
-
-
-
-
-
-
-
Get encoded secret size for a given elliptic algo
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- alrogithm identifier
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- curve OID if needed by algo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) getPreferredCurveHashAlgo(algo, oidopt )
-
-
-
-
-
-
-
-
Get preferred signing hash algo for a given elliptic algo
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- alrogithm identifier
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- curve OID if needed by algo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) parseEncSessionKeyParams(algo, bytes) → {Object}
-
-
-
-
-
-
-
-
Returns the types comprising the encrypted session key of an algorithm
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- The key algorithm
-
-
-
-
-
-
- bytes
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The key material to parse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The session key parameters referenced by name.
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) parsePrivateKeyParams(algo, bytes, publicParams) → {Object}
-
-
-
-
-
-
-
-
Parse private key material in binary form to get the key parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- The key algorithm
-
-
-
-
-
-
- bytes
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The key material to parse
-
-
-
-
-
-
- publicParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- (ECC only) public params, needed to format some private params
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Number of read bytes plus the key parameters referenced by name.
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) parsePublicKeyParams(algo, bytes) → {Object}
-
-
-
-
-
-
-
-
Parse public key material in binary form to get the key parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- The key algorithm
-
-
-
-
-
-
- bytes
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The key material to parse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Number of read bytes plus key parameters referenced by name.
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) publicKeyDecrypt(algo, publicKeyParams, privateKeyParams, sessionKeyParams, fingerprint, randomPayloadopt ) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypts data using specified algorithm and private key parameters.
-See RFC 4880 5.5.3
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
- Attributes
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Public key algorithm
-
-
-
-
-
-
- publicKeyParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Algorithm-specific public key parameters
-
-
-
-
-
-
- privateKeyParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Algorithm-specific private key parameters
-
-
-
-
-
-
- sessionKeyParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Encrypted session key parameters
-
-
-
-
-
-
- fingerprint
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Recipient fingerprint
-
-
-
-
-
-
- randomPayload
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
- <optional>
-
-
-
-
-
-
-
-
-
-
- Data to return on decryption error, instead of throwing
-(needed for constant-time processing in RSA and ElGamal)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
on sensitive decryption error, unless randomPayload is given
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) publicKeyEncrypt(keyAlgo, symmetricAlgo, publicParams, data, fingerprint) → {Promise.<Object>}
-
-
-
-
-
-
-
-
Encrypts data using specified algorithm and public key parameters.
-See RFC 4880 9.1 for public key algorithms.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- keyAlgo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Public key algorithm
-
-
-
-
-
-
- symmetricAlgo
-
-
-
-
-
-module:enums.symmetric
-|
-
-null
-
-
-
-
-
-
-
-
-
- Cipher algorithm (v3 only)
-
-
-
-
-
-
- publicParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Algorithm-specific public key parameters
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Session key data to be encrypted
-
-
-
-
-
-
- fingerprint
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient fingerprint
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Encrypted session key parameters.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Object>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) serializeParams(algo, params) → {Uint8Array}
-
-
-
-
-
-
-
-
Convert params to MPI and serializes them in the proper order
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- The public key algorithm
-
-
-
-
-
-
- params
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- The key parameters indexed by name
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The array containing the MPIs.
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(algo, publicParams, privateParams) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate algorithm-specific key parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- The public key algorithm
-
-
-
-
-
-
- publicParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Algorithm-specific public key parameters
-
-
-
-
-
-
- privateParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Algorithm-specific private key parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether the parameters are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) checkSupportedCurve(oid)
-
-
-
-
-
-
-
-
Check whether the given curve OID is supported
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- EC object identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
if curve is not supported
-
-
-
-
-
-
- Type
-
-
-
-UnsupportedError
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_hash.html b/docs/module-crypto_hash.html
deleted file mode 100644
index a4d5623b..00000000
--- a/docs/module-crypto_hash.html
+++ /dev/null
@@ -1,525 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/hash
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/hash
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Provides an interface to hashing functions available in Node.js or external libraries.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) computeDigest(algo, data) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Create a hash on the specified data using the specified algorithm
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm type (see RFC 4880 9.4 )
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data to be hashed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) getHashByteLength(algo) → {Integer}
-
-
-
-
-
-
-
-
Returns the hash size in bytes of the specified hash algorithm type
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm type (See RFC 4880 9.4 )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Size in bytes of the resulting hash.
-
-
-
-
-
-
- Type
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_hkdf.html b/docs/module-crypto_hkdf.html
deleted file mode 100644
index 107aa58b..00000000
--- a/docs/module-crypto_hkdf.html
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/hkdf
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/hkdf
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This module implements HKDF using either the WebCrypto API or Node.js' crypto API.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_mode_cfb.html b/docs/module-crypto_mode_cfb.html
deleted file mode 100644
index 07f80255..00000000
--- a/docs/module-crypto_mode_cfb.html
+++ /dev/null
@@ -1,710 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/mode/cfb
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/mode/cfb
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) decrypt(algo, key, ciphertext, iv)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-enums.symmetric
-
-
-
-
-
-
-
-
-
- block cipher algorithm
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ciphertext
-
-
-
-
-
-MaybeStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- iv
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) encrypt(algo, key, plaintext, iv, config)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-enums.symmetric
-
-
-
-
-
-
-
-
-
- block cipher algorithm
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- plaintext
-
-
-
-
-
-MaybeStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- iv
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- config
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- full configuration, defaults to openpgp.config
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) getPrefixRandom(algo) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Generates a random byte prefix for the specified algorithm
-See RFC 4880 9.2 for algorithms.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.symmetric
-
-
-
-
-
-
-
-
-
- Symmetric encryption algorithm
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Random bytes with length equal to the block size of the cipher, plus the last two bytes repeated.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_mode_eax.html b/docs/module-crypto_mode_eax.html
deleted file mode 100644
index c6c5c4f4..00000000
--- a/docs/module-crypto_mode_eax.html
+++ /dev/null
@@ -1,748 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/mode/eax
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/mode/eax
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This module implements AES-EAX en/decryption on top of
-native AES-CTR using either the WebCrypto API or Node.js' crypto API.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (inner) decrypt(ciphertext, nonce, adata) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypt ciphertext input.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- ciphertext
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The ciphertext input to be decrypted
-
-
-
-
-
-
- nonce
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The nonce (16 bytes)
-
-
-
-
-
-
- adata
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Associated data to verify
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The plaintext output.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) EAX(cipher, key)
-
-
-
-
-
-
-
-
Class to en/decrypt using EAX mode.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- cipher
-
-
-
-
-
-enums.symmetric
-
-
-
-
-
-
-
-
-
- The symmetric cipher algorithm to use
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The encryption key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) encrypt(plaintext, nonce, adata) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Encrypt plaintext input.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- plaintext
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The cleartext input to be encrypted
-
-
-
-
-
-
- nonce
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The nonce (16 bytes)
-
-
-
-
-
-
- adata
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Associated data to sign
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The ciphertext output.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_mode_gcm.html b/docs/module-crypto_mode_gcm.html
deleted file mode 100644
index 8ae9627d..00000000
--- a/docs/module-crypto_mode_gcm.html
+++ /dev/null
@@ -1,334 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/mode/gcm
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/mode/gcm
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This module wraps native AES-GCM en/decryption for both
-the WebCrypto api as well as node.js' crypto api.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, inner) GCM(cipher, key)
-
-
-
-
-
-
-
-
Class to en/decrypt using GCM mode.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- cipher
-
-
-
-
-
-enums.symmetric
-
-
-
-
-
-
-
-
-
- The symmetric cipher algorithm to use
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The encryption key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_mode_ocb.html b/docs/module-crypto_mode_ocb.html
deleted file mode 100644
index c24521b6..00000000
--- a/docs/module-crypto_mode_ocb.html
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/mode/ocb
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/mode/ocb
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This module implements AES-OCB en/decryption.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (inner) decrypt(ciphertext, nonce, adata) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypt ciphertext input.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- ciphertext
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The ciphertext input to be decrypted
-
-
-
-
-
-
- nonce
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The nonce (15 bytes)
-
-
-
-
-
-
- adata
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Associated data to sign
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The ciphertext output.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) encrypt(plaintext, nonce, adata) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Encrypt plaintext input.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- plaintext
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The cleartext input to be encrypted
-
-
-
-
-
-
- nonce
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The nonce (15 bytes)
-
-
-
-
-
-
- adata
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Associated data to sign
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
The ciphertext output.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) OCB(cipher, key)
-
-
-
-
-
-
-
-
Class to en/decrypt using OCB mode.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- cipher
-
-
-
-
-
-enums.symmetric
-
-
-
-
-
-
-
-
-
- The symmetric cipher algorithm to use
-
-
-
-
-
-
- key
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The encryption key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_pkcs1.html b/docs/module-crypto_pkcs1.html
deleted file mode 100644
index 1b2351c3..00000000
--- a/docs/module-crypto_pkcs1.html
+++ /dev/null
@@ -1,882 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/pkcs1
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/pkcs1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Provides EME-PKCS1-v1_5 encoding and decoding and EMSA-PKCS1-v1_5 encoding function
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Members
-
-
-
-
-
-
-
-
-
-
ASN1 object identifiers for hashes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) emeDecode(encoded, randomPayload) → {Uint8Array}
-
-
-
-
-
-
-
-
Decode a EME-PKCS1-v1_5 padded message
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- encoded
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Encoded message bytes
-
-
-
-
-
-
- randomPayload
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data to return in case of decoding error (needed for constant-time processing)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
on decoding failure, unless randomPayload is provided
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
decoded data or randomPayload (on error, if given)
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) emeEncode(message, keyLength) → {Uint8Array}
-
-
-
-
-
-
-
-
Create a EME-PKCS1-v1_5 padded message
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- message
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to be encoded
-
-
-
-
-
-
- keyLength
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- The length in octets of the key modulus
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
EME-PKCS1 padded message.
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) emsaEncode(algo, hashed, emLen) → {Uint8Array}
-
-
-
-
-
-
-
-
Create a EMSA-PKCS1-v1_5 padded message
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- Hash algorithm type used
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to be encoded
-
-
-
-
-
-
- emLen
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- Intended length in octets of the encoded message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key.html b/docs/module-crypto_public_key.html
deleted file mode 100644
index 8fbf447a..00000000
--- a/docs/module-crypto_public_key.html
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Asymmetric cryptography functions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_dsa.html b/docs/module-crypto_public_key_dsa.html
deleted file mode 100644
index 6e0b658d..00000000
--- a/docs/module-crypto_public_key_dsa.html
+++ /dev/null
@@ -1,1084 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/dsa
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/dsa
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A Digital signature algorithm implementation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Members
-
-
-
-(inner) x
-
-
-
-
-
-
Re-derive public key y' = g ** x mod p
-Expect y == y'
-
Blinded exponentiation computes g**{rq + x} to compare to y
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) sign(hashAlgo, hashed, g, p, q, x) → {Promise.<{r: Uint8Array, s: Uint8Array}>}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- g
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- x
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{r: Uint8Array, s: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(p, q, g, y, x) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate DSA parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- DSA prime
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- DSA group order
-
-
-
-
-
-
- g
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- DSA sub-group generator
-
-
-
-
-
-
- y
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- DSA public key
-
-
-
-
-
-
- x
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- DSA private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) verify(hashAlgo, r, s, hashed, g, p, q, y) → {boolean}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- r
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- s
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- g
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- y
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elgamal.html b/docs/module-crypto_public_key_elgamal.html
deleted file mode 100644
index 55a59018..00000000
--- a/docs/module-crypto_public_key_elgamal.html
+++ /dev/null
@@ -1,981 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elgamal
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elgamal
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Members
-
-
-
-(inner) x
-
-
-
-
-
-
Re-derive public key y' = g ** x mod p
-Expect y == y'
-
Blinded exponentiation computes g**{r(p-1) + x} to compare to y
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) decrypt(c1, c2, p, x, randomPayload) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
ElGamal Encryption function
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- c1
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- c2
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- x
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- randomPayload
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data to return on unpadding error, instead of throwing
-(needed for constant-time processing)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
on decryption error, unless randomPayload is given
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) encrypt(data, p, g, y) → {Promise.<{c1: Uint8Array, c2: Uint8Array}>}
-
-
-
-
-
-
-
-
ElGamal Encryption function
-Note that in OpenPGP, the message needs to be padded with PKCS#1 (same as RSA)
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- To be padded and encrypted
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- g
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- y
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{c1: Uint8Array, c2: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(p, g, y, x) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ElGamal parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ElGamal prime
-
-
-
-
-
-
- g
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ElGamal group generator
-
-
-
-
-
-
- y
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ElGamal public key
-
-
-
-
-
-
- x
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ElGamal private exponent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elliptic.html b/docs/module-crypto_public_key_elliptic.html
deleted file mode 100644
index 6877f96b..00000000
--- a/docs/module-crypto_public_key_elliptic.html
+++ /dev/null
@@ -1,180 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elliptic
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elliptic
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Functions to access Elliptic Curve Cryptography
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elliptic_curve.html b/docs/module-crypto_public_key_elliptic_curve.html
deleted file mode 100644
index 15140c4b..00000000
--- a/docs/module-crypto_public_key_elliptic_curve.html
+++ /dev/null
@@ -1,1240 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elliptic/curve
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elliptic/curve
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Wrapper of an instance of an Elliptic Curve
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (inner) checkPublicPointEnconding()
-
-
-
-
-
-
-
-
Check whether the public point has a valid encoding.
-NB: this function does not check e.g. whether the point belongs to the curve.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) getPreferredHashAlgo(oid) → {enums.hash}
-
-
-
-
-
-
-
-
Get preferred hash algo to use with the given curve
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- curve oid
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-enums.hash
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) jwkToRawPublic(jwk) → {Uint8Array}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- jwk
-
-
-
-
-
-JsonWebKey
-
-
-
-
-
-
-
-
-
- key for conversion
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) privateToJWK(payloadSize, name, publicKey, privateKey) → {JsonWebKey}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- payloadSize
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- ec payload size
-
-
-
-
-
-
- name
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
- curve name
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- public key
-
-
-
-
-
-
- privateKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Private key in jwk format.
-
-
-
-
-
-
- Type
-
-
-
-JsonWebKey
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) rawPublicToJWK(payloadSize, name, publicKey) → {JsonWebKey}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- payloadSize
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- ec payload size
-
-
-
-
-
-
- name
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
- curve name
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Public key in jwk format.
-
-
-
-
-
-
- Type
-
-
-
-JsonWebKey
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) validateStandardParams(algo, oid, Q, d) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ECDH and ECDSA parameters
-Not suitable for EdDSA (different secret key format)
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- EC algorithm, to filter supported curves
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- EC object identifier
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- EC public point
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- EC secret scalar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elliptic_ecdh.html b/docs/module-crypto_public_key_elliptic_ecdh.html
deleted file mode 100644
index 0e7b980a..00000000
--- a/docs/module-crypto_public_key_elliptic_ecdh.html
+++ /dev/null
@@ -1,6517 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elliptic/ecdh
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elliptic/ecdh
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Key encryption and decryption for RFC 6637 ECDH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) decrypt(oid, kdfParams, V, C, Q, d, fingerprint) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypt and unwrap the value derived from session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- kdfParams
-
-
-
-
-
-module:type/kdf_params
-
-
-
-
-
-
-
-
-
- KDF params including cipher and algorithm to use
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- C
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Encrypted and wrapped value derived from session key
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
- fingerprint
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient fingerprint, already truncated depending on the key version
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Value derived from session key.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) decrypt(algo, ephemeralPublicKey, wrappedKey,, A, k) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypt and unwrap the session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- ephemeralPublicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- (K_A)
-
-
-
-
-
-
- wrappedKey,
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- A
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key (K_b), needed for KDF
-
-
-
-
-
-
- k
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient secret key (b)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
decrypted session key data
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) encrypt(oid, kdfParams, data, Q, fingerprint) → {Promise.<{publicKey: Uint8Array, wrappedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Encrypt and wrap a session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- kdfParams
-
-
-
-
-
-module:type/kdf_params
-
-
-
-
-
-
-
-
-
- KDF params including cipher and algorithm to use
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Unpadded session key data
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- fingerprint
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient fingerprint, already truncated depending on the key version
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, wrappedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) encrypt(algo, data, recipientA) → {Promise.<{ephemeralPublicKey: Uint8Array, wrappedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Wrap and encrypt a session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- session key data to be encrypted
-
-
-
-
-
-
- recipientA
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key (K_B)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
ephemeral public key (K_A) and encrypted key
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{ephemeralPublicKey: Uint8Array, wrappedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) generate(algo) → {Promise.<{A: Uint8Array, k: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDH key for Montgomery curves
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{A: Uint8Array, k: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) generateEphemeralEncryptionMaterial() → {Promise.<{ephemeralPublicKey: Uint8Array, sharedSecret: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate shared secret and ephemeral public key for encryption
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
ephemeral public key (K_A) and shared secret
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{ephemeralPublicKey: Uint8Array, sharedSecret: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(oid, Q, d) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ECDH parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH public point
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH secret scalar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(algo, A, k) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ECDH parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- A
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH public point
-
-
-
-
-
-
- k
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH secret scalar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) assertNonZeroArray(sharedSecret)
-
-
-
-
-
-
-
-
x25519 and x448 produce an all-zero value when given as input a point with small order.
-This does not lead to a security issue in the context of ECDH, but it is still unexpected,
-hence we throw.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- sharedSecret
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) genPrivateEphemeralKey(curve, V, Q, d) → {Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE secret from private key and public part of ephemeral key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) genPublicEphemeralKey(curve, Q) → {Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE ephemeral key and secret from public key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) nodePrivateEphemeralKey(curve, V, d) → {Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE secret from private key and public part of ephemeral key using nodeCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) nodePublicEphemeralKey(curve, Q) → {Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE ephemeral key and secret from public key using nodeCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) webPrivateEphemeralKey(curve, V, Q, d) → {Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE secret from private key and public part of ephemeral key using webCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) webPublicEphemeralKey(curve, Q) → {Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE ephemeral key and secret from public key using webCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Key encryption and decryption for RFC 6637 ECDH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) decrypt(oid, kdfParams, V, C, Q, d, fingerprint) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypt and unwrap the value derived from session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- kdfParams
-
-
-
-
-
-module:type/kdf_params
-
-
-
-
-
-
-
-
-
- KDF params including cipher and algorithm to use
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- C
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Encrypted and wrapped value derived from session key
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
- fingerprint
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient fingerprint, already truncated depending on the key version
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Value derived from session key.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) decrypt(algo, ephemeralPublicKey, wrappedKey,, A, k) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
Decrypt and unwrap the session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- ephemeralPublicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- (K_A)
-
-
-
-
-
-
- wrappedKey,
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- A
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key (K_b), needed for KDF
-
-
-
-
-
-
- k
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient secret key (b)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
decrypted session key data
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) encrypt(oid, kdfParams, data, Q, fingerprint) → {Promise.<{publicKey: Uint8Array, wrappedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Encrypt and wrap a session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- kdfParams
-
-
-
-
-
-module:type/kdf_params
-
-
-
-
-
-
-
-
-
- KDF params including cipher and algorithm to use
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Unpadded session key data
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- fingerprint
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient fingerprint, already truncated depending on the key version
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, wrappedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) encrypt(algo, data, recipientA) → {Promise.<{ephemeralPublicKey: Uint8Array, wrappedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Wrap and encrypt a session key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- session key data to be encrypted
-
-
-
-
-
-
- recipientA
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key (K_B)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
ephemeral public key (K_A) and encrypted key
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{ephemeralPublicKey: Uint8Array, wrappedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) generate(algo) → {Promise.<{A: Uint8Array, k: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDH key for Montgomery curves
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{A: Uint8Array, k: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) generateEphemeralEncryptionMaterial() → {Promise.<{ephemeralPublicKey: Uint8Array, sharedSecret: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate shared secret and ephemeral public key for encryption
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
ephemeral public key (K_A) and shared secret
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{ephemeralPublicKey: Uint8Array, sharedSecret: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(oid, Q, d) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ECDH parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH public point
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH secret scalar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(algo, A, k) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ECDH parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- A
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH public point
-
-
-
-
-
-
- k
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDH secret scalar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) assertNonZeroArray(sharedSecret)
-
-
-
-
-
-
-
-
x25519 and x448 produce an all-zero value when given as input a point with small order.
-This does not lead to a security issue in the context of ECDH, but it is still unexpected,
-hence we throw.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- sharedSecret
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) genPrivateEphemeralKey(curve, V, Q, d) → {Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE secret from private key and public part of ephemeral key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) genPublicEphemeralKey(curve, Q) → {Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE ephemeral key and secret from public key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) nodePrivateEphemeralKey(curve, V, d) → {Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE secret from private key and public part of ephemeral key using nodeCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) nodePublicEphemeralKey(curve, Q) → {Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE ephemeral key and secret from public key using nodeCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) webPrivateEphemeralKey(curve, V, Q, d) → {Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE secret from private key and public part of ephemeral key using webCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- V
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public part of ephemeral key
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient private key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{secretKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) webPublicEphemeralKey(curve, Q) → {Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate ECDHE ephemeral key and secret from public key using webCrypto
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- curve
-
-
-
-
-
-CurveWithOID
-
-
-
-
-
-
-
-
-
- Elliptic curve object
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Recipient public key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{publicKey: Uint8Array, sharedKey: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elliptic_ecdsa.html b/docs/module-crypto_public_key_elliptic_ecdsa.html
deleted file mode 100644
index 2ad06562..00000000
--- a/docs/module-crypto_public_key_elliptic_ecdsa.html
+++ /dev/null
@@ -1,1017 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elliptic/ecdsa
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elliptic/ecdsa
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Implementation of ECDSA following RFC6637 for Openpgpjs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) sign(oid, hashAlgo, message, publicKey, privateKey, hashed) → {Promise.<{r: Uint8Array, s: Uint8Array}>}
-
-
-
-
-
-
-
-
Sign a message using the provided key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm used to sign
-
-
-
-
-
-
- message
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to sign
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public key
-
-
-
-
-
-
- privateKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Private key used to sign the message
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Signature of the message
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{r: Uint8Array, s: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(oid, Q, d) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate ECDSA parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDSA public point
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- ECDSA secret scalar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) verify(oid, hashAlgo, signature, message, publicKey, hashed) → {Boolean}
-
-
-
-
-
-
-
-
Verifies if a signature is valid for a message
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm used in the signature
-
-
-
-
-
-
- signature
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Signature to verify
-
-
-
-
-
-
- message
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to verify
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public key used to verify the message
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) jsVerify()
-
-
-
-
-
-
-
-
Fallback javascript implementation of ECDSA verification.
-To be used if no native implementation is available for the given curve/operation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elliptic_eddsa.html b/docs/module-crypto_public_key_elliptic_eddsa.html
deleted file mode 100644
index f553ab7b..00000000
--- a/docs/module-crypto_public_key_elliptic_eddsa.html
+++ /dev/null
@@ -1,1106 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elliptic/eddsa
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elliptic/eddsa
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Implementation of EdDSA following RFC4880bis-03 for OpenPGP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) generate(algo) → {Promise.<{A: Uint8Array, seed: Uint8Array}>}
-
-
-
-
-
-
-
-
Generate (non-legacy) EdDSA key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{A: Uint8Array, seed: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) sign(algo, hashAlgo, message, publicKey, privateKey, hashed) → {Promise.<{RS: Uint8Array}>}
-
-
-
-
-
-
-
-
Sign a message using the provided key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm used to sign (must be sha256 or stronger)
-
-
-
-
-
-
- message
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to sign
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public key
-
-
-
-
-
-
- privateKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Private key used to sign the message
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Signature of the message
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{RS: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(algo, A, seed, oid) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate (non-legacy) EdDSA parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- A
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- EdDSA public point
-
-
-
-
-
-
- seed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- EdDSA secret seed
-
-
-
-
-
-
- oid
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- (legacy only) EdDSA OID
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) verify(algo, hashAlgo, signature, m, publicKey, hashed) → {Boolean}
-
-
-
-
-
-
-
-
Verifies if a signature is valid for a message
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Algorithm identifier
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm used in the signature
-
-
-
-
-
-
- signature
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Signature to verify the message
-
-
-
-
-
-
- m
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to verify
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public key used to verify the message
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_elliptic_eddsa_legacy.html b/docs/module-crypto_public_key_elliptic_eddsa_legacy.html
deleted file mode 100644
index 21e8f0f9..00000000
--- a/docs/module-crypto_public_key_elliptic_eddsa_legacy.html
+++ /dev/null
@@ -1,927 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/elliptic/eddsa_legacy
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/elliptic/eddsa_legacy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Implementation of legacy EdDSA following RFC4880bis-03 for OpenPGP.
-This key type has been deprecated by the crypto-refresh RFC.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) sign(oid, hashAlgo, message, publicKey, privateKey, hashed) → {Promise.<{r: Uint8Array, s: Uint8Array}>}
-
-
-
-
-
-
-
-
Sign a message using the provided legacy EdDSA key
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm used to sign (must be sha256 or stronger)
-
-
-
-
-
-
- message
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to sign
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public key
-
-
-
-
-
-
- privateKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Private key used to sign the message
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Signature of the message
-
-
-
-
-
-
- Type
-
-
-
-Promise.<{r: Uint8Array, s: Uint8Array}>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(oid, Q, k) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate legacy EdDSA parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- Q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- EdDSA public point
-
-
-
-
-
-
- k
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- EdDSA secret seed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) verify(oid, hashAlgo, signature, m, publicKey, hashed) → {Boolean}
-
-
-
-
-
-
-
-
Verifies if a legacy EdDSA signature is valid for a message
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- oid
-
-
-
-
-
-module:type/oid
-
-
-
-
-
-
-
-
-
- Elliptic curve object identifier
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm used in the signature
-
-
-
-
-
-
- signature
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Signature to verify the message
-
-
-
-
-
-
- m
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message to verify
-
-
-
-
-
-
- publicKey
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Public key used to verify the message
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_public_key_rsa.html b/docs/module-crypto_public_key_rsa.html
deleted file mode 100644
index 44ae2714..00000000
--- a/docs/module-crypto_public_key_rsa.html
+++ /dev/null
@@ -1,2369 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/public_key/rsa
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/public_key/rsa
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) decrypt(m, n, e, d, p, q, u, randomPayload) → {Promise.<String>}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- m
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public modulus
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public exponent
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private exponent
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private prime p
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private prime q
-
-
-
-
-
-
- u
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private coefficient
-
-
-
-
-
-
- randomPayload
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data to return on decryption error, instead of throwing
-(needed for constant-time processing)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Throws:
-
-
-
-
-
-
-
on decryption error, unless randomPayload is given
-
-
-
-
-
-
- Type
-
-
-
-Error
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<String>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) encrypt(data, n, e) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public modulus
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public exponent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) generate(bits, e) → {Object}
-
-
-
-
-
-
-
-
Generate a new random private key B bits long with public exponent E.
-
When possible, webCrypto or nodeCrypto is used. Otherwise, primes are generated using
-40 rounds of the Miller-Rabin probabilistic random prime generation algorithm.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- bits
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- RSA bit length
-
-
-
-
-
-
- e
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- RSA public exponent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
- See:
-
-
- module:crypto/public_key/prime
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
RSA public modulus, RSA public exponent, RSA private exponent,
-RSA private prime p, RSA private prime q, u = p ** -1 mod q
-
-
-
-
-
-
- Type
-
-
-
-Object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) sign(hashAlgo, data, n, e, d, p, q, u, hashed) → {Promise.<Uint8Array>}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public modulus
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public exponent
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private exponent
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private prime p
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private prime q
-
-
-
-
-
-
- u
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private coefficient
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) validateParams(n, e, d, p, q, u) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Validate RSA parameters
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public modulus
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public exponent
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private exponent
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private prime p
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA private prime q
-
-
-
-
-
-
- u
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA inverse of p w.r.t. q
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Whether params are valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) verify(hashAlgo, data, s, n, e, hashed) → {Boolean}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Message
-
-
-
-
-
-
- s
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Signature
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public modulus
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- RSA public exponent
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Hashed message
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
- Type
-
-
-
-Boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) jwkToPrivate()
-
-
-
-
-
-
-
-
Convert JWK private key to OpenPGP private key params
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, inner) privateToJWK(hashAlgo, n, e, d, p, q, u)
-
-
-
-
-
-
-
-
Convert Openpgp private key params to jwk key according to
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- d
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- p
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- q
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- u
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (inner) publicToJWK(hashAlgo, n, e)
-
-
-
-
-
-
-
-
Convert Openpgp key public params to jwk key according to
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- n
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- e
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_random.html b/docs/module-crypto_random.html
deleted file mode 100644
index 939b1428..00000000
--- a/docs/module-crypto_random.html
+++ /dev/null
@@ -1,516 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/random
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/random
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Provides tools for retrieving secure randomness from browsers or Node.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) getRandomBigInteger(min, max) → {bigint}
-
-
-
-
-
-
-
-
Create a secure random BigInt that is greater than or equal to min and less than max.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- min
-
-
-
-
-
-bigint
-
-
-
-
-
-
-
-
-
- Lower bound, included
-
-
-
-
-
-
- max
-
-
-
-
-
-bigint
-
-
-
-
-
-
-
-
-
- Upper bound, excluded
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-bigint
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) getRandomBytes(length) → {Uint8Array}
-
-
-
-
-
-
-
-
Retrieve secure random byte array of the specified length
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- length
-
-
-
-
-
-Integer
-
-
-
-
-
-
-
-
-
- Length in bytes to generate
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-crypto_signature.html b/docs/module-crypto_signature.html
deleted file mode 100644
index 2c7bb926..00000000
--- a/docs/module-crypto_signature.html
+++ /dev/null
@@ -1,917 +0,0 @@
-
-
-
-
-
JSDoc: Module: crypto/signature
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: crypto/signature
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Provides functions for asymmetric signing and signature verification
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (async, static) parseSignatureParams(algo, signature) → {Promise.<Object>}
-
-
-
-
-
-
-
-
Parse signature in binary form to get the parameters.
-The returned values are only padded for EdDSA, since in the other cases their expected length
-depends on the key params, hence we delegate the padding to the signature verification function.
-See RFC 4880 9.1
-See RFC 4880 5.2.2.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Public key algorithm
-
-
-
-
-
-
- signature
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data for which the signature was created
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
True if signature is valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Object>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) sign(algo, hashAlgo, publicKeyParams, privateKeyParams, data, hashed) → {Promise.<Object>}
-
-
-
-
-
-
-
-
Creates a signature on data using specified algorithms and private key parameters.
-See RFC 4880 9.1
-and RFC 4880 9.4
-for public key and hash algorithms.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Public key algorithm
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm
-
-
-
-
-
-
- publicKeyParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Algorithm-specific public and private key parameters
-
-
-
-
-
-
- privateKeyParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Algorithm-specific public and private key parameters
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data to be signed
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed data
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Signature Object containing named signature parameters.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Object>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (async, static) verify(algo, hashAlgo, signature, publicParams, data, hashed) → {Promise.<Boolean>}
-
-
-
-
-
-
-
-
Verifies the signature provided for data using specified algorithms and public key parameters.
-See RFC 4880 9.1
-and RFC 4880 9.4
-for public key and hash algorithms.
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- algo
-
-
-
-
-
-module:enums.publicKey
-
-
-
-
-
-
-
-
-
- Public key algorithm
-
-
-
-
-
-
- hashAlgo
-
-
-
-
-
-module:enums.hash
-
-
-
-
-
-
-
-
-
- Hash algorithm
-
-
-
-
-
-
- signature
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Named algorithm-specific signature parameters
-
-
-
-
-
-
- publicParams
-
-
-
-
-
-Object
-
-
-
-
-
-
-
-
-
- Algorithm-specific public key parameters
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- Data for which the signature was created
-
-
-
-
-
-
- hashed
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- The hashed data
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
True if signature is valid.
-
-
-
-
-
-
- Type
-
-
-
-Promise.<Boolean>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-encoding_base64.html b/docs/module-encoding_base64.html
deleted file mode 100644
index 7ab70659..00000000
--- a/docs/module-encoding_base64.html
+++ /dev/null
@@ -1,769 +0,0 @@
-
-
-
-
-
JSDoc: Module: encoding/base64
-
-
-
-
-
-
-
-
-
-
-
-
-
Module: encoding/base64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
-
- (static) b64ToUint8Array(base64) → {Uint8Array}
-
-
-
-
-
-
-
-
Convert a Base-64 encoded string an array of 8-bit integer
-
Note: accepts both Radix-64 and URL-safe strings
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- base64
-
-
-
-
-
-String
-
-
-
-
-
-
-
-
-
- Base-64 encoded string to convert
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
An array of 8-bit integers.
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) decode(data) → {Uint8Array|ReadableStream.<Uint8Array>}
-
-
-
-
-
-
-
-
Convert radix-64 to binary array
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- data
-
-
-
-
-
-String
-|
-
-ReadableStream.<String>
-
-
-
-
-
-
-
-
-
- Radix-64 string to convert
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Binary array version of input string.
-
-
-
-
-
-
- Type
-
-
-
-Uint8Array
-|
-
-ReadableStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) encode(data) → {String|ReadableStream.<String>}
-
-
-
-
-
-
-
-
Convert binary array to radix-64
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- data
-
-
-
-
-
-Uint8Array
-|
-
-ReadableStream.<Uint8Array>
-
-
-
-
-
-
-
-
-
- Uint8Array to convert
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Radix-64 version of input string.
-
-
-
-
-
-
- Type
-
-
-
-String
-|
-
-ReadableStream.<String>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- (static) uint8ArrayToB64(bytes, url) → {String}
-
-
-
-
-
-
-
-
Convert an array of 8-bit integer to a Base-64 encoded string
-
-
-
-
-
-
-
-
-
-
- Parameters:
-
-
-
-
-
-
- Name
-
-
- Type
-
-
-
-
-
- Description
-
-
-
-
-
-
-
-
- bytes
-
-
-
-
-
-Uint8Array
-
-
-
-
-
-
-
-
-
- An array of 8-bit integers to convert
-
-
-
-
-
-
- url
-
-
-
-
-
-bool
-
-
-
-
-
-
-
-
-
- If true, output is URL-safe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Source:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Returns:
-
-
-
-
Base-64 encoded string.
-
-
-
-
-
-
- Type
-
-
-
-String
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Functions Modules Classes
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/docs/module-enums.html b/docs/module-enums.html
index 0027e4db..3bc456da 100644
--- a/docs/module-enums.html
+++ b/docs/module-enums.html
@@ -235,7 +235,7 @@
Source:
@@ -499,7 +499,7 @@
Source:
@@ -694,7 +694,7 @@
Source:
@@ -1119,7 +1119,7 @@
Source:
@@ -1323,7 +1323,7 @@ fingerprint format
Source:
@@ -1633,7 +1633,7 @@ fingerprint format
Source:
@@ -1899,7 +1899,7 @@ possession of more than one person.
Source:
@@ -2094,7 +2094,7 @@ possession of more than one person.
Source:
@@ -2634,7 +2634,7 @@ possession of more than one person.
Source:
@@ -3060,7 +3060,7 @@ possession of more than one person.
Source:
@@ -3278,7 +3278,7 @@ possession of more than one person.
Source:
@@ -3496,7 +3496,7 @@ possession of more than one person.
Source:
@@ -4013,7 +4013,7 @@ document) that cannot include a target subpacket.
Source:
@@ -4737,7 +4737,7 @@ document) that cannot include a target subpacket.
Source:
@@ -5024,7 +5024,7 @@ document) that cannot include a target subpacket.
Source:
@@ -5220,7 +5220,7 @@ document) that cannot include a target subpacket.
Source:
@@ -5374,7 +5374,7 @@ document) that cannot include a target subpacket.
Source:
@@ -5590,7 +5590,7 @@ document) that cannot include a target subpacket.
Source:
@@ -5687,13 +5687,13 @@ document) that cannot include a target subpacket.
- Functions Modules Classes
+ Functions Modules Classes
diff --git a/docs/module-key_Subkey-Subkey.html b/docs/module-key_Subkey-Subkey.html
index c8db3740..6b043171 100644
--- a/docs/module-key_Subkey-Subkey.html
+++ b/docs/module-key_Subkey-Subkey.html
@@ -28,8 +28,7 @@