2002/03/21 01:19:32
[org.ibex.core.git] / src / org / bouncycastle / asn1 / x509 / GeneralNames.java
diff --git a/src/org/bouncycastle/asn1/x509/GeneralNames.java b/src/org/bouncycastle/asn1/x509/GeneralNames.java
new file mode 100644 (file)
index 0000000..e13ffb0
--- /dev/null
@@ -0,0 +1,25 @@
+package org.bouncycastle.asn1.x509;
+
+import org.bouncycastle.asn1.*;
+
+public class GeneralNames
+    implements DEREncodable
+{
+    DERConstructedSequence  seq;
+
+    public GeneralNames(
+        DERConstructedSequence  seq)
+    {
+        this.seq = seq;
+    }
+
+    /**
+     * <pre>
+     * GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
+     * </pre>
+     */
+    public DERObject getDERObject()
+    {
+        return seq;
+    }
+}