pasn
Class ASN1BMPString
java.lang.Object
pasn.ASN1Object
pasn.ASN1SimpleObject<java.lang.String>
pasn.ASN1String
pasn.ASN1BMPString
- All Implemented Interfaces:
- ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1GenericObject, ASN1PrimitiveObject<java.lang.String>, ASN1Resetable
public class ASN1BMPString
- extends ASN1String
The BMP (Basic Multilingual Plane) STRING type is a subset of
ISO 10646-1 (Universal String). It is equivalent to the Unicode coding.
For example, the string "Jade"'s ASCII hex-encoding is 4A 61 64 65.
The Unicode, big endian encoding, is then 00 4A 00 61 00 64 00 65
- Author:
- N. Cottin - http://www.ncottin.net
Method Summary |
java.lang.String |
getASN1Name()
|
boolean |
validateChar(char value,
int index)
Constraints this STRING by indicating if the given character is accepted
or rejected
|
Methods inherited from class pasn.ASN1String |
getExpression, getMaximumLength, getMininimumLength, hasDefaultValue, hasExpression, hasValue, isInside, isMaximumLengthConstrained, isMinimumLengthConstrained, isValueDefault, reset, setDecodedValue, setExpression, setMaximumLength, setMinimumLength, toString, validate, validateConstraints, validateExpression |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASN1BMPString
public ASN1BMPString()
getASN1Name
public final java.lang.String getASN1Name()
validateChar
public final boolean validateChar(char value,
int index)
- Description copied from class:
ASN1String
Constraints this STRING by indicating if the given character is accepted
or rejected
- Specified by:
validateChar
in class ASN1String
- Parameters:
value
- A character which is part of the string to initialize this
ASN.1 STRING withindex
- The index of the given character within the global string.
This is mainly used by {jade.ASN1BMPString}
- Returns:
- True if the given character value is accepted and
false if it is rejected