public class DistributionPointName extends ASN1Encodable implements ASN1Choice
DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
Modifier and Type | Field and Description |
---|---|
static int |
FULL_NAME |
(package private) DEREncodable |
name |
static int |
NAME_RELATIVE_TO_CRL_ISSUER |
(package private) int |
type |
BER, DER
Constructor and Description |
---|
DistributionPointName(ASN1TaggedObject obj) |
DistributionPointName(int type,
ASN1Encodable name) |
DistributionPointName(int type,
DEREncodable name) |
Modifier and Type | Method and Description |
---|---|
private void |
appendObject(java.lang.StringBuffer buf,
java.lang.String sep,
java.lang.String name,
java.lang.String value) |
static DistributionPointName |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static DistributionPointName |
getInstance(java.lang.Object obj) |
ASN1Encodable |
getName()
Return the tagged object inside the distribution point name.
|
int |
getType()
Return the tag number applying to the underlying choice.
|
DERObject |
toASN1Object() |
java.lang.String |
toString() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
DEREncodable name
int type
public static final int FULL_NAME
public static final int NAME_RELATIVE_TO_CRL_ISSUER
public DistributionPointName(int type, DEREncodable name)
public DistributionPointName(int type, ASN1Encodable name)
public DistributionPointName(ASN1TaggedObject obj)
public static DistributionPointName getInstance(ASN1TaggedObject obj, boolean explicit)
public static DistributionPointName getInstance(java.lang.Object obj)
public int getType()
public ASN1Encodable getName()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable
public java.lang.String toString()
toString
in class java.lang.Object
private void appendObject(java.lang.StringBuffer buf, java.lang.String sep, java.lang.String name, java.lang.String value)
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.