PqNativeActivationMaterial typedef

PqNativeActivationMaterial = ({({SigningAlgoType algorithm, String privateKey, String publicKey})? advertisedSigningKey, FutureOr<Map<String, dynamic>?> Function(AtKeysIo keysIo) metadataBuilder})

What a post-quantum activation puts on the request that creates the atSign's first enrollment: a data signing key the enrollment owns from birth, and the builder of the key package signed with that same key.

Implementation

typedef PqNativeActivationMaterial = ({
  ({
    SigningAlgoType algorithm,
    String publicKey,
    String privateKey
  })? advertisedSigningKey,
  FutureOr<Map<String, dynamic>?> Function(AtKeysIo keysIo) metadataBuilder,
});