codec.asn1
Class ASN1VisibleString

java.lang.Object
  |
  +--codec.asn1.ASN1AbstractType
        |
        +--codec.asn1.ASN1AbstractString
              |
              +--codec.asn1.ASN1VisibleString
All Implemented Interfaces:
ASN1String, ASN1Type, Cloneable, Externalizable, Serializable
Direct Known Subclasses:
ASN1Time

public class ASN1VisibleString
extends ASN1AbstractString

This class represents an ASN.1 T61String as described in ITU-T Recommendation X.680. Note that no value checking is performed!

Version:
"$Id: ASN1VisibleString.java,v 1.1 2004/08/09 07:53:21 flautens Exp $"
Author:
Markus Tak (by cut-and-paste ;-) )
See Also:
Serialized Form

Constructor Summary
ASN1VisibleString()
           
ASN1VisibleString(String s)
          Creates an instance with the given string value.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface codec.asn1.ASN1Type
checkConstraints, getConstraint, getTagClass, isExplicit, isOptional, isType, setConstraint, setExplicit, setOptional
 

Constructor Detail

ASN1VisibleString

public ASN1VisibleString()

ASN1VisibleString

public ASN1VisibleString(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.
Method Detail

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.