CryptoOperations
Singleton coordinator that delegates to individual engine helpers.
Each public function corresponds to one OpenPGP/S-MIME primitive and simply builds the matching engine request. Callers pass raw byte/char material; zeroing of passphrase buffers remains the responsibility of the caller.
Functions
Adds a subkey of subkeyType to an existing secret key ring.
Certifies (signs) userId on targetPublicArmored using the certifier's secret key, establishing a trust signature.
Re-encrypts the secret key ring, replacing oldPassphrase with newPassphrase.
Decrypts ciphertext using the given secret key ring and passphrase.
Encrypts a set of files into a single GnuPG-compatible encrypted tar.
Generates a new secret/public key ring for userId.
Produces a revocation certificate for the secret key, with optional reasonText.
Decrypts ciphertext using the S/MIME engine.
Encrypts plaintext using the S/MIME engine.
Password-based (symmetric) decryption of ciphertext.
Password-based (symmetric) encryption of plaintext.