VenturoApiSecurity class
Provides security configuration for API encryption.
This class manages private and public keys for encryption purposes and supports hashing configurations.
Constructors
- VenturoApiSecurity.new({String? PRIVATE_KEY, String? PUBLIC_KEY, Hash? hash})
- Constructor for setting up security configurations
Properties
- getHash → Hash?
-
Retrieves the currently set hashing algorithm
no setter
- hash ↔ Hash?
-
Hashing algorithm used for securing API data
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- PRIVATE_KEY ↔ String?
-
Private key used for encryption
getter/setter pair
- privateKey ↔ String?
-
getter/setter pair
- PUBLIC_KEY ↔ String?
-
Public key used for encryption
getter/setter pair
- publicKey ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setHash ← Hash
-
Sets the hashing algorithm
no getter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited