Top Fields Constructors Methods
org.bouncycastle.asn1.ocsp

public Class ResponderID

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1TaggedObject, .DEROctetString, .DERTaggedObject, org.bouncycastle.asn1.x500.X500Name

Field Summary

Modifier and TypeField and Description
private ASN1Encodable

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public static ResponderID
public static ResponderID
getInstance(ASN1TaggedObject obj, boolean explicit)

public byte[]
public X500Name
public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

valueback to summary
private ASN1Encodable value

Constructor Detail

ResponderIDback to summary
public ResponderID(ASN1OctetString value)
ResponderIDback to summary
public ResponderID(X500Name value)

Method Detail

getInstanceback to summary
public static ResponderID getInstance(Object obj)
getInstanceback to summary
public static ResponderID getInstance(ASN1TaggedObject obj, boolean explicit)
getKeyHashback to summary
public byte[] getKeyHash()
getNameback to summary
public X500Name getName()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Produce an object suitable for an ASN1OutputStream.

ResponderID ::= CHOICE {
     byName          [1] Name,
     byKey           [2] KeyHash }
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.