Class DistributionPointName
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Choice
,io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class DistributionPointName extends ASN1Object implements ASN1Choice
The DistributionPointName object.
DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RDN }
-
-
Field Summary
Fields Modifier and Type Field Description public ASN1Encodable
name
public int
type
public final static int
FULL_NAME
public final static int
NAME_RELATIVE_TO_CRL_ISSUER
-
Constructor Summary
Constructors Constructor Description DistributionPointName(int type, ASN1Encodable name)
DistributionPointName(GeneralNames name)
DistributionPointName(ASN1TaggedObject obj)
-
Method Summary
Modifier and Type Method Description ASN1Encodable
getName()
Return the tagged object inside the distribution point name. int
getType()
Return the tag number applying to the underlying choice. static DistributionPointName
getInstance(ASN1TaggedObject obj, boolean explicit)
static DistributionPointName
getInstance(Object obj)
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. String
toString()
-
-
Constructor Detail
-
DistributionPointName
DistributionPointName(int type, ASN1Encodable name)
-
DistributionPointName
DistributionPointName(GeneralNames name)
-
DistributionPointName
DistributionPointName(ASN1TaggedObject obj)
-
-
Method Detail
-
getName
ASN1Encodable getName()
Return the tagged object inside the distribution point name.
- Returns:
the underlying choice item.
-
getType
int getType()
Return the tag number applying to the underlying choice.
- Returns:
the tag number for this point name.
-
getInstance
static DistributionPointName getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static DistributionPointName getInstance(Object obj)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-