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)) }
PolicyQualifierInfo, PolicyInformation
| Modifier and Type | Field and Description |
|---|---|
| public static final int | CONTENT_TYPE_BMPSTRING
Constant corresponding to bmpString encoding. |
| public static final int | CONTENT_TYPE_IA5STRING
Constant corresponding to ia5String encoding. |
| public static final int | CONTENT_TYPE_UTF8STRING
Constant corresponding to utf8String encoding. |
| public static final int | CONTENT_TYPE_VISIBLESTRING
Constant corresponding to visibleString encoding. |
| pack-priv ASN1String | |
| pack-priv int | |
| public static final int | DISPLAY_TEXT_MAXIMUM_SIZE
Describe constant |
| Access | Constructor and Description |
|---|---|
| public | DisplayText(int
the desired encoding type for the text. type, String the text to store. Strings longer than 200
characters are truncated. text)Creates a new |
| public | DisplayText(String
the text to encapsulate. Strings longer than 200
characters are truncated. text)Creates a new |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static DisplayText | |
| public static DisplayText | |
| public String | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| CONTENT_TYPE_BMPSTRING | back to summary |
|---|---|
| public static final int CONTENT_TYPE_BMPSTRING Constant corresponding to bmpString encoding. | |
| CONTENT_TYPE_IA5STRING | back to summary |
|---|---|
| public static final int CONTENT_TYPE_IA5STRING Constant corresponding to ia5String encoding. | |
| CONTENT_TYPE_UTF8STRING | back to summary |
|---|---|
| public static final int CONTENT_TYPE_UTF8STRING Constant corresponding to utf8String encoding. | |
| CONTENT_TYPE_VISIBLESTRING | back to summary |
|---|---|
| public static final int CONTENT_TYPE_VISIBLESTRING Constant corresponding to visibleString encoding. | |
| contents | back to summary |
|---|---|
| pack-priv ASN1String contents | |
| contentType | back to summary |
|---|---|
| pack-priv int contentType | |
| DISPLAY_TEXT_MAXIMUM_SIZE | back to summary |
|---|---|
| public static final int DISPLAY_TEXT_MAXIMUM_SIZE Describe constant | |
| DisplayText | back to summary |
|---|---|
| public DisplayText(int type, String text) Creates a new
| |
| DisplayText | back to summary |
|---|---|
| public DisplayText(String text) Creates a new
| |
| DisplayText | back to summary |
|---|---|
| private DisplayText(ASN1String de) Creates a new Useful when reading back a
| |
| getContentType | back to summary |
|---|---|
| public int getContentType() Returns the contentType value.
| |
| getInstance | back to summary |
|---|---|
| public static DisplayText getInstance(Object obj) | |
| getInstance | back to summary |
|---|---|
| public static DisplayText getInstance(ASN1TaggedObject obj, boolean explicit) | |
| getString | back to summary |
|---|---|
| public String getString() Returns the stored
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |