java.lang.Object | ||||
↳ | org.bouncycastle.asn1.ASN1Encodable | |||
↳ | org.bouncycastle.asn1.DERObject | |||
↳ | org.bouncycastle.asn1.ASN1Object | |||
↳ | org.bouncycastle.asn1.DERPrintableString |
DER PrintableString object.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From interface
org.bouncycastle.asn1.DERTags
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
basic constructor - byte encoded string.
| |||||||||||
basic constructor - this does not validate the string
| |||||||||||
Constructor with optional validation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
return a Printable String from a tagged object.
| |||||||||||
return a printable string from the passed in object.
| |||||||||||
return true if the passed in String can be represented without
loss as a PrintableString, false otherwise.
| |||||||||||
[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
|
basic constructor - byte encoded string.
Constructor with optional validation.
string | the base string to wrap. |
---|---|
validate | whether or not to check the string. |
IllegalArgumentException | if validate is true and the string contains characters that should not be in a PrintableString. |
---|
return a Printable String from a tagged object.
obj | the tagged object holding the object we want |
---|---|
explicit | true if the object is meant to be explicitly tagged false otherwise. |
IllegalArgumentException | if the tagged object cannot be converted. |
---|
return a printable string from the passed in object.
IllegalArgumentException | if the object cannot be converted. |
---|
return true if the passed in String can be represented without loss as a PrintableString, false otherwise.