skeEncKeyName property

String? skeEncKeyName
getter/setter pair

When sharedKeyEnc is provided in the metadata, skeEncKeyName is the name of the public key which was used to encrypt it. skeEncKeyName is an abbreviation for the EncryptionKeyName used to encrypt the SharedKeyEncrypted.

  • If skeEncKeyName is null, then the name of the default public key is used. For example, if we are @bob and someone has shared data with us, and has provided the shared key inline in sharedKeyEnc, the default public key used is "public:publickey@bob".
  • When multiple asymmetric keypairs are in use, @bob will need to know which of them was used to encrypt sharedKeyEnc. skeEncKeyName will only be null when the legacy default public key was used; conversely if the legacy default public key was used then skeEncKeyName must be null. Non-null values must look like this "

Implementation

String? skeEncKeyName;