pasn
Class ASN1TeletexString
java.lang.Object
pasn.ASN1Object
pasn.ASN1SimpleObject<java.lang.String>
pasn.ASN1String
pasn.ASN1TeletexString
- All Implemented Interfaces:
- ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1GenericObject, ASN1PrimitiveObject<java.lang.String>, ASN1Resetable
public class ASN1TeletexString
- extends ASN1String
A TELETEX STRING (or T61 STRING) is a string where each most significant
octet is set to zero
- 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 |
ASN1TeletexString
public ASN1TeletexString()
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