notifyNewKeyCreated method

Future<void> notifyNewKeyCreated(
  1. CardinalApis apis,
  2. CardinalRsaPrivateKey key
)

Notifies that a new key for the current data owner was created. This method is called after the initialization of the other SDK apis. @param apis the initialized cardinal apis. @param key the newly created key. @param cryptoPrimitives cryptographic primitives you can use to support the process.

Implementation

Future<void> notifyNewKeyCreated(
  CardinalApis apis,
  CardinalRsaPrivateKey key,
) {
  return Future.value();
}