codec.asn1
Class ASN1PrintableString
java.lang.Object
|
+--codec.asn1.ASN1AbstractType
|
+--codec.asn1.ASN1AbstractString
|
+--codec.asn1.ASN1PrintableString
- All Implemented Interfaces:
- ASN1String, ASN1Type, Cloneable, Externalizable, Serializable
- public class ASN1PrintableString
- extends ASN1AbstractString
This class represents an ASN.1 PrintableString as described in ITU-T
Recommendation X.680.
- Version:
- "$Id: ASN1PrintableString.java,v 1.2 2000/12/06 17:47:25 vroth Exp $"
- Author:
- Volker Roth
- See Also:
- Serialized Form
|
Method Summary |
int |
getTag()
Returns the corresponding ASN.1 tag. |
| Methods inherited from class codec.asn1.ASN1AbstractString |
convert, convert, convertedLength, decode, encode, equals, getString, getValue, hashCode, setString, setString0, toString |
| Methods inherited from class codec.asn1.ASN1AbstractType |
checkConstraints, getConstraint, getTagClass, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, writeExternal |
ASN1PrintableString
public ASN1PrintableString()
ASN1PrintableString
public ASN1PrintableString(String s)
- Creates an instance with the given string value. No constraints can be
set yet so none are checked.
- Parameters:
s - The string value.
getTag
public int getTag()
- Description copied from class:
ASN1AbstractType
- Returns the corresponding ASN.1 tag.
- Overrides:
getTag in class ASN1AbstractType
- Following copied from class:
codec.asn1.ASN1AbstractType
- Returns:
- the corresponding ASN.1 tag
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.