MCPcopy
hub / github.com/mailvelope/mailvelope / getKeyringAttr

Function getKeyringAttr

src/modules/keyring.js:335–338  ·  view source on GitHub ↗
(keyringId, attrKey)

Source from the content-addressed store, hash-verified

333 * @return {Any} either the attribute value if attrKey is provided, or an object map with all attributes
334 */
335export async function getKeyringAttr(keyringId, attrKey) {
336 await keyringInitialized;
337 return keyringAttr.get(keyringId, attrKey);
338}
339
340/**
341 * Get default key by interating through preferred keyring queue

Callers 7

keyring-test.jsFile · 0.90
getDefaultKeyFprMethod · 0.90
initMethod · 0.90
getAttributesMethod · 0.90
updateKeyBindingFunction · 0.90
getKeyBindingFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected