Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pg/src/main/java/org/bouncycastle/openpgp/operator/PGPDataDecryptorFactory.java')
-rw-r--r--pg/src/main/java/org/bouncycastle/openpgp/operator/PGPDataDecryptorFactory.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/pg/src/main/java/org/bouncycastle/openpgp/operator/PGPDataDecryptorFactory.java b/pg/src/main/java/org/bouncycastle/openpgp/operator/PGPDataDecryptorFactory.java
deleted file mode 100644
index 39ac30fd..00000000
--- a/pg/src/main/java/org/bouncycastle/openpgp/operator/PGPDataDecryptorFactory.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.bouncycastle.openpgp.operator;
-
-import org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags;
-import org.bouncycastle.openpgp.PGPException;
-
-/**
- * Base interface of factories for {@link PGPDataDecryptor}.
- */
-public interface PGPDataDecryptorFactory
-{
- /**
- * Constructs a data decryptor.
- *
- * @param withIntegrityPacket <code>true</code> if the packet to be decrypted has integrity
- * checking enabled.
- * @param encAlgorithm the identifier of the {@link SymmetricKeyAlgorithmTags encryption
- * algorithm} to decrypt with.
- * @param key the bytes of the key for the cipher.
- * @return a data decryptor that can decrypt (and verify) streams of encrypted data.
- * @throws PGPException if an error occurs initialising the decryption and integrity checking
- * functions.
- */
- public PGPDataDecryptor createDataDecryptor(boolean withIntegrityPacket, int encAlgorithm, byte[] key)
- throws PGPException;
-}