MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / isRFC2822UserId

Method isRFC2822UserId

src/modules/KeyringLocal.js:308–311  ·  view source on GitHub ↗
(user)

Source from the content-addressed store, hash-verified

306 }
307
308 isRFC2822UserId(user) {
309 const {userID} = UserIDPacket.fromObject(user.userID);
310 return userID === user.userID.userID;
311 }
312
313 async setKeyPwd(unlockedKey, passphrase) {
314 const updatedKey = await encryptKey({privateKey: unlockedKey, passphrase});

Callers 2

setKeyExDateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected