aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/j2me/org/spongycastle/asn1/DERFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/core/src/main/j2me/org/spongycastle/asn1/DERFactory.java')
-rw-r--r--libraries/spongycastle/core/src/main/j2me/org/spongycastle/asn1/DERFactory.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/libraries/spongycastle/core/src/main/j2me/org/spongycastle/asn1/DERFactory.java b/libraries/spongycastle/core/src/main/j2me/org/spongycastle/asn1/DERFactory.java
deleted file mode 100644
index c002ef6dd..000000000
--- a/libraries/spongycastle/core/src/main/j2me/org/spongycastle/asn1/DERFactory.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.spongycastle.asn1;
-
-class DERFactory
-{
- static final ASN1Sequence EMPTY_SEQUENCE = new DERSequence();
- static final ASN1Set EMPTY_SET = new DERSet();
-
- static ASN1Sequence createSequence(ASN1EncodableVector v)
- {
- if (v.size() < 1)
- {
- return EMPTY_SEQUENCE;
- }
- else
- {
- return new DLSequence(v);
- }
- }
-
- static ASN1Set createSet(ASN1EncodableVector v)
- {
- if (v.size() < 1)
- {
- return EMPTY_SET;
- }
- else
- {
- return new DLSet(v);
- }
- }
-}