MCPcopy
hub / github.com/mailvelope/mailvelope / getPreferredKeyring

Function getPreferredKeyring

src/modules/keyring.js:545–548  ·  view source on GitHub ↗
(keyringId)

Source from the content-addressed store, hash-verified

543 * @return {KeyringBase}
544 */
545export async function getPreferredKeyring(keyringId) {
546 await keyringInitialized;
547 return getKeyringWithPrivKey(null, keyringId);
548}
549
550/**
551 * Check if any keyring in the preferred queue for the given keyring holds a private key.

Callers 3

keyring-test.jsFile · 0.90
verifyMessageFunction · 0.90
verifyDetachedSignatureFunction · 0.90

Calls 1

getKeyringWithPrivKeyFunction · 0.85

Tested by

no test coverage detected