seedPublicOnly method
Seed only the public half — a sender who can encapsulate to a recipient but cannot decapsulate, which is every cross-atSign sender.
Implementation
String seedPublicOnly(
String owner,
String namespace, {
required Uint8List publicKey,
String keyAlgo = SecretSharingAlgos.xWing,
}) {
final advertisement = NskeyAdvertisement.single(
publicKey: publicKey,
alg: keyAlgo,
suites: SecretSharingAlgos.openableSuitesFor(keyAlgo),
);
_current[_scope(owner, namespace)] = advertisement;
return advertisement.nskeyKid;
}