licensify library

Classes

ActiveLicenseStatus
Status indicating the license is valid and active
ArrayValidator
Validator for array values
CryptoUtils
Helper class for cryptographic operations
DecryptDataUseCase
Decrypt data use case
ECCipher
Class for encrypting and decrypting data using EC keys
ECDHCryptoUtils
Utility for working with ECDH encryption
EcdsaKeyGenerator
Utility for generating ECDSA key pairs with customizable parameters
EcdsaParamsConverter
Utility for converting ECDSA parameters to PEM format
EncryptDataUseCase
Encrypt data use case
ErrorLicenseStatus
Status indicating an error occurred during license checking
ExpiredLicenseStatus
Status indicating the license has expired
FieldValidator
Interface for field validators
GetLicenseStatusUseCase
IDecryptDataUseCase
Interface for decrypt data use case
IEncryptDataUseCase
Interface for encrypt data use case
ILicenseEncoder
ILicenseGenerator
ILicenseRepository
Repository interface for license operations
ILicenseRequestDecrypter
ILicenseRequestGenerator
ILicenseStorage
Storage interface for license data persistence
ILicenseValidator
Interface for license validator
InMemoryLicenseStorage
In-memory implementation of license storage (for testing or specific scenarios)
InvalidLicenseDeviceHashStatus
Status indicating the license device hash is invalid
InvalidLicenseSchemaStatus
Status indicating the license schema is invalid
InvalidLicenseSignatureStatus
Status indicating the license signature is invalid
ISignDataUseCase
Interface for the sign data use case
IVerifySignatureUseCase
Interface for the verify signature use case
License
License domain entity
LicenseDto
License data transfer object
LicenseEncoder
Encoder for license data
LicenseEncoderImpl
Utilities for working with the binary license file format
LicenseGenerator
Use case for generating a new license
LicenseMapper
LicenseRepository
Implementation of the license repository
LicenseRequest
License request model
LicenseRequestDecrypter
Decrypter for license requests
LicenseRequestGenerator
License request generator
LicenseSchema
Defines schema for license fields validation
LicenseStatus
Base class for license status
LicenseType
License type representation
LicenseValidator
Implementation of license validator
LicensifyKey
Base class for all cryptographic keys
LicensifyKeyImporter
Utility for importing cryptographic keys from PEM format
LicensifyKeyPair
Represents a cryptographic key pair (private and public keys)
LicensifyPrivateKey
Represents a private key used for signing licenses
LicensifyPublicKey
Represents a public key used for validating licenses
LocalPSSSigner
NoLicenseStatus
Status indicating no license is installed
NumberValidator
Validator for numeric values
ObjectValidator
Validator for object/map values
RsaKeyGenerator
Utility for generating RSA key pairs
SchemaField
Defines a field in the schema
SchemaValidationResult
Result of a validation operation
SignDataUseCase
Implementation of the sign data use case
StringUtils
Helper class for String operations
StringValidator
Validator for string values
ValidationResult
Validation result
VerifySignatureUseCase
Implementation of the verify signature use case

Enums

EcCurve
Supported ECDSA curves
FieldType
Types supported in schema fields
LicensifyKeyType
Cryptographic key type
SecureRandomAlgorithm
Secure random algorithm to use

Extensions

LicensifyDateTimeExtensions on DateTime
Extension methods for DateTime to support license operations

Typedefs

IDeviceHashGenerator = FutureOr<String> Function()

Exceptions / Errors

LicenseFormatException