Class IssuingDistributionPoint

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.IssuingDistributionPoint
All Implemented Interfaces:
ASN1Encodable

public class IssuingDistributionPoint
extends ASN1Object
 IssuingDistributionPoint ::= SEQUENCE { 
   distributionPoint          [0] DistributionPointName OPTIONAL, 
   onlyContainsUserCerts      [1] BOOLEAN DEFAULT FALSE, 
   onlyContainsCACerts        [2] BOOLEAN DEFAULT FALSE, 
   onlySomeReasons            [3] ReasonFlags OPTIONAL, 
   indirectCRL                [4] BOOLEAN DEFAULT FALSE,
   onlyContainsAttributeCerts [5] BOOLEAN DEFAULT FALSE }
 
  • Constructor Details

    • IssuingDistributionPoint

      public IssuingDistributionPoint​(DistributionPointName distributionPoint, boolean onlyContainsUserCerts, boolean onlyContainsCACerts, ReasonFlags onlySomeReasons, boolean indirectCRL, boolean onlyContainsAttributeCerts)
      Constructor from given details.
      Parameters:
      distributionPoint - May contain an URI as pointer to most current CRL.
      onlyContainsUserCerts - Covers revocation information for end certificates.
      onlyContainsCACerts - Covers revocation information for CA certificates.
      onlySomeReasons - Which revocation reasons does this point cover.
      indirectCRL - If true then the CRL contains revocation information about certificates ssued by other CAs.
      onlyContainsAttributeCerts - Covers revocation information for attribute certificates.
    • IssuingDistributionPoint

      public IssuingDistributionPoint​(DistributionPointName distributionPoint, boolean indirectCRL, boolean onlyContainsAttributeCerts)
      Shorthand Constructor from given details.
      Parameters:
      distributionPoint - May contain an URI as pointer to most current CRL.
      indirectCRL - If true then the CRL contains revocation information about certificates ssued by other CAs.
      onlyContainsAttributeCerts - Covers revocation information for attribute certificates.
  • Method Details

    • getInstance

      public static IssuingDistributionPoint getInstance​(ASN1TaggedObject obj, boolean explicit)
    • getInstance

      public static IssuingDistributionPoint getInstance​(Object obj)
    • onlyContainsUserCerts

      public boolean onlyContainsUserCerts()
    • onlyContainsCACerts

      public boolean onlyContainsCACerts()
    • isIndirectCRL

      public boolean isIndirectCRL()
    • onlyContainsAttributeCerts

      public boolean onlyContainsAttributeCerts()
    • getDistributionPoint

      public DistributionPointName getDistributionPoint()
      Returns:
      Returns the distributionPoint.
    • getOnlySomeReasons

      public ReasonFlags getOnlySomeReasons()
      Returns:
      Returns the onlySomeReasons.
    • toASN1Primitive

      public ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object
    • toString

      public String toString()
      Description copied from class: Object
      Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
         getClass().getName() + '@' + Integer.toHexString(hashCode())

      See Writing a useful toString method if you intend implementing your own toString method.

      Overrides:
      toString in class Object
      Returns:
      a printable representation of this object.