Uses of Class
cloud.opencode.base.crypto.pgp.PgpCipher
Packages that use PgpCipher
-
Uses of PgpCipher in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return PgpCipher -
Uses of PgpCipher in cloud.opencode.base.crypto.pgp
Methods in cloud.opencode.base.crypto.pgp that return PgpCipherModifier and TypeMethodDescriptionstatic PgpCipherPgpCipher.create()Creates a new PGP cipher instance.PgpCipher.withCompression(boolean enabled) Enables or disables compression.PgpCipher.withIntegrityCheck(boolean enabled) Enables or disables integrity check.PgpCipher.withKeyPair(PgpKeyPair keyPair, String passphrase) Sets the key pair for both encryption and decryption.PgpCipher.withPublicKey(String armoredKey) Sets the public key from armored ASCII string.PgpCipher.withPublicKey(org.bouncycastle.openpgp.PGPPublicKey publicKey) Sets the public key for encryption.PgpCipher.withSecretKey(String armoredKey, String passphrase) Sets the secret key from armored ASCII string.PgpCipher.withSecretKey(org.bouncycastle.openpgp.PGPSecretKey secretKey, String passphrase) Sets the secret key for decryption.PgpCipher.withSymmetricAlgorithm(PgpAlgorithm.Symmetric algorithm) Sets the symmetric algorithm for encryption.