public class

DERVisibleString

extends ASN1Object
implements DERString
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERVisibleString

Class Overview

DER VisibleString object.

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
Public Constructors
DERVisibleString(byte[] string)
basic constructor - byte encoded string.
DERVisibleString(String string)
basic constructor
Public Methods
static DERVisibleString getInstance(ASN1TaggedObject obj, boolean explicit)
return a Visible String from a tagged object.
static DERVisibleString getInstance(Object obj)
return a Visible String from the passed in object.
byte[] getOctets()
String getString()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.ASN1String
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public DERVisibleString (byte[] string)

basic constructor - byte encoded string.

public DERVisibleString (String string)

basic constructor

Public Methods

public static DERVisibleString getInstance (ASN1TaggedObject obj, boolean explicit)

return a Visible String from a tagged object.

Parameters
obj the tagged object holding the object we want
explicit true if the object is meant to be explicitly tagged false otherwise.
Throws
IllegalArgumentException if the tagged object cannot be converted.

public static DERVisibleString getInstance (Object obj)

return a Visible String from the passed in object.

Throws
IllegalArgumentException if the object cannot be converted.

public byte[] getOctets ()

public String getString ()

public int hashCode ()

public String toString ()