1 package org.bouncycastle.asn1.x509;
2
3 import org.bouncycastle.asn1.*;
4
5 public class DistributionPointName
6 implements DEREncodable
7 {
8 DEREncodable name;
9 int type;
10
11 public static final int FULL_NAME = 0;
12 public static final int NAME_RELATIVE_TO_CRL_ISSUER = 1;
13
14 public DistributionPointName(
15 int type,
16 DEREncodable name)
17 {
18 this.type = type;
19 this.name = name;
20 }
21
22
30 public DERObject getDERObject()
31 {
32 return new DERTaggedObject(false, type, name);
33 }
34 }
35