aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/jcajce/JceKEKRecipientInfoGenerator.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/jcajce/JceKEKRecipientInfoGenerator.java')
-rw-r--r--libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/jcajce/JceKEKRecipientInfoGenerator.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/jcajce/JceKEKRecipientInfoGenerator.java b/libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/jcajce/JceKEKRecipientInfoGenerator.java
deleted file mode 100644
index 7a67de4a9..000000000
--- a/libraries/spongycastle/pkix/src/main/java/org/spongycastle/cms/jcajce/JceKEKRecipientInfoGenerator.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package org.spongycastle.cms.jcajce;
-
-import java.security.Provider;
-import java.security.SecureRandom;
-
-import javax.crypto.SecretKey;
-
-import org.spongycastle.asn1.cms.KEKIdentifier;
-import org.spongycastle.cms.KEKRecipientInfoGenerator;
-import org.spongycastle.operator.jcajce.JceSymmetricKeyWrapper;
-
-public class JceKEKRecipientInfoGenerator
- extends KEKRecipientInfoGenerator
-{
- public JceKEKRecipientInfoGenerator(KEKIdentifier kekIdentifier, SecretKey keyEncryptionKey)
- {
- super(kekIdentifier, new JceSymmetricKeyWrapper(keyEncryptionKey));
- }
-
- public JceKEKRecipientInfoGenerator(byte[] keyIdentifier, SecretKey keyEncryptionKey)
- {
- this(new KEKIdentifier(keyIdentifier, null, null), keyEncryptionKey);
- }
-
- public JceKEKRecipientInfoGenerator setProvider(Provider provider)
- {
- ((JceSymmetricKeyWrapper)this.wrapper).setProvider(provider);
-
- return this;
- }
-
- public JceKEKRecipientInfoGenerator setProvider(String providerName)
- {
- ((JceSymmetricKeyWrapper)this.wrapper).setProvider(providerName);
-
- return this;
- }
-
- public JceKEKRecipientInfoGenerator setSecureRandom(SecureRandom random)
- {
- ((JceSymmetricKeyWrapper)this.wrapper).setSecureRandom(random);
-
- return this;
- }
-}