diff options
author | David Hook <dgh@cryptoworkshop.com> | 2014-07-25 15:08:05 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2014-07-25 15:08:05 +0400 |
commit | 7107f91d9199401a19d4518d7c6b0f89e509d378 (patch) | |
tree | a33f070dba3448e543cf441b5056213de45c0eb6 | |
parent | 0c355df80e54af5d5b8573b07888096b83a3da9e (diff) |
Earlier JDK compatibility updates
-rw-r--r-- | pkix/src/main/j2me/org/bouncycastle/cms/CMSAuthenticatedGenerator.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/pkix/src/main/j2me/org/bouncycastle/cms/CMSAuthenticatedGenerator.java b/pkix/src/main/j2me/org/bouncycastle/cms/CMSAuthenticatedGenerator.java deleted file mode 100644 index 7749a6c3..00000000 --- a/pkix/src/main/j2me/org/bouncycastle/cms/CMSAuthenticatedGenerator.java +++ /dev/null @@ -1,41 +0,0 @@ -package org.bouncycastle.cms; - -import java.util.HashMap; -import java.util.Map; - -import org.bouncycastle.asn1.ASN1ObjectIdentifier; -import org.bouncycastle.asn1.x509.AlgorithmIdentifier; -import org.bouncycastle.util.Arrays; - -public class CMSAuthenticatedGenerator - extends CMSEnvelopedGenerator -{ - protected CMSAttributeTableGenerator authGen; - protected CMSAttributeTableGenerator unauthGen; - - /** - * base constructor - */ - public CMSAuthenticatedGenerator() - { - } - - public void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator authGen) - { - this.authGen = authGen; - } - - public void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthGen) - { - this.unauthGen = unauthGen; - } - - protected Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) - { - Map param = new HashMap(); - param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType); - param.put(CMSAttributeTableGenerator.DIGEST_ALGORITHM_IDENTIFIER, digAlgId); - param.put(CMSAttributeTableGenerator.DIGEST, Arrays.clone(hash)); - return param; - } -} |