#security-framework #str0m #apple #back-end #web-rtc #dtls #common-crypto

str0m-apple-crypto

Apple CommonCrypto/Security framework backend for str0m WebRTC

5 releases

new 0.1.4 Jan 27, 2026
0.1.3 Jan 12, 2026
0.1.2 Jan 9, 2026
0.1.1 Dec 25, 2025
0.1.0 Dec 17, 2025

#2016 in Cryptography


Used in str0m

MIT/Apache

125KB
2.5K SLoC

Apple CommonCrypto/Security framework implementation of cryptographic functions. DTLS via dimpl with Apple CommonCrypto as crypto backend.


str0m-apple-crypto

Apple CommonCrypto/Security framework backend for str0m.

Usage

The primary way to use this backend is via the apple-crypto feature flag in str0m:

[dependencies]
str0m = { version = "0.14", features = ["apple-crypto"] }

Advanced: Direct usage

For advanced use cases, you can use this crate directly without enabling the feature flag:

use str0m::Rtc;
use std::sync::Arc;

// Set as process-wide default
str0m_apple_crypto::default_provider().install_process_default();

// Or configure per-instance
let rtc = Rtc::builder()
    .set_crypto_provider(Arc::new(str0m_apple_crypto::default_provider()))
    .build();

Dependencies

~6MB
~120K SLoC