Top Description Fields Constructors Methods
org.bouncycastle.asn1.crmf

public Class SinglePubInfo

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence, org.bouncycastle.asn1.x509.GeneralName

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

Field Summary

Modifier and TypeField and Description
public static final ASN1Integer
public static final ASN1Integer
private GeneralName
private ASN1Integer
public static final ASN1Integer
public static final ASN1Integer

Constructor Summary

AccessConstructor and Description
private
public
SinglePubInfo(ASN1Integer pubMethod, GeneralName pubLocation)

Method Summary

Modifier and TypeMethod and Description
public static SinglePubInfo
public GeneralName
public ASN1Integer
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Return the primitive representation of SinglePubInfo.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

dontCareback to summary
public static final ASN1Integer dontCare
ldapback to summary
public static final ASN1Integer ldap
pubLocationback to summary
private GeneralName pubLocation
pubMethodback to summary
private ASN1Integer pubMethod
webback to summary
public static final ASN1Integer web
x500back to summary
public static final ASN1Integer x500

Constructor Detail

SinglePubInfoback to summary
private SinglePubInfo(ASN1Sequence seq)
SinglePubInfoback to summary
public SinglePubInfo(ASN1Integer pubMethod, GeneralName pubLocation)

Method Detail

getInstanceback to summary
public static SinglePubInfo getInstance(Object o)
getPubLocationback to summary
public GeneralName getPubLocation()
getPubMethodback to summary
public ASN1Integer getPubMethod()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Return the primitive representation of SinglePubInfo.

Returns:ASN1Primitive

a basic ASN.1 object representation.