Last updated:
0 purchases
kastela sdk dart
Kastela Client SDK for Dart / Flutter.
Getting started #
To start using the SDK, simply run :
flutter pub add kastela_sdk_dart
copied to clipboard
Then
flutter pub get
copied to clipboard
To import Kastela Client SDK
import 'package:kastela_sdk_dart/kastela_sdk_dart.dart';
copied to clipboard
Initialize Kastela Client SDK
KastelaClient client = KastelaClient(
https://some-sites.xyz, //Your Kastela URL
);
copied to clipboard
Usage #
Basic implementation of Secure Protection Send and Secure Vault Receive
SecureProtectionToken protectionToken = await client.secureChannelSend(
credential,
[[data]]
);
print("Token: ${protectionToken.tokens[0][0]}");
SecureVaultValues vaultValues = await client.secureVaultReceive(
credential,
[[vaultTokens]]
);
print("Vault Values: ${vaultValues.values[0][0]}");
copied to clipboard
Please refer to the example for more information about how to use the client SDK.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.