Class DistributionPointName

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.DistributionPointName
All Implemented Interfaces:
ASN1Choice, ASN1Encodable, Encodable

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

RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
Per RFC 5280 sec. 4.2.1.13, nameRelativeToCRLIssuer is a single RelativeDistinguishedName (a SET of one or more attribute-type-and-value pairs) — never a sequence of RDNs. When two attributes need to be carried here they share one multi-valued RDN (e.g. O=Bouncy+OU=Test), not two adjacent RDNs (e.g. O=Bouncy,OU=Test); the CHOICE branch is decoded as an ASN1Set and a sequence-shaped input is rejected. The full DN of the distribution point is formed by appending this single RDN to the CRL issuer's RDNSequence (RFC 5280 sec. 5.2.5).
  • Field Details

  • Constructor Details

    • DistributionPointName

      public DistributionPointName(int type, ASN1Encodable name)
    • DistributionPointName

      public DistributionPointName(GeneralNames name)
    • DistributionPointName

      public DistributionPointName(ASN1TaggedObject obj)
  • Method Details