Class DistributionPointName

  • All Implemented Interfaces:
    ASN1Choice, ASN1Encodable, Encodable

    public class DistributionPointName
    extends ASN1Object
    implements ASN1Choice
    The DistributionPointName object.
     DistributionPointName ::= CHOICE {
         fullName                 [0] GeneralNames,
         nameRelativeToCRLIssuer  [1] RDN
     }
     
    • Constructor Detail

      • DistributionPointName

        public DistributionPointName​(int type,
                                     ASN1Encodable name)
      • DistributionPointName

        public DistributionPointName​(GeneralNames name)
    • Method Detail

      • getType

        public int getType()
        Return the tag number applying to the underlying choice.
        Returns:
        the tag number for this point name.
      • getName

        public ASN1Encodable getName()
        Return the tagged object inside the distribution point name.
        Returns:
        the underlying choice item.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object