Crate ece[][src]

Re-exports

pub use crate::crypto::Cryptographer;
pub use crate::crypto::EcKeyComponents;
pub use crate::crypto::LocalKeyPair;
pub use crate::crypto::RemotePublicKey;

Modules

crypto
legacy

Structs

Aes128GcmEceWebPush

Web Push encryption structure for the AES128GCM encoding scheme (RFC8591)

AesGcmEceWebPush

Web Push encryption structure for the legacy AESGCM encoding scheme (Web Push Encryption Draft 4)

AesGcmEncryptedBlock
WebPushParams

Enums

Error

Constants

ECE_WEBPUSH_AUTH_SECRET_LENGTH

Functions

decrypt

Decrypt a block using default AES128GCM encoding.

encrypt

Encrypt a block using default AES128GCM encoding.

generate_keypair_and_auth_secret

Generate a local ECE key pair and auth nonce.

Type Definitions

Result