|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.model.ASN1Value
schemajic.model.ASN1VisibleString
schemajic.model.ASN1IA5String
public class ASN1IA5String
Models the abstract concept of the value of ASN.1 type IA5String.
Extends ASN1VisibleString to provide minimal encoding
and decoding support needed to model the abstract concept of a value
of ASN.1 type IA5String.
Universal class tag assignment is UNIVERSAL 22.
XML ASN.1 type name is IA5String.
No permitted alphabet constraints are enforced on values of this type, as these constraints are left to the application. Characters of this ASN.1 type are treated as opaque, having no structure or meaning, though all characters are represented in a single octet.
Type IA5String specifies single byte, fixed width, restricted
character strings. The set of characters that can be used to form values of
type IA5String is "restricted" to those defined in the
International Register of Coded Character Sets to be Used With Escape Sequences.
For these character values, this standard references ISO 646:1991
Information technology - ISO 7-bit coded character set for information interchange
directly, though the ASN.1 standards only reference ISO 646:1991
indirectly.
The values of type IA5String represent the same characters
as the first one hundered and twenty-eight values of types BMPString,
UTF8String, and UniversalString.
The values of the builtin types NumericString, PrintableString,
and VisibleString are subsets of the values of type IA5String.
In terms of their character values, NumericString is a subset of
PrintableString, which is a subset of VisibleString,
which is a subset of IA5String.
The values of NumericString are limited to '0123456789' and
'space'. The values of VisibleString include all of the
human-readable characters in IA5String, but exclude all of the
computer control characters such as 'delete' and 'escape'.
Values of type IA5String are sometimes referred to as the ASCII
or US ASCII character set. This may be because IA5String values include
characters which look like and which have been assigned the names of the letters in
the modern English alphabet. But these values can also be interpreted as coming
from the Hawaiian alphabet or from Romaji, a written form of Japanese.
Any meanings assigned to the values of abstract characters defined using ASN.1
depend completely on the observer. No meanings are assigned by the ASN.1 standards.
These single-byte values are the most commonly supported characters in Internet
standards today, but use of IA5String and its subset types are being
replaced by use of a single type UTF8String, which encodes all of the
characters of IA5String in a single octet, and supports most of the
world's languages.
| Constructor Summary | |
|---|---|
ASN1IA5String()
Constructor for ASN1IA5String. |
|
ASN1IA5String(java.lang.String s)
Constructor for ASN1IA5String with string parameter. |
|
| Method Summary | |
|---|---|
java.lang.Object |
accept(ValueVisitor visitor,
java.lang.Object object)
Accepts a visit from the ValueVisitor |
Type |
getAsn1Type()
Returns an ASN.1 IA5String type. |
| Methods inherited from class schemajic.model.ASN1VisibleString |
|---|
equals, getStringValue, setStringValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASN1IA5String()
ASN1IA5String.
public ASN1IA5String(java.lang.String s)
ASN1IA5String with string parameter.
s - initialization value| Method Detail |
|---|
public java.lang.Object accept(ValueVisitor visitor,
java.lang.Object object)
throws VisitorException
visit from the ValueVisitor
accept in class ASN1VisibleStringvisitor - the function applicator (mapper), which knows how to
process the given object type and apply appropriate operations to
the elements of this type of objectobject - an object to be visited
VisitorExceptionpublic Type getAsn1Type()
IA5String type.
getAsn1Type in class ASN1VisibleString
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||