java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.DisplayText |
DisplayText
class, used in
CertificatePolicies
X509 V3 extensions (in policy qualifiers).
It stores a string in a chosen encoding.
DisplayText ::= CHOICE { ia5String IA5String (SIZE (1..200)), visibleString VisibleString (SIZE (1..200)), bmpString BMPString (SIZE (1..200)), utf8String UTF8String (SIZE (1..200)) }
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CONTENT_TYPE_BMPSTRING | Constant corresponding to bmpString encoding. | |||||||||
int | CONTENT_TYPE_IA5STRING | Constant corresponding to ia5String encoding. | |||||||||
int | CONTENT_TYPE_UTF8STRING | Constant corresponding to utf8String encoding. | |||||||||
int | CONTENT_TYPE_VISIBLESTRING | Constant corresponding to visibleString encoding. | |||||||||
int | DISPLAY_TEXT_MAXIMUM_SIZE | Describe constant DISPLAY_TEXT_MAXIMUM_SIZE here. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
DisplayText instance. | |||||||||||
Creates a new
DisplayText instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the stored
String object. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
Constant corresponding to bmpString encoding.
Constant corresponding to ia5String encoding.
Constant corresponding to utf8String encoding.
Constant corresponding to visibleString encoding.
Describe constant DISPLAY_TEXT_MAXIMUM_SIZE
here.
Creates a new DisplayText
instance.
type | the desired encoding type for the text. |
---|---|
text | the text to store. Strings longer than 200 characters are truncated. |
Creates a new DisplayText
instance.
text | the text to encapsulate. Strings longer than 200 characters are truncated. |
---|