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 'pkix/src/main/java/org/bouncycastle/cms/CMSConfig.java')
-rw-r--r--pkix/src/main/java/org/bouncycastle/cms/CMSConfig.java34
1 files changed, 0 insertions, 34 deletions
diff --git a/pkix/src/main/java/org/bouncycastle/cms/CMSConfig.java b/pkix/src/main/java/org/bouncycastle/cms/CMSConfig.java
deleted file mode 100644
index fd6782dc..00000000
--- a/pkix/src/main/java/org/bouncycastle/cms/CMSConfig.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.bouncycastle.cms;
-
-import org.bouncycastle.asn1.ASN1ObjectIdentifier;
-
-public class CMSConfig
-{
- /**
- * Set the mapping for the encryption algorithm used in association with a SignedData generation
- * or interpretation.
- *
- * @param oid object identifier to map.
- * @param algorithmName algorithm name to use.
- */
- public static void setSigningEncryptionAlgorithmMapping(String oid, String algorithmName)
- {
- ASN1ObjectIdentifier id = new ASN1ObjectIdentifier(oid);
-
- CMSSignedHelper.INSTANCE.setSigningEncryptionAlgorithmMapping(id, algorithmName);
- }
-
- /**
- * Set the mapping for the digest algorithm to use in conjunction with a SignedData generation
- * or interpretation.
- *
- * @param oid object identifier to map.
- * @param algorithmName algorithm name to use.
- */
- public static void setSigningDigestAlgorithmMapping(String oid, String algorithmName)
- {
- ASN1ObjectIdentifier id = new ASN1ObjectIdentifier(oid);
-
- CMSSignedHelper.INSTANCE.setSigningDigestAlgorithmMapping(id, algorithmName);
- }
-}