1 package org.bouncycastle.asn1.x509;
3 import org.bouncycastle.asn1.*;
5 public class CRLDistPoint
6 implements DEREncodable
8 ASN1Sequence seq = null;
10 public static CRLDistPoint getInstance(
14 return getInstance(ASN1Sequence.getInstance(obj, explicit));
17 public static CRLDistPoint getInstance(
20 if (obj instanceof CRLDistPoint)
22 return (CRLDistPoint)obj;
24 else if (obj instanceof ASN1Sequence)
26 return new CRLDistPoint((ASN1Sequence)obj);
29 throw new IllegalArgumentException("unknown object in factory");
39 DistributionPoint[] points)
41 DEREncodableVector v = new DEREncodableVector();
43 for (int i = 0; i != points.length; i++)
48 seq = new DERSequence(v);
53 * CRLDistPoint ::= SEQUENCE SIZE {1..MAX} OF DistributionPoint
56 public DERObject getDERObject()