Crypto class abstract

Available extensions

Constructors

Crypto()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCachesFor(String dataOwnerId) → void
decryptEncryptionKeys(String myId, Map<String, Set<DelegationDto>> keys) Future<Set<String>>
decryptServices(String myId, Uint8List? contactKey, List<ServiceDto> services) Future<List<DecryptedServiceDto>>

Available on Crypto, provided by the CryptoContact extension

encryptAESKeyForHcp(String myId, String delegateId, String objectId, String secret) Future<Tuple2<String, DataOwnerDto?>>
encryptRSAKeyUsing(String publicKey, String rsaPrivateKey) Future<String>
encryptServices(String myId, Set<String> delegations, Uint8List? contactKey, List<DecryptedServiceDto> services) Future<List<ServiceDto>>

Available on Crypto, provided by the CryptoContact extension

encryptValueForHcp(String myId, String delegateId, String objectId, String secret) Future<Tuple2<String, DataOwnerDto?>>
findAndDecryptPotentiallyUnknownKeysForDelegate(String myId, String delegateId, Map<String, Set<DelegationDto>> keys) Future<Set<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited