codec.asn1
Class ASN1UTF8String

java.lang.Object
  extended by codec.asn1.ASN1AbstractType
      extended by codec.asn1.ASN1AbstractString
          extended by codec.asn1.ASN1UTF8String
All Implemented Interfaces:
ASN1String, ASN1Type, Cloneable

public class ASN1UTF8String
extends ASN1AbstractString

This class represents an ASN.1 UTF 8 String as described in ITU-T Recommendation X.680.

Version:
"$Id: ASN1UTF8String.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Volker Roth

Constructor Summary
ASN1UTF8String()
          Creates an instance.
ASN1UTF8String(String s)
          Creates an instance with the given string value.
 
Method Summary
 int getTag()
          Returns the tag of this class.
 
Methods inherited from class codec.asn1.ASN1AbstractString
convert, convert, convertedLength, decode, encode, getString, getValue, setString, setString0, toString
 
Methods inherited from class codec.asn1.ASN1AbstractType
checkConstraints, getConstraint, getTagClass, isExplicit, isOptional, isType, setConstraint, setExplicit, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface codec.asn1.ASN1Type
checkConstraints, getConstraint, getTagClass, isExplicit, isOptional, isType, setConstraint, setExplicit, setOptional
 

Constructor Detail

ASN1UTF8String

public ASN1UTF8String()
Creates an instance.


ASN1UTF8String

public ASN1UTF8String(String s)
Creates an instance with the given string value. No constraints can be set yet so none are checked.

Parameters:
The - string value.
Method Detail

getTag

public int getTag()
Returns the tag of this class.

Specified by:
getTag in interface ASN1Type
Specified by:
getTag in class ASN1AbstractType
Returns:
The tag.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.