resolveFieldDecryptKids
resolveFieldDecryptKids(
config,context):Promise<readonlystring[] |undefined>
Defined in: packages/core/src/crypto/key-selection.ts:71
The candidateKids to decrypt a field with: the envelope’s own kid first,
then every kid from resolveDecryptKeys. Without resolveDecryptKeys
it returns undefined, and the provider picks the key from its ciphertext.
Parameters
Section titled “Parameters”config
Section titled “config”context
Section titled “context”FieldCryptoKeyContext & object
Returns
Section titled “Returns”Promise<readonly string[] | undefined>