780ab1666096cb916ae9e68c9d34c53dd32d8f69
[org.ibex.core.git] / src / org / bouncycastle / asn1 / x509 / CRLDistPoint.java
1 package org.bouncycastle.asn1.x509;
2
3 import org.bouncycastle.asn1.*;
4
5 public class CRLDistPoint
6     implements DEREncodable
7 {
8     DERConstructedSequence  seq = null;
9
10     public CRLDistPoint(
11         DistributionPoint[] points)
12     {
13         seq = new DERConstructedSequence();
14
15         for (int i = 0; i != points.length; i++)
16         {
17             seq.addObject(points[i]);
18         }
19     }
20
21     /**
22      * <pre>
23      * CRLDistPoint ::= SEQUENCE SIZE {1..MAX} OF DistributionPoint
24      * </pre>
25      */
26     public DERObject getDERObject()
27     {
28         return seq;
29     }
30 }