Class SinglePubInfo

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.crmf.SinglePubInfo
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class SinglePubInfo extends org.bouncycastle.asn1.ASN1Object
 SinglePubInfo ::= SEQUENCE {
        pubMethod    INTEGER {
           dontCare    (0),
           x500        (1),
           web         (2),
           ldap        (3) },
       pubLocation  GeneralName OPTIONAL }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.bouncycastle.asn1.ASN1Integer
     
    static final org.bouncycastle.asn1.ASN1Integer
     
    static final org.bouncycastle.asn1.ASN1Integer
     
    static final org.bouncycastle.asn1.ASN1Integer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SinglePubInfo(org.bouncycastle.asn1.ASN1Integer pubMethod, org.bouncycastle.asn1.x509.GeneralName pubLocation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.bouncycastle.asn1.x509.GeneralName
     
    org.bouncycastle.asn1.ASN1Integer
     
    org.bouncycastle.asn1.ASN1Primitive
    Return the primitive representation of SinglePubInfo.

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dontCare

      public static final org.bouncycastle.asn1.ASN1Integer dontCare
    • x500

      public static final org.bouncycastle.asn1.ASN1Integer x500
    • web

      public static final org.bouncycastle.asn1.ASN1Integer web
    • ldap

      public static final org.bouncycastle.asn1.ASN1Integer ldap
  • Constructor Details

    • SinglePubInfo

      public SinglePubInfo(org.bouncycastle.asn1.ASN1Integer pubMethod, org.bouncycastle.asn1.x509.GeneralName pubLocation)
  • Method Details

    • getInstance

      public static SinglePubInfo getInstance(Object o)
    • getPubMethod

      public org.bouncycastle.asn1.ASN1Integer getPubMethod()
    • getPubLocation

      public org.bouncycastle.asn1.x509.GeneralName getPubLocation()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Return the primitive representation of SinglePubInfo.
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      a basic ASN.1 object representation.