Skip to main content

Crate librnxengine

Crate librnxengine 

Source

Re-exports§

pub use crate::activation::ActivationRequest;
pub use crate::activation::ActivationResponse;
pub use crate::client::LicenseClient;
pub use crate::crypto::KeyPair;
pub use crate::engine::LicenseEngine;
pub use crate::error::LicenseError;
pub use crate::hardware::HardwareFingerprint;
pub use crate::license::License;
pub use crate::license::LicenseFeatures;
pub use crate::license::LicensePayload;
pub use crate::validation::LicenseValidator;
pub use crate::validation::ValidationResult;

Modules§

activation
librnxengine - Comprehensive License Management System for Rust Applications
client
HTTP client for remote license server operations.
crypto
Cryptographic primitives for license signing and verification.
engine
Core license engine for creation, validation, and management.
error
Comprehensive error types for all license operations.
hardware
Hardware fingerprint generation for device identification.
license
License data structures and serialization formats.
validation
Validation logic and result reporting.

Structs§

DateTime
Re-exports chrono types for convenient date/time handling.
Utc
Re-exports chrono types for convenient date/time handling.
Uuid
Re-exports UUID type for identifier generation.

Constants§

DEFAULT_API_PATH_PREFIX
Default license server API path prefix.
DEFAULT_LICENSE_EXTENSION
Default license file extension.
DEFAULT_PUBKEY_EXTENSION
Default public key file extension.
LIBRARY_VERSION
Current version of the librnxengine library.
MAX_LICENSE_SIZE
Maximum license size in bytes.
MSRV
Minimum supported Rust version (MSRV).
SUPPORTED_ALGORITHMS
Supported signature algorithms.

Traits§

LicenseStorage
Trait for applications to implement custom license storage.
LicenseValidationHook
Trait for applications to implement custom license validation hooks.

Functions§

development_license_config
Returns a development/testing license configuration.
flexible_license_config
Returns a flexible license configuration for user-friendly applications.
generate_keypair
Generates a new cryptographic key pair.
is_hardware_fingerprint_supported
Checks if the current system supports hardware fingerprint generation.
new_license_client
Creates a new license client with the specified base URL.
new_license_engine
Creates a new license engine with default configuration.
strict_license_config
Returns a strict license configuration for high-security applications.
validate_license_format
Validates that a license string is properly formatted.

Type Aliases§

ActivationToken
Alias for activation token type.
FeatureList
Alias for feature list type.
HardwareFingerprintString
Alias for hardware fingerprint type.
LicenseId
Alias for license ID type for cleaner code.
LicenseMetadata
Alias for license metadata type.