org.bouncycastle.asn1.crmf

Class SinglePubInfo

Implemented Interfaces:
DEREncodable

public class SinglePubInfo
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

static SinglePubInfo
getInstance(Object o)
GeneralName
getPubLocation()
DERObject
toASN1Object()
 SinglePubInfo ::= SEQUENCE {
        pubMethod    INTEGER {
           dontCare    (0),
           x500        (1),
           web         (2),
           ldap        (3) },
       pubLocation  GeneralName OPTIONAL }
 

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getInstance

public static SinglePubInfo getInstance(Object o)

getPubLocation

public GeneralName getPubLocation()

toASN1Object

public DERObject toASN1Object()
 SinglePubInfo ::= SEQUENCE {
        pubMethod    INTEGER {
           dontCare    (0),
           x500        (1),
           web         (2),
           ldap        (3) },
       pubLocation  GeneralName OPTIONAL }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.