Something went wrong. Try again.
shiny crates that could help rewrite iTunes or smth
Something went wrong. Try again.
838 B · 23 lines
Rust
at main
123456789101112131415161718192021222324//! Device activation and connections to the Apple Push Service.//!//! Activation yields a device identity. The courier handshake then yields a//! push token. Neither operation requires an Apple account or anisette.
mod activation;mod connection;mod macos_signer;mod protocol;
pub use activation::{ ActivationDevice, ActivationError, ActivationSignature, ActivationSigner, IdentityError, PushIdentity, activate};pub use connection::{ ConnectError, Event, Notification, PushConnection, PushToken, SendError, SendStatus,};pub use macos_signer::MacOsActivationSigner;pub use protocol::CourierError;
/// DER-encoded Apple root needed by the push configuration HTTPS endpoint./// Add it to the HTTP client's trust store before connecting.pub const APPLE_ROOT_CA: &[u8] = include_bytes!("../certs/AppleRootCA.der");