SinglePubInfo (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.asn1.crmf

## Class SinglePubInfo

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.crmf.SinglePubInfo

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class SinglePubInfo
      extends ASN1Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SinglePubInfo` | `getInstance(java.lang.Object o)`
    `GeneralName` | `getPubLocation()`
    `ASN1Primitive` | `toASN1Primitive()` SinglePubInfo ::= SEQUENCE { pubMethod INTEGER { dontCare (0), x500 (1), web (2), ldap (3) }, pubLocation GeneralName OPTIONAL }

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static SinglePubInfo getInstance(java.lang.Object o)

    - #### getPubLocation

          public GeneralName getPubLocation()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

           SinglePubInfo ::= SEQUENCE {
                  pubMethod    INTEGER {
                     dontCare    (0),
                     x500        (1),
                     web         (2),
                     ldap        (3) },
                 pubLocation  GeneralName OPTIONAL }

      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a basic ASN.1 object representation.